Role-Agent: Bootstrapping LLM Agents via Dual-Role Evolution

Xucong Wang, Ziyu Ma, Shidong Yang, Tongwen Huang, Pengkun Wang, Yong Wang, Xiangxiang Chu


Abstract
Although Large Language Model (LLM) agents have demonstrated remarkable performance on complex, real-world tasks, the significant bottleneck of execution inefficiencies and static environmental feedback hinders agents’ effective generalization to open-ended scenarios. To address these limitations, this paper introduces Role-Agent, a novel framework that repurposes one LLM to concurrently function as the agent and the environment, thereby enabling a bootstrapped co-evolution. At the core of Role-Agent are two synergistic components: World-In-Agent (WIA) and Agent-In-World (AIW). In WIA where the LLM acts as the agent, we define the reward for an action as the alignment between the agent’s prediction of the next several states and the actual state. These rewards are subsequently grouped by state and optimized, equipping the agent with predictive reasoning capabilities regarding the environment. In AIW where the LLM provides environmental adjustments, we require it to analyze the typical failure modes from failed trajectories, then searches for tasks that exhibit similar failure modes, thereby altering the data distribution to facilitate learning. Extensive experiments conducted on the various benchmarks demonstrate the substantial performance improvements achieved by Role-Agent, yielding an average performance gain of over 4%.
Anthology ID:
2026.findings-emnlp.208
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
4360–4379
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.208/
DOI:
Bibkey:
Cite (ACL):
Xucong Wang, Ziyu Ma, Shidong Yang, Tongwen Huang, Pengkun Wang, Yong Wang, and Xiangxiang Chu. 2026. Role-Agent: Bootstrapping LLM Agents via Dual-Role Evolution. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 4360–4379, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Role-Agent: Bootstrapping LLM Agents via Dual-Role Evolution (Wang et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.208.pdf