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

RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learning

About

Training large language models (LLMs) as interactive agents presents unique challenges including long-horizon decision making and interacting with stochastic environment feedback. While reinforcement learning (RL) has enabled progress in static tasks, multi-turn agent RL training remains underexplored. We propose StarPO (State-Thinking-Actions-Reward Policy Optimization), a general framework for trajectory-level agent RL, and introduce RAGEN, a modular system for training and evaluating LLM agents. Our study on four stylized environments reveals three core findings. First, our agent RL training shows a recurring mode of Echo Trap where reward variance cliffs and gradient spikes; we address this with StarPO-S, a stabilized variant with trajectory filtering, critic incorporation, and gradient stabilization. Second, we find the shaping of RL rollouts would benefit from diverse initial states, medium interaction granularity and more frequent sampling. Third, we show that without fine-grained, reasoning-aware reward signals, agent reasoning hardly emerge through multi-turn RL and they may show shallow strategies or hallucinated thoughts. Code and environments are available at https://github.com/RAGEN-AI/RAGEN.

Zihan Wang, Kangrui Wang, Qineng Wang, Pingyue Zhang, Linjie Li, Zhengyuan Yang, Xing Jin, Kefan Yu, Minh Nhat Nguyen, Licheng Liu, Eli Gottlieb, Yiping Lu, Kyunghyun Cho, Jiajun Wu, Li Fei-Fei, Lijuan Wang, Yejin Choi, Manling Li• 2025

Related benchmarks

TaskDatasetResultRank
Interactive Decision-makingAlfWorld
Overall Success Rate75.4
118
Web Navigation and ShoppingWebshop
Success Rate63
81
Long-Horizon User-Centric Interactionτ2-bench
Telecom Success Rate17.5
23
Code-Centric Agent InteractionColBench
Pass Rate47.9
23
User-Centric Agent InteractionUserGym
Travel Score53.8
23
Multi-Armed BanditBandit
Success Rate (pass@1)62
19
Multi-turn Strategic GameplayMulti-turn Game Suite (SimpleNegotiation, TwoDollar, KuhnPoker, Briscola, SimpleTak)
SimpleNegotiation Win Rate41.1
16
Interactive Decision-makingVirtualHome
Success Rate52.1
15
Twenty QuestionsTwenty Questions held-out (test)
Mean@824.36
10
Multi-turn RL navigationSokoban held-out (val)
Success Rate43.7
10
Showing 10 of 15 rows

Other info

Follow for update