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

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

Abstract

Alphas are stock prediction models capturing trading signals in a stock market. A set of effective alphas can generate weakly correlated high returns to diversify the risk. Existing alphas can be categorized into two classes: Formulaic alphas are simple algebraic expressions of scalar features, and thus can generalize well and be mined into a weakly correlated set. Machine learning alphas are data-driven models over vector and matrix features. They are more predictive than formulaic alphas, but are too complex to mine into a weakly correlated set. In this paper, we introduce a new class of alphas to model scalar, vector, and matrix features which possess the strengths of these two existing classes. The new alphas predict returns with high accuracy and can be mined into a weakly correlated set. In addition, we propose a novel alpha mining framework based on AutoML, called AlphaEvolve, to generate the new alphas. To this end, we first propose operators for generating the new alphas and selectively injecting relational domain knowledge to model the relations between stocks. We then accelerate the alpha mining by proposing a pruning technique for redundant alphas. Experiments show that AlphaEvolve can evolve initial alphas into the new alphas with high returns and weak correlations.

Introduction

In quantitative trading, an "alpha" is a model that predicts stock returns to generate buy/sell signals. Traders face a "Goldilocks" problem when selecting these models. On one hand, Formulaic Alphas—simple mathematical expressions like moving averages—are interpretable and easy to diversify, yet often lack the complexity to capture nuanced market patterns. On the other hand, Machine Learning Alphas—typically deep learning models—offer high predictive power but act as "black boxes." These models are computationally expensive to discover and difficult to organize into a diversified portfolio because they often converge on similar signals, leading to high correlation and increased risk.

Furthermore, most existing methods treat stocks as independent entities, ignoring valuable "relational domain knowledge"—the observation that stocks within the same industry or sector often exhibit correlated movements.

Methodology: The AlphaEvolve Framework

To bridge the gap between simple formulas and complex machine learning, we propose AlphaEvolve, an evolutionary framework inspired by AutoML-Zero. The framework introduces several key innovations:

A New Alpha Class

AlphaEvolve searches for a sequence of operations capable of handling scalars, vectors, and matrices. This hybrid approach allows models to extract specific features from long-term historical data while maintaining a level of simplicity that promotes generalization.

Relational Operators (RelationOp)

These operators allow the model to selectively incorporate data from related stocks (e.g., in the same sector) to refine predictions. Unlike standard Graph Neural Networks that impose a rigid structure, AlphaEvolve injects this knowledge only where beneficial.

Redundancy Pruning

To optimize the search process, each alpha is represented as a graph. The framework prunes "dead" operations—calculations that do not contribute to the final output. This significantly reduces the computational overhead by preventing the evaluation of redundant or "junk" code.

The process begins with a "parent" alpha (either an expert-designed model or a random initialization) and iteratively applies mutations. Only versions that improve the Information Coefficient (IC)—a standard measure of predictive accuracy—are retained for the next generation.

Experimental Setup

The researchers evaluated AlphaEvolve using five years of NASDAQ stock price data (2013–2017). The dataset included 1,026 stocks, filtered for liquidity and risk. Models were trained on 13 input features, including standard OHLCV (Open, High, Low, Close, Volume) data, moving averages, and volatilities. The data was split into training, validation, and test sets to ensure the evolved alphas were robust and not merely overfitting historical noise.

Key Results and Insights

AlphaEvolve demonstrates that the most effective alphas occupy a "middle ground." By allowing the search to extract scalar features from complex matrices, the framework discovers "formulaic-plus" models that generalize better than pure deep learning.

Conceptual workflow of mining low-correlated returns from different domain perspectives.

Performance and Diversification

Alphas generated by AlphaEvolve achieved exceptional performance, with Sharpe ratios reaching as high as 21.3. This significantly outperforms standard Genetic Algorithms (Sharpe ~13.0) and complex ML models like Rank_LSTM (Sharpe ~5.4). Crucially, the framework successfully mined sets of alphas with less than 15% correlation with each other, meeting the industry standard for well-diversified hedge fund portfolios.

Efficiency through Pruning

The pruning technique proved essential for exploring the vast AutoML search space. In one experimental round, the system evaluated only 19,500 "clean" alphas to find a high-performing candidate, whereas a baseline search without pruning would have processed over 300,000 redundant variations.

Limitations and Future Work

While promising, AlphaEvolve has limitations. The study focused on the NASDAQ, a tech-heavy and noisy market. The "static" relational knowledge used (fixed industry sectors) might struggle in extremely volatile regimes where sector boundaries shift. Additionally, despite pruning, the AutoML search remains resource-intensive, requiring approximately 60 hours per round. Future research will explore dynamic modeling of stock relations and the application of this framework to other asset classes.

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},
}
Figure