AlphaLogics: A Market Logic-Driven Multi-Agent System for Scalable and Interpretable Alpha Factor Generation

Zhangyuhua Weng, Shengli Zhang, Taotao Wang, Yihan XiaarXiv 2026

TL;DR

This paper introduces AlphaLogics, a novel multi-agent system that bridges the gap between scalable alpha factor generation and interpretable market logic. By explicitly modeling and iteratively refining market logic, AlphaLogics significantly improves the predictive power and robustness of generated alpha factors, making quantitative investment strategies more transparent and auditable.

What Problem Does This Paper Address?

Quantitative finance faces a persistent trade-off: traditional factor design, grounded in interpretable market logic, lacks scalability, while data-driven mining methods, though scalable, often produce opaque factors with unclear economic rationale. This opacity hinders interpretability, robustness across market regimes, and trust in automated trading systems. Existing LLM-based approaches often focus on optimizing factors rather than treating market logic itself as a verifiable and optimizable research object. The challenge is to achieve both scalability and interpretability in alpha factor generation.

Methods

AlphaLogics employs a three-stage, multi-agent system:

  1. Market Logic Mining: This stage reverse-engineers market logic from existing, well-established factor libraries (like Alpha101, Alpha191) using a pipeline of specialized agents. These agents break down factor formulas, map them to financial semantics, and abstract them into human-readable market logic (represented as conditions C and target/direction/horizon B).
  2. Guided Factor Generation & Optimization (Inner Loop): New alpha factors are generated and optimized using the extracted or refined market logics as guidance. A backtesting engine provides feedback, and agents iteratively refine factors based on performance metrics.
  3. Market Logic Generation & Optimization (Outer Loop): This stage focuses on improving the market logic itself. It generates new market logics conditioned on the existing library and feedback from the inner loop, refining them by aggregating the performance of their guided factors. This process continuously refreshes and expands the market logic library.

Datasets

The study uses historical OHLCV (Open, High, Low, Close, Volume) data from:

  • CSI 500 (China A-share market)
  • S&P 500 (U.S. market)

Data spans from January 2015 to December 2024, with a split into training (2015-2019), validation (2020), and testing (2021-2024) periods.

Key Insights and Ideas

  • Market Logic as a First-Class Citizen: Treating market logic as an explicit, optimizable object, rather than an implicit byproduct, is key to achieving both interpretability and scalability.
  • Iterative Refinement is Crucial: The outer loop's ability to refine market logic based on factor performance feedback is essential for long-term improvement, preventing the system from getting stuck in local optima.
  • LLMs Benefit from Structured Guidance: Even powerful LLMs perform better when guided by explicit market logic constraints, leading to more robust and interpretable factors compared to unconstrained generation.
  • A Growing Logic Library Enhances Diversity: Expanding the market logic library leads to more diverse and effective factor generation, reducing the risk of bottlenecking the search process.

Key Results

  • Superior Performance: AlphaLogics consistently outperforms representative baselines (including other agent-based and LLM-based methods) on both CSI 500 and S&P 500 markets. For CSI 500, it achieved an annualized excess return of 16.72% (IR 1.5266), and for S&P 500, 13.75% (IR 1.2658).
  • Improved Metrics: AlphaLogics demonstrated significant improvements in Information Coefficient (IC), Information Coefficient Information Ratio (ICIR), and Annualized Return (AR), while also achieving lower Maximum Drawdown (MDD).
  • High Reconstruction Consistency: The market logic mining pipeline achieved over 95% consistency in reconstructing factor behavior from LLM explanations, validating its ability to capture the essence of existing factors.
  • Effectiveness of Constraints: Using executable market logic constraints significantly improved factor quality (IC and IR) across various LLMs and markets.

Limitations and Future Work

  • Focus on Technical Logic: The current work primarily focuses on technical market logic derived from OHLCV and price-volume patterns, excluding fundamental or accounting-based signals.
  • LLM Stochasticity: While addressed by feedback mechanisms, the inherent stochasticity of LLMs can lead to variations in factor production.
  • Future Work: The authors suggest applying the framework to broader quantitative research pipelines, systematic factor discovery, and portfolio construction, particularly in areas requiring transparent factor rationale. They also highlight the potential for further examination of broader economic, regulatory, and systemic implications of widespread LLM-based factor generation.

Summary updated

BibTeX
@misc{weng2026alphalogics,
  author = {Zhangyuhua Weng and Shengli Zhang and Taotao Wang and Yihan Xia},
  title = {{AlphaLogics: A Market Logic-Driven Multi-Agent System for Scalable and Interpretable Alpha Factor Generation}},
  year = {2026},
  url = {https://openreview.net/forum?id=2avNkzf2X1},
}
Figure