Paper: arXiv 2505.15155
Authors: Yuante Li, Xu Yang, Xiao Yang, Minrui Xu, Xisen Wang, Weiqing Liu, Jiang Bian
Abstract
Financial markets pose fundamental challenges for asset return prediction due to their high dimensionality, non-stationarity, and persistent volatility. Despite advances in large language models and multi-agent systems, current quantitative research pipelines suffer from limited automation, weak interpretability, and fragmented coordination across key components such as factor mining and model innovation. In this paper, we propose R&D-Agent for Quantitative Finance, in short RD-Agent(Q), the first data-centric multi-agent framework designed to automate the full-stack research and development of quantitative strategies via coordinated factor-model co-optimization. RD-Agent(Q) decomposes the quant process into two iterative stages: a Research stage that dynamically sets goal-aligned prompts, formulates hypotheses based on domain priors, and maps them to concrete tasks, and a Development stage that employs a code-generation agent, Co-STEER, to implement task-specific code, which is then executed in real-market backtests. The two stages are connected through a feedback stage that thoroughly evaluates experimental outcomes and informs subsequent iterations, with a multi-armed bandit scheduler for adaptive direction selection. Empirically, RD-Agent(Q) achieves up to 2X higher annualized returns than classical factor libraries using 70% fewer factors, and outperforms state-of-the-art deep time-series models on real markets. Its joint factor-model optimization delivers a strong balance between predictive accuracy and strategy robustness. Our code is available at: https://github.com/microsoft/RD-Agent.
Complexity vs Empirical Score
- Math Complexity: 4.5/10
- Empirical Rigor: 8.0/10
- Quadrant: Street Traders — practical and empirical, lighter on theory
Why this score: The paper focuses on a multi-agent framework with architectural details and experimental results (real-market backtests, specific metrics like annualized returns), indicating strong empirical rigor, while the math is largely algorithmic and systems-oriented rather than dense theoretical derivations.
Research Flowchart
flowchart TD
A["Research Goal<br>Automate Quant Strategy R&D"] --> B["Data Inputs<br>Financial Markets & Historical Data"]
B --> C{"Research Stage"}
C --> D["Dynamic Prompting &<br>Hypothesis Formulation"]
D --> E["Task Mapping<br>to Domain Prior"]
E --> F{"Development Stage"}
F --> G["Co-STEER Agent<br>Code Generation"]
G --> H["Real-Market<br>Backtest Execution"]
H --> I["Evaluation & Feedback"]
I --> J["Multi-Armed Bandit<br>Adaptive Scheduler"]
J -->|Iterate| C
I --> K["Key Findings<br>2X Higher Returns, 70% Fewer Factors"]
Cited References (104)
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (2022)
- RD2Bench : Toward Data-Centric Automatic R & D (2024)
- Language Models Are Few-Shot Learners (2020)
- Reflexion: Language Agents with Verbal Reinforcement Learning (2023)
- Teaching Large Language Models to Self-Debug (2024)
- Self-Planning Code Generation with Large Language Model (2023) — link
- 101 formulaic alphas (2016)
- Qlib: An AI-Oriented Quantitative Investment Platform (2020) — link
and 96 more
- AlphaFin: Benchmarking Financial Analysis with Retrieval-Augmented Stock-Chain Framework (2024)
- LLMFactor: Extracting Profitable Factors through Prompts for Explainable Stock Movement Prediction (2024) — link
- FactorVAE: A Probabilistic Dynamic Factor Model Based on Variational Autoencoder (2022)
- From Deep Learning to LLMs: A Survey of AI in Quantitative Investment — → 2503.21422
- AgentBench: Evaluating LLMs as Agents (2024) — link
- Voyager: An Open-Ended Embodied Agent with LLMs (2023)
- DSPy: Compiling Declarative Language-Model Calls into Self-Improving Pipelines (2023) — link
- Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language Models (2024)
- Benchmarking LLM Agents on Consequential Real-World Tasks (2024) — link
- 101 Formulaic Alphas (2016) — link
- Common risk factors in the returns on stocks and bonds (1993)
- Replicating anomalies (2020)
- …and the cross-section of expected returns (2016)
- Taming the factor zoo: A test of new factors (2020)
- Attention Is All You Need (2017)
- A Time Series Is Worth 64 Words: Long-Term Forecasting with Transformers (2023)
- iTransformer: Inverted Transformers Are Effective for Time-Series Forecasting (2024) — link
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces (2024)
- MASTER: Market-Guided Stock Transformer for Stock Price Forecasting (2024) — link
- Thompson Sampling for Contextual Bandits with Linear Payoffs (2013)
- Regret Analysis of Stochastic and Non-Stochastic Multi-Armed Bandit Problems (2012)
- Contextual Combinatorial Bandit on Portfolio Management (2023)
- Risk-Aware Multi-Armed Bandit Problem with Application to Portfolio Selection (2017)
- Portfolio Choices with Orthogonal Bandit Learning (2015)
- From Deep Learning to LLMs: A survey of AI in Quantitative Investment (2025) — link
- AlphaFin: Benchmarking Financial Analysis with Retrieval-Augmented Stock-Chain Framework (2024)
- Factorvae: A probabilistic dynamic factor model based on variational autoencoder for predicting cross-sectional stock returns (2022)
- Learning multiple stock trading patterns with temporal routing adaptor and optimal transport (2021)
- Master: Market-guided stock transformer for stock price forecasting (2024)
- Graph Attention Networks (2018)
- Learning Phrase Representations using RNN Encoder – Decoder for Statistical Machine Translation (2014)
- Attention is All you Need (2017)
- CatBoost: unbiased boosting with categorical features (2018)
- DoubleEnsemble: A new ensemble method based on sample reweighting and feature selection for financial data analysis (2020)
- Xgboost: A scalable tree boosting system (2016)
- Lightgbm: A highly efficient gradient boosting decision tree (2017)
- 101 Formulaic Alphas (2016) — link
- Automate strategy finding with llm in quant investment — → 2409.06289
- A Time Series is Worth 64 Words: Long-term Forecasting with Transformers (2023)
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting (2023)
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces (2024)
- Qlib: An ai-oriented quantitative investment platform (2020) — link
- A Dual-Stage Attention-Based Recurrent Neural Network for Time Series Prediction (2017)
- Long short-term memory (1997)
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks (2019)
- Capital asset prices: A theory of market equilibrium under conditions of risk (1964)
- Common risk factors in the returns on stocks and bonds (1993)
- On persistence in mutual fund performance (1997)
- Deep generative symbolic regression with monte-carlo-tree-search (2023)
- Deep symbolic regression: Recovering mathematical expressions from data via risk-seeking policy gradients
- Kaizen Programming with Enhanced Feature Discovery: An Automated Approach to Feature Selection and Feature Discovery for Prediction Models (2020)
- Alphaevolve: A learning framework to discover novel alphas in quantitative investment (2021)
- QuantFactor REINFORCE: Mining Steady Formulaic Alpha Factors with Variance-bounded REINFORCE — → 2409.05144
- Deep reinforcement learning for optimizing finance portfolio management (2019)
- Dirichlet policies for reinforced factor portfolios (2020) — link
- Empirical asset pricing via machine learning (2020)
- Exponential smoothing: The state of the art (1985)
- Stock Price Prediction Using the ARIMA Model (2014)
- Predicting the Brazilian stock market through neural networks and adaptive exponential smoothing methods (2009)
- Forecasting stock market movement direction with support vector machine (2005)
- Decision support system for stock trading using multiple indicators decision tree (2014)
- Optiver Realized Volatility Prediction (2021)
- CLVSA: a convolutional LSTM based variational sequence-to-sequence model with attention for predicting trends of financial markets (2019)
- Hierarchical Multi-Scale Gaussian Transformer for Stock Movement Prediction (2020)
- LSR-IGRU: Stock Trend Prediction Based on Long Short-Term Relationships and Improved GRU (2024)
- Temporal and Heterogeneous Graph Neural Network for Financial Time Series Prediction — → 2305.08740
- Rest: Relational event-driven stock trend forecasting (2021)
- Master: Market-guided stock transformer for stock price forecasting (2024)
- Finbert: A pre-trained financial language representation model for financial text mining (2021)
- Can chatgpt forecast stock price movements? return predictability and large language models — → 2304.07619
- LLMFactor: Extracting Profitable Factors through Prompts for Explainable Stock Movement Prediction (2024)
- AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation
- Auto-gpt for online decision making: Benchmarks and additional opinions (2023) — link
- A multimodal foundation agent for financial trading: Tool-augmented, diversified, and generalist (2024)
- FinCon: A Synthesized LLM Multi-Agent System with Conceptual Verbal Reinforcement for Enhanced Financial Decision Making
- TradingAgents: Multi-Agents LLM Financial Trading Framework — → 2412.20138
- A rational route to randomness (1997)
- Heterogeneous beliefs and routes to chaos in a simple asset pricing model (1998)
- Prospect theory: An analysis of decision under risk (2013)
- Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation (1982)
- On the network topology of variance decompositions: Measuring the connectedness of financial firms (2014)
- The variation of certain speculative prices (1997)
- Dynamic trading with predictable returns and transaction costs (2013)
- Genetic programming: On the programming of computers by means of natural selection (complex adaptive systems) (1993)
- Deep direct reinforcement learning for financial signal representation and trading (2016)
- Time series analysis: forecasting and control (2015)
- Short and long term stock trend prediction using decision tree (2017)
- Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting (2021)
- Informer: Beyond efficient transformer for long sequence time-series forecasting (2021)
- A dynamic attributes-driven graph attention network modeling on behavioral finance for stock prediction (2023)
- MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework
- Beyond self-talk: A communication-centric survey of llm-based multi-agent systems (2025) — link
- AlphaForge: A Framework to Mine and Dynamically Combine Formulaic Alpha Factors (2025)
- Alpha 158 from Microsoft Qlib
- Alpha 360 from Microsoft Qlib
- PolyModel for Hedge Funds’ Portfolio Construction Using Machine Learning (2024) — link
6 of 104 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.