Manuscript Offprint

arXiv:2610.21081

StochLOB: Heavy-Tailed Score Matching for Robust Limit Order Book Trend Prediction

Arshia Abolghasemi, Seyed Reza Tavakoli, Parsa Naderi, Nazanin Mirzaei, Behrad Jahani, Saba Yousefzadeh, Tahereh Javaheri, Mohammad Hosein Rohban, Gholamali Aminian, Ali Habibnia

Abstract

Score-based diffusion methods usually perturb data with Brownian Gaussian noise, corresponding to a light-tailed forward stochastic differential equation (SDE). For market time series this SDE can be a poor abstraction: limit order book (LOB) order flow is heavy-tailed, bursty, and occasionally jump-like. We study STOCHLOB, a training-only score-matching framework that changes the forward diffusion corruption law while leaving the deployed predictor deterministic. Instead of Brownian-only Gaussian corruption, the noising process uses two non-Gaussian SDE-inspired alternatives: jump-Lévy noise through a compound-Poisson variance mixture, and clipped α\alpha-stable noise through a positive-stable Gaussian scale mixture. These corruptions inject finite jumps and heavy-tailed residuals into training without requiring reverse-time diffusion sampling at inference. The resulting score target has a useful interpretation: its radial factor ht(r)h_t(r) is the posterior expected corruption precision, so large residuals are weighted according to the latent corruption scale that most plausibly generated them. On chronologically held-out Coinbase LOB data, the proposed variants remain competitive on uncorrupted BTC and altcoin test horizons and improve several realized tail-window stress diagnostics. An exploratory Feishu A-share transfer study further tests whether the probability outputs remain usable under transaction costs and trading-rule constraints. Code and configuration files are available at https://github.com/ArshiAbolghasemi/Penny.

1 Introduction

Score-based diffusion methods are commonly built around a Brownian forward stochastic differential equation (SDE), whose finite-time corruption is Gaussian and light-tailed. This modeling choice is convenient, but it also defines the residual geometry seen by a denoising score objective: large coordinate movements become exponentially unlikely, and the learned restoring force is tied to a Brownian quadratic penalty. For data generated by stochastic systems with bursts, jumps, or persistent heavy tails, the Brownian-only SDE can therefore be a poor training corruption law.

Limit order book (LOB) prediction makes this mismatch concrete. Order-flow imbalance (OFI), depth changes, and short-horizon returns can remain quiet for many bins and then move abruptly after an order sweep, a liquidity withdrawal, or a short burst of directional trading. These large residuals are not rare under the market process, but they are rare under Gaussian diffusion corruption. This is difficult to reconcile with the heavy tails and jump-like behavior observed in financial time series and LOB order flow [Mandelbrot, 1963, Cont, 2001, Cont et al., 2014].

∗^{*}Equal contribution.

†^{\dagger}Corresponding author: Ali Habibnia, habibnia@vt.edu.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: AI for Stochastic Dynamics.

The question we study is whether the forward diffusion SDE used for score-based regularization should be modified so its noise law better matches the stochastic input process. We introduce STOCHLOB, a training-only framework for robust mid-price trend prediction. The deployed model remains a standard classifier: the corruption sampler and score head are used only while learning the shared representation, and test-time inference is a single deterministic forward pass. This isolates the effect of changing the stochastic diffusion corruption from the cost of reverse-time diffusion sampling at deployment.

We consider two non-Gaussian SDE-inspired corruption families. The jump-Lévy variant adds a compound-Poisson jump component to a Brownian background, implemented as a Gaussian scale mixture that exposes the representation to mostly ordinary perturbations with occasional finite jumps. The α\alpha-stable variant replaces the fixed Brownian variance with a clipped positive-stable scale mixture, producing broad heavy-tailed perturbations while retaining numerical stability. Both variants use the same classifier architecture and differ only in the stochastic training law and auxiliary loss. The score target is also interpretable: the radial score factor ht(r)h_{t}(r) is a posterior precision under the latent corruption scale. Thus the denoising objective does not apply the same restoring force to every residual. Ordinary residuals receive high posterior precision, while extreme residuals can be explained by larger latent corruption scales.

Our empirical analysis follows the same logic. First, distribution-fit and tail diagnostics on Coinbase OFI show that the Gaussian assumption is a poor description of the observed inputs. Second, on Coinbase BTC and four additional crypto symbols, the proposed variants remain competitive on standard held-out mid-price trend prediction and win selected horizons, showing that the stochastic auxiliary objective does not require a large standard-test accuracy tradeoff. Third, realized stress-window diagnostics evaluate the regimes that motivate the method: high-stress, high-variance, and jump-residual windows in which Gaussian corruption is least plausible. Figure 1 gives the headline stress diagnostic at k = 100. We also include an exploratory Feishu A-share transfer study in which model probabilities are converted into constrained portfolio signals, checking whether the forecasts remain useful after transaction costs, lot-size rules, and T+1 selling constraints. This transfer check is not meant to define a complete trading system; it tests whether the learned probabilities survive a realistic downstream decision rule.

Contributions. We make three contributions. First, we formulate robust supervised representation learning as a mismatch between Brownian diffusion-SDE corruption and heavy-tailed, jump-like stochastic inputs, using LOB trend prediction as the concrete test bed. Second, we modify the training-time diffusion corruption with jump-Lévy and clipped α\alpha-stable noise while keeping the LOB predictor deterministic and free of inference-time sampling. Third, we provide a posterior-precision interpretation of the resulting score function hth_{t}, with proofs and future-work mathematics in Appendix G. Appendices A–F provide the data details, score-table construction, implementation and training algorithms, additional crypto results, and the Feishu portfolio analysis.

References (100)

Couldn't load all references. Reload the page to try again.