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

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

21 May 2025arXiv:2505.15155archive 2025-07-28

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

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.15155")

Code

Syntology Ran 5 of 10 code samples harvested from 2 repositories linked to this paper; 5 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 4 samples from 1 repository, 0 ran; found in paper text by Syntology: 6 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

microsoft/rd-agent officialmentioned in papermentioned on GitHubpytorchMIT report
microsoft/qlib officialmentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 5 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran
5unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

decompose_portofolio_weight microsoft/qlib/qlib/backtest/profit_attribution.py official repository unverified MIT (permissive) · 9506113369d1f295 · report
get_benchmark_weight microsoft/qlib/qlib/backtest/profit_attribution.py official repository unverified MIT (permissive) · d8c63f96a1c38715 · report
get_stock_weight_df microsoft/qlib/qlib/backtest/profit_attribution.py official repository unverified MIT (permissive) · e7ee36a13c448d7b · report
set_global_logger_level microsoft/qlib/qlib/log.py official repository unverified MIT (permissive) · c859b0baafb6ea25 · report
Gate SJTU-DMTai/MASTER/qlib-update/pytorch_master_ts.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 71e2b1c20027624e · report
PositionalEncoding SJTU-DMTai/MASTER/qlib-update/pytorch_master_ts.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · c43b48bd5345165d · report
SAttention SJTU-DMTai/MASTER/qlib-update/pytorch_master_ts.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · f9912fe8791826a9 · report
TAttention SJTU-DMTai/MASTER/qlib-update/pytorch_master_ts.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · d545f61fb9ddb363 · report
TemporalAttention SJTU-DMTai/MASTER/qlib-update/pytorch_master_ts.py found in paper text by Syntology ran · metamorphic tier: invariant MIT (permissive) · 5b2b0939a4f0d910 · report
MASTER SJTU-DMTai/MASTER/qlib-update/pytorch_master_ts.py found in paper text by Syntology unverified MIT (permissive) · b1b110b56127770c · report

Tasks

Code GenerationModel Optimization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections