q-fin.CPNov 3, 2026

CosmosAlpha: Multi-Relational Graph Search with Pareto-Guided Exploration for LLM-Driven Alpha Mining

Authors: Zhan-He Wang, Zi-Yang Lang, Yi-Yang Li, Qing-Yu Lan, Yun-Song Piao

Organizations: Artificial Intelligence and Quantitative Finance Laboratory, School of Physical Sciences, University of Chinese Academy of Sciences · School of Physics and Astronomy, Shanghai Jiao Tong University · School of Fundamental Physics and Mathematical Sciences, Hangzhou Institute for Advanced Study, UCAS

Abstract

Discovering predictive alpha factors from noisy financial data is a fundamental yet challenging problem in quantitative finance. LLM-driven formulaic alpha mining offers an attractive paradigm by combining interpretable symbolic expressions with iterative generation and refinement guided by quantitative feedback. However, existing generation-centric and tree-based search strategies primarily organize factors through generation lineage, leaving structural and statistical relationships across search branches underutilized. Consequently, information remains localized along parent--child trajectories, which can confine exploration to redundant regions. Moreover, effective factor discovery must account for multiple distinct objectives that cannot be adequately captured by a single search criterion. We introduce CosmosAlpha, a graph-based LLM factor-mining framework that represents discovered factors as a multi-relational graph encoding generation lineage, expression-structure similarity, and cross-sectional exposure correlation. A Graph Flow mechanism propagates search utilities across the graph, allowing each factor to be assessed using relational evidence from nearby factors rather than in isolation. Pareto-guided selection jointly considers quality, fertility and diversity, explicitly modeling their trade-offs within a multi-objective search framework. Across CSI 300 and CSI 500, CosmosAlpha-Graph achieves the best mean rank over seven predictive and portfolio metrics and outperforms its controlled CosmosAlpha-MCTS counterpart on every reported metric, showing a consistent advantage for relational graph search in LLM-driven factor mining. The source code is available at https://github.com/wzhmtldswz/CosmosAlpha

Figures & tables

Appendix figures & tables18 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. AlphaSchema: Exploring the Space of Trading Semantics for LLM-Based Alpha Mining

    Jul 29, 2026Jingyang Yi, Jian Yang, Yifei Jin +2Automated Algorithm DiscoveryAlpha Factor Discovery

  2. FactorEngine: A Program-level Knowledge-Infused Factor Mining Framework for Quantitative Investment

    Mar 17, 2026Qinhong Lin, Ruitao Feng, Yinglun Feng +7Alpha Factor DiscoveryQuantitative Finance

  3. From Feedback Loops to Policy Updates: Reinforcement Fine-Tuning for LLM-Based Alpha Factor Discovery

    May 14, 2026Lingzhe Zhang, Tong Jia, Yunpeng Zhai +5RL for Language ModelsAlpha Factor Discovery