RoleFlow: Self-Evolving Multi-Role Agentic Collaboration via Structural Adaptation
Yi Ge, Pan Wang, Xuehao Cui, Zian Zeng, Xu Hu, Heng Huang, Furong Huang
Abstract
Large language model (LLM) based multi-agent systems often rely on predefined collaboration structures, limiting their adaptability to evolving task requirements. Although recent approaches enable dynamic orchestration, trajectory-level rewards they apply assign one outcome to each decision, ofen struggling to identify the contributions of individual structural changes. We propose RoleFlow, a self-evolving multi-role agentic system that refines collaboration structures through feedback-driven atomic edits and on-demand role synthesis. To make structural adaptation learnable, we introduce Single-Edit Counterfactual Policy Optimization (SECPO), which evaluates each edit against its no-edit counterpart at the same chain state and assigns targeted credit to edit-specific tokens. Across seven benchmarks spanning four domains, RoleFlow achieves the optimal average performance, surpassing the strongest competitor by 4.7 points. It leads on all three multi-hop QA benchmarks by 3.2-7.5 F1 points and also shows supremacy on mathematical reasoning, web interaction, and code generation. Further analyses demonstrate cross-benchmark transferability, training-data efficiency, and cross-executor generalization.
Create a lesson
Metadata
- Comments
- 21 pages
Related papers
ADAPT for Science: A Multi-Agent System for Self-Evolving Scientific Optimization
Shared title terminologycs.AIZhaoran Feng, Yuchen Ni, Jianan Liu et al.
DoppelVet: Comparative Safety Verification for Self-Evolving Agents
Shared title terminologycs.AIYifan Duan, Du Yin, Siyuan Zheng et al.
EvoViM: Recursively Self-Evolving Visual Agents for Exploration with Deferred Queries
Shared title terminologycs.AIXinyu Cao, Tianjie Ju, Zhuosheng Zhang
Demystifying the Autoresearch Harness: How Context and Skills Shape Self-Evolving Agents
Shared title terminologycs.AIKelvin Kiu-Wai Tam, Newt Hue-Nam K. Nguyen, Tianshi Zheng et al.
GuideEvolve: Self-Evolving Agent Framework with Expert Guidance and 3Ts Mechanisms
Shared title terminologycs.AIMeihong Jia, Yasemin Timar, Jonathan Taws
PreCoMem: Predictive Cognitive Memory for Self-Evolving Long-Term Dialogue Agents
Shared title terminologycs.AIJian Zhong, Zeyu Liu, Pingchuan Cao et al.