Abstract
Statistical arbitrage exploits temporal price differences between similar assets. We develop a unifying conceptual framework for statistical arbitrage and a novel data-driven solution. First, we construct arbitrage portfolios of similar assets as residual portfolios from conditional latent asset pricing factors. Second, we extract their time series signals with a powerful machine-learning time-series solution, a convolutional transformer. Lastly, we use these signals to form an optimal trading policy that maximizes risk-adjusted returns under constraints. Our comprehensive empirical study on daily US equities shows a high compensation for arbitrageurs to enforce the law of one price. Our arbitrage strategies obtain consistently high out-of-sample mean returns and Sharpe ratios, and substantially outperform all benchmark approaches.
Introduction
Statistical arbitrage (stat-arb) is a classic quantitative strategy rooted in the "law of one price"—the economic principle that similar assets should trade at similar prices. When the price of a stock deviates from its fair value, as determined by a mimicking portfolio of peer assets, an arbitrageur enters a trade to profit from the eventual convergence.
Despite its theoretical simplicity, modern stat-arb faces significant hurdles: identifying "similarity" in high-dimensional markets, filtering noise from financial time series, and managing real-world execution constraints like transaction costs and leverage limits. This paper introduces a state-of-the-art deep learning framework that bridges the gap between economic factor models and modern transformer architectures to solve these challenges end-to-end.
The Three-Stage Pipeline
The authors propose a sophisticated three-stage architecture designed to isolate and exploit mispricings while maintaining market neutrality.
1. Arbitrage Portfolio Generation
Rather than relying on simple pairs trading, the framework utilizes Conditional Factor Models (such as Instrumented Principal Component Analysis, or IPCA) to decompose stock returns. By identifying the "residual"—the portion of a stock's return that cannot be explained by broader market factors—the model creates a tradeable arbitrage portfolio. This step ensures that the resulting strategy is orthogonal to systematic risk, focusing purely on idiosyncratic mispricings.
2. Signal Extraction: The Convolutional Transformer
The core innovation lies in the signal extraction engine. The model employs a hybrid CNN-Transformer architecture to process 30-day windows of historical data:
- CNN Layers: These identify local "micro-patterns," such as rapid reversals or short-term momentum shifts.
- Transformer Layers: Using multi-head attention mechanisms, the Transformer analyzes how these local patterns relate to one another over time, capturing complex, non-linear mean-reversion signals that traditional parametric models (like the Ornstein-Uhlenbeck process) often miss.
3. Optimal Allocation and Policy Learning
Unlike standard machine learning approaches that optimize for prediction accuracy (e.g., minimizing Mean Squared Error), this framework uses a Trading Objective Function. The network is trained to maximize the Sharpe ratio or mean-variance utility directly. This allows the model to learn optimal position sizing while simultaneously respecting constraints on turnover, leverage, and transaction costs.
Empirical Study and Results
The model was evaluated using a comprehensive dataset of U.S. equities from 1978 to 2016, focusing on the ~550 most liquid stocks (roughly the S&P 500) to ensure the results were not skewed by illiquid assets. The out-of-sample testing period spanned 2002 to 2016.
Performance Benchmarks
The Deep Learning (CNN+Trans) model demonstrated exceptional performance compared to traditional benchmarks:
- Sharpe Ratio: The strategy achieved an annualized out-of-sample Sharpe ratio of 4.17 using IPCA residuals. In comparison, the traditional Ornstein-Uhlenbeck (OU) benchmark achieved only 0.93.
- Profitability: Under a mean-variance objective with short-selling constraints, the model produced annual returns of approximately 20%.
- Transaction Costs: The strategy remained robust even after accounting for realistic costs, including 5 basis points (bps) per trade and 1 bp for short-position holding costs.
Key Insights
Signal Flexibility Over Factor Choice
One of the paper's most surprising findings is that the specific factor model used (Fama-French vs. PCA vs. IPCA) had a relatively minor impact on performance. The primary driver of "alpha" was the CNN-Transformer’s ability to flexibly extract signals from the noise, regardless of the underlying residual generation method.
Asymmetric Market Dynamics
The model naturally learned to navigate the "escalator up, elevator down" dynamic of equity markets. It developed a policy of reacting aggressively to downturns while maintaining more cautious positioning during steady uptrends.
The Persistence of Mispricing
While market efficiency suggests mispricings should vanish instantly, the authors found that these arbitrage signals are remarkably persistent. Approximately half of the Sharpe ratio remains even with a one-week holding period. This suggests that structural barriers, such as limited arbitrage capital or strategic execution by large players, prevent the immediate correction of these price deviations.
Conclusion
This research demonstrates that combining deep learning with structural economic constraints can yield superior risk-adjusted returns. By optimizing directly for trading utility rather than price prediction, the Convolutional Transformer framework successfully filters market noise to identify high-conviction arbitrage opportunities. While future work is needed to model market impact for larger capital allocations, this framework sets a new benchmark for automated statistical arbitrage in liquid equity markets.
Summary updated