R&D-Agent-Quant: A Multi-Agent Framework for Data-Centric Factors and Model Joint Optimization

Yuante Li, Xu Yang, Xiao Yang, Minrui Xu, Xisen Wang, Weiqing Liu, Jiang BianNeurIPS 2025

TL;DR

This paper introduces R&D-Agent(Q), a novel multi-agent framework that automates the entire quantitative finance research pipeline, from factor discovery to model development and backtesting. It achieves this through a coordinated, data-centric approach that jointly optimizes factors and models, leading to significantly higher returns and fewer factors compared to traditional methods.

What Problem Does This Paper Address?

Quantitative finance research, while increasingly data-driven, faces significant challenges: limited automation, poor interpretability of complex models, and fragmented optimization across different stages (factor mining, model building, backtesting). This leads to slow iteration cycles, potential biases, and difficulty in adapting to rapidly changing market conditions. Existing approaches often treat factor discovery and model development as separate, siloed processes, missing opportunities for synergistic improvements.

Methods

R&D-Agent(Q) tackles these issues by decomposing the quantitative research process into five LLM-powered units organized into two main phases: Research and Development.

  • Research Phase:
    • Specification Unit: Dynamically sets goals and constraints for downstream modules.
  • Synthesis Unit: Generates hypotheses for new factors or models based on prior experiments and domain knowledge.
  • Development Phase:
    • Implementation Unit (Co-STEER): An agent that translates hypotheses into executable code using chain-of-thought reasoning and a growing knowledge base.
  • Validation Unit: Evaluates the generated factors/models through real-market backtests using the Qlib platform.
  • Analysis Unit: Evaluates experimental outcomes, provides feedback to the Synthesis Unit, and uses a multi-armed bandit scheduler to adaptively decide whether to focus on factor refinement or model optimization for the next iteration.

This framework enables a closed-loop, iterative process for joint factor-model co-optimization.

Datasets

The experiments were conducted using the CSI 300 dataset, which includes 300 large-cap A-share stocks from the Chinese market. Additional out-of-sample experiments were performed on the CSI 500 (another Chinese market dataset) and the NASDAQ 100 (US market dataset). The paper also references fundamental data fields obtained from the Wind terminal.

Key Insights and Ideas

  • Joint Factor-Model Optimization is Key: The paper demonstrates that simultaneously optimizing factors and models leads to synergistic improvements, yielding better predictive power and strategy robustness than optimizing either component in isolation.
  • LLMs as Research Assistants: LLMs are effectively leveraged not just for code generation but also for hypothesis generation, reasoning, and task decomposition, automating significant parts of the research process.
  • Iterative Refinement and Knowledge Accumulation: The framework's ability to learn from past experiments, store successful and failed attempts, and adapt its strategy based on feedback is crucial for its success. This continuous learning loop allows it to discover more robust and informative signals.
  • Data-Centric Approach: By focusing on data processing and dynamic hypothesis generation, R&D-Agent(Q) can adapt to changing market conditions and uncover novel patterns that might be missed by static factor libraries.
  • Co-STEER's Role in Code Generation: The specialized Co-STEER agent, with its structured reasoning and knowledge reuse, significantly improves the efficiency and correctness of generating quantitative finance code.

Key Results

  • Higher Returns, Fewer Factors: R&D-Agent(Q) achieved up to 2x higher annualized returns than classical factor libraries while using 70% fewer factors.
  • Outperforms State-of-the-Art: The framework outperformed state-of-the-art deep time-series models on real markets.
  • Improved Predictive Metrics: Consistently achieved higher Information Coefficient (IC) and Rank IC compared to baselines. For example, R&D-Factor achieved IC levels comparable to Alpha 158 and Alpha 360 with significantly fewer factors.
  • Robustness and Generalizability: Demonstrated strong out-of-sample performance across different markets (CSI 500, NASDAQ 100) and time periods, indicating robustness to regime shifts and data leakage.
  • Cost-Effectiveness: The framework's total cost for running workflows was under $10, highlighting its scalability.

Limitations and Future Work

  • Reliance on LLM Knowledge: The current system relies primarily on the LLM's internal financial knowledge. Future work could incorporate structured financial expertise through retrieval-augmented generation (RAG).
  • Batch-Based Design: The current batch-based design limits real-time adaptation to high-frequency trading. Future work could explore event-driven or incremental learning.
  • Multimodal Data Integration: The system could be enhanced by integrating more diverse data sources like news sentiment, macroeconomic indicators, and corporate filings.
  • Accessibility Concerns: While lowering the barrier to entry, the accessibility of such powerful tools raises concerns for non-expert users. The authors emphasize the need for rigorous validation and include disclaimers.

Summary updated

BibTeX
@inproceedings{li2025r,
  author = {Yuante Li and Xu Yang and Xiao Yang and Minrui Xu and Xisen Wang and Weiqing Liu and Jiang Bian},
  title = {{R\&D-Agent-Quant: A Multi-Agent Framework for Data-Centric Factors and Model Joint Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=9VxTXAUH7G},
}
Figure