AlphaEvolve: A Learning Framework to Discover Novel Alphas in Quantitative Investment

Can Cui, Wei Wang, Meihui Zhang, Gang Chen, Zhaojing Luo, Beng Chin Ooi

TL;DR

AlphaEvolve is an AutoML-based framework that automatically discovers a new class of stock prediction models ("alphas"). By combining the interpretability of simple formulaic expressions with the predictive power of complex machine learning, it generates sets of high-return trading signals that are intentionally designed to be weakly correlated for better risk diversification.

What Problem Does This Paper Address?

In quantitative trading, an "alpha" is a model that predicts stock returns to generate buy/sell signals. Traders face a "Goldilocks" problem:

  1. Formulaic Alphas: Simple mathematical expressions (like a moving average) are easy to understand and diversify, but they often lack the "punch" to capture complex market patterns.
  2. Machine Learning Alphas: Deep learning models are highly predictive but act as "black boxes." They are computationally expensive to find and difficult to organize into a diversified portfolio because they often end up capturing the same signals.

Furthermore, most existing methods treat stocks as independent entities, ignoring the valuable "relational domain knowledge"—the fact that stocks in the same industry (e.g., tech or energy) often move together.

Methods

The authors propose AlphaEvolve, an evolutionary framework inspired by AutoML-Zero. Its key components include:

  • A New Alpha Class: Instead of just simple math or massive neural networks, AlphaEvolve searches for a sequence of operations that can handle scalars, vectors, and matrices. This allows the models to extract specific features from long-term historical data while remaining relatively simple.
  • Relational Operators (RelationOp): These operators allow the model to "peek" at what's happening with other stocks in the same sector or industry to refine its prediction, without forcing a rigid, pre-defined structure.
  • Redundancy Pruning: To speed up the search, the framework represents each alpha as a graph and prunes "dead" operations—calculations that don't actually contribute to the final prediction. This prevents the system from wasting time evaluating "junk" code.
  • Evolutionary Search: It starts with a "parent" alpha (either a known expert-designed one or a random one) and iteratively mutates it, keeping only the versions that improve the Information Coefficient (IC)—a measure of predictive accuracy.

Datasets

The researchers evaluated AlphaEvolve using 5 years of NASDAQ stock price data (2013–2017).

  • Scope: 1,026 stocks after filtering for liquidity and risk.
  • Features: 13 input features, including moving averages, volatilities, and standard OHLCV (Open, High, Low, Close, Volume) data.
  • Splits: The data was divided into training, validation, and test sets to ensure the evolved alphas weren't just "memorizing" the past (overfitting).

Key Insights and Ideas

  • The Power of the Middle Ground: The most effective alphas aren't the most complex ones. By allowing the search to extract scalar features from complex matrices, AlphaEvolve finds "formulaic-plus" models that generalize better than pure deep learning.
  • Selective Relational Knowledge: Unlike Graph Neural Networks that force a specific relational structure, AlphaEvolve selectively injects sector data. This is crucial for noisy markets like the NASDAQ, where traditional industry correlations can be volatile.
  • Pruning is Essential: In an AutoML search space, the vast majority of generated code is redundant. The authors found that pruning not only speeds up the search but actually helps the evolution process focus on meaningful mutations.

Key Results

  • Superior Returns: Alphas generated by AlphaEvolve achieved Sharpe ratios as high as 21.3, vastly outperforming standard Genetic Algorithms (Sharpe ~13.0) and complex ML models like Rank_LSTM (Sharpe ~5.4).
  • Low Correlation: The framework successfully mined sets of alphas with less than 15% correlation with each other—the industry standard for a well-diversified hedge fund portfolio.
  • Efficiency: The pruning technique allowed the system to explore the search space much more effectively. For example, in one round, it evaluated only 19,500 "clean" alphas to find a winner, whereas a baseline search might have churned through over 300,000 redundant ones.

Limitations and Future Work

  • Market Specificity: The study focused on the NASDAQ, which is known for being noisy and tech-heavy. The authors note that the "static" relational knowledge (fixed industry sectors) might struggle in extremely volatile regimes where sector boundaries blur.
  • Computational Cost: While pruning helps, running an AutoML search for 60 hours per round is still resource-intensive.
  • Future Directions: The authors suggest exploring more dynamic ways to model stock relations and applying the framework to different asset classes beyond just equities.

Summary updated

BibTeX
@inproceedings{cui2021alphaevolve,
  author = {Can Cui and Wei Wang and Meihui Zhang and Gang Chen and Zhaojing Luo and Beng Chin Ooi},
  title = {{AlphaEvolve: A Learning Framework to Discover Novel Alphas in Quantitative Investment}},
  booktitle = {SIGMOD},
  year = {2021},
  doi = {10.1145/3448016.3457324},
}

Loading related content...

Figure