FactorMiner: A Self-Evolving Agent with Skills and Experience Memory for Financial Alpha Discovery
FactorMiner is a lightweight, self-evolving agent framework that leverages a modular skill architecture and structured experience memory to iteratively discover diverse, high-quality, and interpretable formulaic alpha factors while effectively mitigating redundancy in the expanding search space of quantitative investment.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the world of quantitative investing, success often hinges on finding a hidden signal within a chaotic sea of market data. Investors look for patterns in price, volume, and trading activity that can predict future movements better than chance. These patterns are often written out as specific mathematical formulas, known as alpha factors, which act like rules for deciding when to buy or sell. The challenge is that the number of possible formulas is so vast that it is impossible for a human to write them all down or test them all manually. Furthermore, as researchers discover more of these rules, they often find that many of them are just variations of the same idea, offering no new insight. This creates a crowded landscape where finding something truly new and useful becomes increasingly difficult. The goal is to build a system that can not only search this vast space efficiently but also learn from its past attempts to avoid repeating mistakes and to discover genuinely unique patterns.
A team of researchers has developed a new approach to this problem called FactorMiner, a self-improving computer agent designed to navigate this complex financial terrain. Instead of relying on a human expert to write every rule or a simple computer program to randomly guess formulas, this system acts like a curious researcher that accumulates experience over time. The core idea is to separate the work of thinking from the work of calculating. The agent uses a large language model to generate ideas for new formulas, but it delegates the actual testing of those formulas to a specialized, high-speed engine. This engine checks if a formula works by looking at real market data, measuring how well it predicts future returns, and ensuring it is not too similar to the thousands of other rules already discovered.
What makes this system unique is its memory. Most automated search methods forget what they learned in previous sessions, often wasting time rediscovering dead ends or generating the same successful patterns over and over again. FactorMiner, however, keeps a structured record of its journey. It stores two types of insights: successful patterns, which are the types of formula structures that have worked well in the past, and forbidden regions, which are combinations of ideas that consistently fail or are too similar to existing rules. When the agent starts a new search, it consults this memory first. It uses the history of what worked and what failed to guide its next guesses, effectively narrowing the search to the most promising areas while avoiding the crowded, unproductive ones.
The researchers tested this system on real-world financial data, including stocks in China and various cryptocurrencies. They found that FactorMiner could build a library of high-quality, diverse rules much more effectively than traditional methods. In their experiments, the system produced a collection of 110 distinct rules that were validated on real market data. These rules were not only accurate in predicting price movements but were also distinct from one another, meaning they captured different aspects of market behavior rather than just repeating the same signal. The system managed to maintain this diversity even as the library grew larger, a feat that many other automated methods struggle to achieve. By continuously refining its search strategy based on what it learned, the agent avoided the "correlation red sea," a state where new discoveries are just copies of old ones, and instead found fresh, interpretable insights.
The process works in a continuous loop. The agent retrieves relevant lessons from its memory, generates a batch of new candidate formulas, and then runs them through a rigorous, multi-stage evaluation. First, it quickly screens out the obvious failures. Then, it checks the survivors against the existing library to ensure they are not too similar to what is already known. If a new rule is better than an existing one but too similar to it, the system allows the new rule to replace the old one, keeping the library up to date. Finally, the most promising rules undergo a full, detailed validation. The results of this entire process are then distilled back into the memory, updating the agent's understanding of what constitutes a good or bad search direction. This cycle allows the system to evolve, becoming more efficient and effective with every round of discovery.
The researchers emphasize that this approach offers a practical solution to the problem of finding new investment signals in a market where easy discoveries have already been made. By combining the creative generation of ideas with a disciplined, memory-guided search, FactorMiner provides a way to scale the discovery of useful financial rules without sacrificing clarity or diversity. The system does not rely on opaque, black-box models that are impossible to understand; instead, it produces clear, human-readable formulas that can be audited and trusted. This work demonstrates that by giving an artificial agent the ability to remember its past experiences and learn from them, it is possible to navigate the immense complexity of financial markets and uncover valuable, interpretable patterns that were previously out of reach.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.