{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/r-d-agent-quant-a-multi-agent-framework-for","title":"R&D-Agent-Quant: A Multi-Agent Framework for Data-Centric Factors and Model Joint Optimization","arxiv_id":"2505.15155","date":"2025-05-21","proceeding":null,"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.","url_abs":"https://arxiv.org/abs/2505.15155v1","url_pdf":"https://arxiv.org/pdf/2505.15155v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"r-d-agent-quant-a-multi-agent-framework-for","repo_url":"https://github.com/microsoft/rd-agent","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"r-d-agent-quant-a-multi-agent-framework-for","repo_url":"https://github.com/microsoft/qlib","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"code-generation","task_name":"Code Generation"},{"task_slug":"model-optimization","task_name":"Model Optimization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2505.15155","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2505.15155"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/microsoft/qlib","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/microsoft/RD-Agent","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/SJTU-DMTai/MASTER","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/microsoft/rd-agent","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":5,"unverified":5},"by_repo_kind":{"official":{"samples":4,"ran":0,"repositories":1},"found_in_text":{"samples":6,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"71e2b1c20027624e","entry":"Gate","repo":"SJTU-DMTai/MASTER","repo_kind":"found_in_text","path":"qlib-update/pytorch_master_ts.py","file_url":"https://github.com/SJTU-DMTai/MASTER/blob/HEAD/qlib-update/pytorch_master_ts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"71e2b1c20027624e"}},{"code_sha256_prefix":"c43b48bd5345165d","entry":"PositionalEncoding","repo":"SJTU-DMTai/MASTER","repo_kind":"found_in_text","path":"qlib-update/pytorch_master_ts.py","file_url":"https://github.com/SJTU-DMTai/MASTER/blob/HEAD/qlib-update/pytorch_master_ts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c43b48bd5345165d"}},{"code_sha256_prefix":"f9912fe8791826a9","entry":"SAttention","repo":"SJTU-DMTai/MASTER","repo_kind":"found_in_text","path":"qlib-update/pytorch_master_ts.py","file_url":"https://github.com/SJTU-DMTai/MASTER/blob/HEAD/qlib-update/pytorch_master_ts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f9912fe8791826a9"}},{"code_sha256_prefix":"d545f61fb9ddb363","entry":"TAttention","repo":"SJTU-DMTai/MASTER","repo_kind":"found_in_text","path":"qlib-update/pytorch_master_ts.py","file_url":"https://github.com/SJTU-DMTai/MASTER/blob/HEAD/qlib-update/pytorch_master_ts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d545f61fb9ddb363"}},{"code_sha256_prefix":"5b2b0939a4f0d910","entry":"TemporalAttention","repo":"SJTU-DMTai/MASTER","repo_kind":"found_in_text","path":"qlib-update/pytorch_master_ts.py","file_url":"https://github.com/SJTU-DMTai/MASTER/blob/HEAD/qlib-update/pytorch_master_ts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5b2b0939a4f0d910"}},{"code_sha256_prefix":"b1b110b56127770c","entry":"MASTER","repo":"SJTU-DMTai/MASTER","repo_kind":"found_in_text","path":"qlib-update/pytorch_master_ts.py","file_url":"https://github.com/SJTU-DMTai/MASTER/blob/HEAD/qlib-update/pytorch_master_ts.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b1b110b56127770c"}},{"code_sha256_prefix":"9506113369d1f295","entry":"decompose_portofolio_weight","repo":"microsoft/qlib","repo_kind":"official","path":"qlib/backtest/profit_attribution.py","file_url":"https://github.com/microsoft/qlib/blob/HEAD/qlib/backtest/profit_attribution.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9506113369d1f295"}},{"code_sha256_prefix":"d8c63f96a1c38715","entry":"get_benchmark_weight","repo":"microsoft/qlib","repo_kind":"official","path":"qlib/backtest/profit_attribution.py","file_url":"https://github.com/microsoft/qlib/blob/HEAD/qlib/backtest/profit_attribution.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d8c63f96a1c38715"}},{"code_sha256_prefix":"e7ee36a13c448d7b","entry":"get_stock_weight_df","repo":"microsoft/qlib","repo_kind":"official","path":"qlib/backtest/profit_attribution.py","file_url":"https://github.com/microsoft/qlib/blob/HEAD/qlib/backtest/profit_attribution.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7ee36a13c448d7b"}},{"code_sha256_prefix":"c859b0baafb6ea25","entry":"set_global_logger_level","repo":"microsoft/qlib","repo_kind":"official","path":"qlib/log.py","file_url":"https://github.com/microsoft/qlib/blob/HEAD/qlib/log.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c859b0baafb6ea25"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}