市场微观结构的基础模型学习了什么?基于合成限价订单簿的对照研究
What Do Foundation Models for Market Microstructure Learn? A Controlled Study with Synthetic Limit Order Books
AI总结:
该研究通过在潜在参数已知的模拟器订单流上训练GPT式模型,探究市场微观结构基础模型的学习内容,发现其能实现摊销贝叶斯推理,训练regime多样性决定泛化能力,预训练在真实纳斯达克数据上优于从头训练。
摘要:
针对限价订单簿(LOB)消息流训练的自回归Transformer,正被越来越多地提议作为市场微观结构的基础模型。由于真实市场的生成过程未知,这些模型只能通过其输出的真实性来评判,这使得它们究竟学到了什么仍不明确。我们通过反转设置使该问题可解答:在潜在参数已知的模拟器生成的订单流上训练GPT式模型,从而将贝叶斯最优预测器、生成状态和精确数据熵作为参考。经测量,对订单流的下一个标记预训练实现了对市场 regime 的摊销贝叶斯推理。所学预测器在每个标记的损失上与精确贝叶斯最优值相差不到1毫纳特,且即使在某一 episode 内潜在状态漂移的非平稳 regime(该 regime 需要滤波)中,也能逼近神谕基准。潜在 regime 可从冻结激活中线性解码,远高于基线,因此冻结模型读出比滑动窗口最大似然更准确地校准模拟器参数,且成本仅为其一小部分。在我们的实验中,这些能力并非由规模产生:容量和标记量早期即饱和,训练 regime 的多样性而非标记数决定了对未见市场的泛化能力。在真实纳斯达克数据上,零样本迁移取决于模拟器先验对真实订单流的覆盖程度:丰富混合模型几乎缩小了与域内基线的差距,且在每个预算下,预训练都优于从头训练,覆盖所有保留的股票代码。已知的真实值将平均下一个标记损失(在熵基准附近无信息)转化为与贝叶斯最优和神谕预测器的精确比较。
英文摘要:
Autoregressive transformers trained on limit order book (LOB) message streams are increasingly proposed as foundation models for market microstructure. Because the generative process of real markets is unknown, these models can be judged only by the realism of their output, leaving open what they actually learn. We make the question answerable by inverting the setup: we train GPT-style models on order flow from simulators whose latent parameters are known, so that the Bayes-optimal predictor, the generating state, and the exact data entropy serve as references. Measured against them, next-token pretraining on order flow implements amortized Bayesian inference over market regimes. The learned predictive matches the exact Bayes optimum to within a millinat per token and approaches the oracle floor even on a nonstationary family whose latent state drifts within an episode, a regime that requires filtering. The latent regime is linearly decodable from frozen activations, well above baselines, so a frozen-model read-out calibrates simulator parameters more accurately than windowed maximum likelihood at a fraction of the cost. In our experiments these capabilities are not produced by scale: capacity and token volume saturate early, and it is the diversity of training regimes, not the token count, that determines generalization to unseen markets. On real NASDAQ data, zero-shot transfer is set by how well the simulator prior covers real flow: an enriched mixture nearly closes the gap to an in-domain baseline, and pretraining beats from-scratch training at every budget across held-out tickers. Known ground truth turns average next-token loss, which is uninformative near the entropy floor, into an exact comparison against the Bayes-optimal and oracle predictors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。