Teaching AI to Predict Crypto Market Crashes with Heavy-Tailed Math
Original paper: StochLOB: Heavy-Tailed Score Matching for Robust Limit Order Book Trend Prediction
"Traditional AI learns to predict the weather by studying mild April showers, completely blinding it to sudden hurricanes. StochLOB trains the algorithm by intentionally throwing wild, chaotic storms at it during practice, so it won't panic when real financial thunderstorms hit."
Financial markets are notoriously chaotic and prone to flash crashes that routinely break standard trading algorithms. This research gives automated market makers and exchanges a robust shield against unpredictable, extreme price swings.
- Replaces gentle bell-curve noise with wild, jumpy market math.
- Trains AI to handle extreme financial stress without crashing.
- Keeps normal trading speed lightning-fast while boosting safety.
📑 Original arXiv Technical 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 α-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) 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.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.