用扩散模型生成假设市场下的订单簿演化,可回答‘若市场变好会怎样’的问题。
DiffLOB: Diffusion Models for Counterfactual Generation in Limit Order Books
- 基于未来市场状态条件生成订单簿轨迹,实现可控反事实模拟
- 在三种评估标准下均优于基线模型,尤其在预测未来市场状态上提升显著
- 适合金融风控、压力测试与交易策略回测场景
当前的订单簿生成模型多为被动建模,仅反映典型市场行为,或需与其他智能体交互才能探索替代路径,限制了其在压力测试、情景分析和决策支持中的应用。本文提出DiffLOB,一种以未来市场状态为条件的扩散模型,可实现对订单簿轨迹的可控反事实生成。该模型显式地将生成过程与未来的市场状态(如趋势、波动率、流动性、订单流失衡)关联,从而回答‘若未来市场状态为X而非Y,订单簿将如何演变?’这类反事实问题。我们构建了包含三项指标的系统性评估框架:(1) 可控真实性,衡量生成轨迹在边缘分布、时间依赖结构及状态变量上的拟合程度;(2) 反事实有效性,检验对未来状态的干预是否引发一致的订单簿动态变化;(3) 反事实实用性,评估合成反事实轨迹是否提升对未来市场状态的预测能力。实验表明,DiffLOB在各项指标上均显著优于现有方法。
原文摘要 · Abstract (English)
Modern generative models for limit order books (LOBs) can reproduce realistic market dynamics, but remain fundamentally passive: they either model what typically happens without accounting for hypothetical future market conditions, or they require interaction with another agent to explore alternative outcomes. This limits their usefulness for stress testing, scenario analysis, and decision-making. We propose \textbf{DiffLOB}, a regime-conditioned \textbf{Diff}usion model for controllable and counterfactual generation of \textbf{LOB} trajectories. DiffLOB explicitly conditions the generative process on future market regimes--including trend, volatility, liquidity, and order-flow imbalance, which enables the model to answer counterfactual queries of the form: ``If the future market regime were X instead of Y, how would the limit order book evolve?'' Our systematic evaluation framework for counterfactual LOB generation consists of three criteria: (1) \textit{Controllable Realism}, measuring how well generated trajectories can reproduce marginal distributions, temporal dependence structure and regime variables; (2) \textit{Counterfactual validity}, testing whether interventions on future regimes induce consistent changes in the generated LOB dynamics; (3) \textit{Counterfactual usefulness}, assessing whether synthetic counterfactual trajectories improve downstream prediction of future market regimes.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。