Cognitive Alpha Mining via LLM-Driven Code-Based Evolution

Fengyuan Liu, Huang Yi, Sichun Luo, Yuqi Wang, Yazheng Yang +4 more
11/24/2025
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Discovering effective predictive signals, or ``alphas,'' from financial data with high dimensionality and extremely low signal-to-noise ratio remains a difficult open problem. Despite progress in deep learning, genetic programming, and, more recently, large language model (LLM)--based factor generation, existing approaches still explore only a narrow region of the vast alpha search space. Neural models tend to produce opaque and fragile patterns, while symbolic or formula-based methods often yield redundant or economically ungrounded expressions that generalize poorly. Although different in form, these paradigms share a key limitation: none can conduct broad, structured, and human-like exploration that balances logical consistency with creative leaps. To address this gap, we introduce the Cognitive Alpha Mining Framework (CogAlpha), which combines code-level alpha representation with LLM-driven reasoning and evolutionary search. Treating LLMs as adaptive cognitive agents, our framework iteratively refines, mutates, and recombines alpha candidates through multi-stage prompts and financial feedback. This synergistic design enables deeper thinking, richer structural diversity, and economically interpretable alpha discovery, while greatly expanding the effective search space. Experiments on A-share equities demonstrate that CogAlpha consistently discovers alphas with superior predictive accuracy, robustness, and generalization over existing methods. Our results highlight the promise of aligning evolutionary optimization with LLM-based reasoning for automated and explainable alpha discovery. All source code will be released.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2025cognitive,
  title  = {Cognitive Alpha Mining via LLM-Driven Code-Based Evolution},
  author = {Fengyuan Liu and Huang Yi and Sichun Luo and Yuqi Wang and Yazheng Yang and Xinye Li and Zefa Hu and Junlan Feng and Qi Liu},
  year   = {2025},
  eprint = {2511.18850},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.18850v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.18850.svg)](https://codeofpaper.com/paper/2511.18850)

Discussion