AlphaAgentEvo: Evolution-Oriented Alpha Mining via Self-Evolving Agentic Reinforcement Learning

Ziyi Tang, Xuexiong Yin, Weixing Chen, Zechuan Chen, Yongsen Zheng, Wenxuan Ye, Keze Wang, Liang LinICLR 2026

Introduction

Finding profitable trading signals—commonly known as "alphas"—is notoriously difficult due to the noisy nature of financial data and the massive search spaces involved. This paper introduces AlphaAgentEvo, an Agentic Reinforcement Learning (ARL) framework that trains a Large Language Model (LLM) to iteratively propose, test, and refine alpha factors. By learning to reflect on backtest feedback over multi-turn trajectories, a relatively small 4B-parameter model can outperform state-of-the-art closed-source models in discovering robust, profitable trading signals.

The Challenges of Alpha Mining

In quantitative finance, alpha mining is the process of discovering mathematical formulas or signals that can predict stock returns better than the broader market. This is incredibly challenging because it is easy to find "spurious correlations" that look great in a backtest but fail in real-world trading.

Traditionally, quantitative analysts have used Genetic Programming (GP) to randomly mutate and combine formulas. However, GP is blind to the actual meaning of the formulas and cannot learn from its failures. Recently, researchers have tried using LLMs to generate alphas, but standard LLM agents tend to get stuck in myopic "search-backtest-restart" loops. They tweak parameters randomly rather than systematically reflecting on why a formula failed to evolve a fundamentally better strategy. AlphaAgentEvo seeks to build an agent that doesn't just evolve the alphas, but evolves its own search strategy over time.

Comparison of alpha mining paradigms

The AlphaAgentEvo Framework

The authors propose shifting alpha mining from a brute-force search to a continuous, multi-turn evolutionary process using Agentic Reinforcement Learning (ARL).

AlphaAgentEvo's agentic RL training process

Here is what makes their approach novel:

  • Multi-Turn ARL (via GRPO): Instead of optimizing the LLM for single-turn responses, AlphaAgentEvo extends Group Relative Policy Optimization (GRPO) to optimize entire trajectories. The agent proposes an alpha, calls a backtesting tool, reads the results, reflects, and proposes a new one. The RL algorithm updates the agent based on the success of this entire multi-turn loop.
  • Hierarchical Reward Function: To prevent the agent from exploiting the backtester (reward hacking), the authors designed a multi-tiered reward system:
  • Tool Call Reward: Penalizes syntax errors and rewards executable code.
  • Consistency Reward: Uses Abstract Syntax Tree (AST) similarity to ensure the new alpha doesn't randomly drift too far from the original "seed" idea.
  • Exploration Reward: Encourages structural diversity so the agent doesn't just submit the same formula repeatedly.
  • Performance & Streak Rewards: Logarithmically rewards actual improvements in the Information Ratio (IR) and gives bonuses for sustained, turn-over-turn improvements.

Experimental Setup

To evaluate the framework, the researchers utilized several datasets:

  • AlphaEvo500 (New): An expert-curated benchmark introduced in this paper, consisting of 500 seed alphas (350 train, 50 val, 100 test) to evaluate evolutionary capabilities.
  • Alpha158 (Existing): A well-known public library of 158 alphas used as an out-of-distribution test set to measure generalization.
  • Market Data: Backtesting was conducted on the Chinese HS300 and CSI500 markets using data from January 2023 to November 2025, explicitly split into bearish and bullish regimes to test market adaptability.

Key Findings and Performance

  • Agent Evolution over Alpha Evolution: The most fascinating finding is that the RL process taught the model how to do quant research. Over time, the agent learned to analyze the semantic meaning of a failed alpha (e.g., "this momentum indicator is failing because of high volatility") and apply structural fixes (e.g., "let's normalize it by the Average True Range"), rather than just blindly tweaking lookback windows.
  • Preventing Reward Hacking: By enforcing AST-based consistency and exploration rewards, the agent is forced to genuinely generalize its evolutionary strategies rather than over-exploiting narrow, spurious patterns in the training data.
  • Small Models Can Win in Niches: A specialized 4B-parameter model (based on Qwen3) trained with domain-specific ARL thoroughly beat general reasoning models at complex, multi-step domain tasks. On the AlphaEvo500 dataset, AlphaAgentEvo-4B achieved a 97% Pass@5 rate (successfully improving the seed alpha within 5 turns), crushing GPT-5-mini (88%) and DeepSeek-R1 (71%). It also achieved a Validity Rate (VR) of nearly 98%.
  • Real-World Portfolio Performance: When the top generated alphas were combined into a multi-factor portfolio and tested out-of-sample, AlphaAgentEvo-4B achieved an Annualized Excess Return (AER) of 0.129 and an Information Ratio (IR) of 2.442, significantly outperforming baseline RL frameworks, traditional machine learning (LightGBM), and GPT-5-mini (which had a negative AER of -0.158).

Limitations and Future Directions

Running backtests inside an RL training loop is computationally expensive. The authors mitigated this by using only one year of market data for training, but scaling this to massive, tick-level datasets would require immense compute. Furthermore, while the model generalized well across the tested bull and bear markets, financial markets are notoriously non-stationary; an alpha that works today may decay tomorrow.

Ultimately, this self-evolving ARL paradigm serves as a stepping stone toward more principled, scalable quantitative investment systems. Future directions will likely include expanding the agent's action space to handle multi-factor portfolio construction directly, rather than just single-factor mining.

Summary updated

BibTeX
@inproceedings{tang2026alphaagentevo,
  author = {Ziyi Tang and Xuexiong Yin and Weixing Chen and Zechuan Chen and Yongsen Zheng and Wenxuan Ye and Keze Wang and Liang Lin},
  title = {{AlphaAgentEvo: Evolution-Oriented Alpha Mining via Self-Evolving Agentic Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=lNmZrawUMu},
}
Figure