Teaching Trading Algorithms to Know What They Don't Know
Original paper: Amortized Neural Filtering for Calibrated Posteriors in Statistical Arbitrage
"Imagine a weather forecaster who doesn't just say it will rain, but also tells you they are only 40% sure. By acknowledging what it doesn't know rather than making blind guesses, this AI makes much safer and smarter financial bets."
Quantitative finance often suffers from overconfident algorithms that promise huge returns and fail in reality. This method bridges the gap between theoretical models and messy real-world markets, reducing costly forecasting errors.
- Traditional trading algorithms ignore estimation uncertainty.
- The new Neural Filter Estimator explicitly accounts for doubt.
- It cuts forecasting errors significantly on real-world equities.
📑 Original arXiv Technical Abstract
Statistical arbitrage trades on an estimate of the state of a residual spread, and conventional practice discards the uncertainty of that estimate. We keep the uncertainty and use it in the trading decision. A Neural Filter Estimator (NFE) is trained on simulated paths of a mean-reverting process whose innovation law is selected by testing candidates against real residuals; once trained, it returns the posterior over the latent state of every spread in a cross-section in one forward pass. Three results follow. On simulated paths with known truth, every practical estimator, ours included, falls in one narrow band of accuracy well below an estimator given full information, so the posterior gains no accuracy over a point estimate; its contribution is a correct account of its own uncertainty. On Korean equities, net of costs, the conventional point estimate forecasts about a thousand basis points per holding period more than it realizes, and the amortized methods cut that gap by a factor of roughly two to eight. Sizing positions from the posterior on the same learned factors as the end-to-end Attention Factor Model matches the Sharpe ratio of those factors under the base rule within the period's noise, at no more risk.
✍️ 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.