Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

Although Large Language Model (LLM) agents have demonstrated strong performance on complex tasks, their learning is often limited by inefficient interaction feedback and static training environments, which hinder broader generalization. To address these limitations, this paper introduces Role-Agent, \textcolor{black}{a framework} that harnesses a single LLM to function concurrently as both the agent and the environment, enabling a bootstrapped co-evolution. Role-Agent comprises two synergistic components: World-In-Agent (WIA) and Agent-In-World (AIW). In WIA, the LLM acts as the agent and predicts future states after each action; the alignment between predicted and actual states is then used as a process reward, encouraging environment-aware reasoning. In AIW, the LLM analyzes failure modes from failed trajectories and retrieves tasks with similar failure patterns, thereby reshaping the training data distribution for targeted practice. Experiments on multiple benchmarks show that Role-Agent consistently improves performance, yielding an average gain of over 4\% over strong baselines.

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

Related benchmarks

TaskDatasetResultRank
Interactive Decision-makingAlfWorld
Overall Success Rate93.8
398
Online ShoppingWebshop
Score88
115
Multi-Hop Search-augmented Question AnsweringHotpotQA
Success Rate38.8
22
Multi-Hop Search-augmented Question Answering2Wiki
Success Rate45.2
22
Multi-Hop Search-augmented Question AnsweringMuSiQue
Success Rate17.8
22
Multi-Hop Search-augmented Question AnsweringBamboogle
Success Rate68.4
22
Single-Hop Search-augmented Question AnsweringPopQA
Success Rate49.8
21
Single-Hop Search-augmented Question AnsweringNQ
Success Rate40.1
21
Single-Hop Search-augmented Question AnsweringTriviaQA
Success Rate60.4
21
Search-Augmented Question AnsweringAggregated QA Tasks
Avg Success Rate45.8
5
Showing 10 of 10 rows

Other info

GitHub

Follow for update