Minkey Chang

Data Scientist

All posts

Where did the 'statistical' in statistical arbitrage go?

The name promises statistics. The practice is simpler. Two stocks usually move together; one day they drift apart; you bet that they will come back together. The only statistical content is one number: how fast they usually come back. You estimate it from a couple of months of prices, and from then on you treat it as if you knew it. This post is about that habit, and about what happened when I dropped it for a paper at ICAIF '26.


A number from sixty days

Estimate anything from sixty noisy observations and what you get is a range, not a number. Flip a coin sixty times and see thirty-six heads: the coin could be fair, or it could be biased 70 to 30. Both are consistent with what you saw.

The spread between two stocks is harder than a coin. Over sixty days you have to work out two things at once: where the spread's normal level is, and how fast it returns there. The two get mixed up. A spread that seems to return slowly may just have moved to a new level. So the estimated speed, which the strategy depends on, comes with a wide range around it. In practice, you take the single best guess and size the bet as if that guess were the truth.


Betting with a range instead of a number

Common sense says that if you are less sure, you should bet less. The standard sizing rule already does half of this: the position is the expected gain divided by its variance, so riskier spreads get smaller bets. What it leaves out is the uncertainty in the speed itself. If you carry a range for the speed instead of a number, the variance picks up one more piece, how much the expected gain changes across that range. When the range is narrow, nothing changes. When it is wide, the bet shrinks. That is the entire modification.

The range has to come from somewhere. Nobody can tell you the true speed of a real spread, so the model learns on simulated spreads, where the true speed is known, in the same way a pilot trains in a simulator before flying. A small network reads a sixty-day window and returns a range for the speed. A simulator can also be wrong, so we tested ours the way you would test a forgery: train a classifier to tell simulated windows from real Korean stock residuals, and keep only a simulator the classifier cannot tell apart. Plain Gaussian noise did not pass, and neither did fat tails. Volatility that changes from day to day, with asymmetric shocks, was the only one that came close.

The range it produces passes the test you would apply to a weather forecaster: when it says 80%, it is right 80% of the time. Squeeze the same range to half its width, which is what an over-confident guess amounts to, and it fails.

Reliability diagram of empirical against nominal coverage. The learned range tracks the diagonal; the same range at half its width departs from it.
How often the range contains the true speed, against how often it claims to. The learned range follows the diagonal; the same range at half its width does not.

What happened

Three things, in order of how much they surprised me.

Nobody predicted the next month of a spread better than "it will not move". Not the classical model, not ours, not with company fundamentals added. These spreads are close to noise over a month, and carrying a range does not change that.

What the range changed was how much the strategy expected to make. We compared, for each strategy, the return it expected over a holding period with the return it actually got. The single-number version expected about ten percentage points per holding period more than it made. With the range, the overshoot was about half of that; with a variant that predicts the move directly, about an eighth. The realized returns were about the same. The expectations came down to meet them, because the bets were smaller whenever the estimate was shaky.

In the portfolio, what mattered was how the spreads were built, not how they were sized. On 120 Korean stocks after costs, building the spreads from a better factor model took the Sharpe ratio from 0.6 to 1.5. Sizing those same spreads with the range took it from 1.45 to 1.49, which is within the noise of the period.

Cumulative net return from 2021 to 2026 of four strategies scaled to a common volatility: FF3 ends below 1, PCA residuals rise to about 1.3, AFM and NFE rise together to about 2.3, and a random benchmark drifts below 1.
Cumulative return after costs, scaled to a common volatility. The gap between PCA and AFM comes from how the spreads are built. The gap between AFM and NFE comes from sizing with the range, and it is within noise.

What to take from it

An estimate from sixty days is a range, and treating it as a range does two things. It keeps the strategy's expected return close to the return it actually gets, and it makes the bet smaller when the estimate is uncertain. It does not make the strategy more accurate and it does not make more money. Knowing how little you know is worth having, but it is not the same as knowing more. The paper below has the details and the numbers.


References

  1. The paper — Chang, M. (2026). Amortized Neural Filtering for Calibrated Posteriors in Statistical Arbitrage. 7th ACM International Conference on AI in Finance (ICAIF '26), oral presentation.

  2. The classical recipe — Avellaneda, M., & Lee, J.-H. (2010). Statistical Arbitrage in the US Equities Market. Quantitative Finance, 10(7), 761–782.

  3. The better factor model — Epstein, E. L., Wang, R., Choi, J., & Pelger, M. (2025). Attention Factors for Statistical Arbitrage. Proceedings of the 6th ACM International Conference on AI in Finance, 396–404.

  4. Expected versus realized return — Smith, J. E., & Winkler, R. L. (2006). The Optimizer's Curse: Skepticism and Postdecision Surprise in Decision Analysis. Management Science, 52(3), 311–322.

Other posts