HyperAIHyperAI

Command Palette

Search for a command to run...

멀티턴 강화학습은 LLM 에이전트에서 실제로 무엇을 개선하는가?

Kejian Zhu Zhuoran Jin Shangqing Tu Tianyi Men Yupu Hao Jiachun Li Kang Liu Jun Zhao

초록

멀티턴 에이전트 강화학습(RL)은 장기 지평(long-horizon) 작업에서 뛰어나지만, 성능 향상은 상호작용 제약에 여전히 매우 민감하다. 샘플링 폭 K와 상호작용 깊이 T에 걸쳐 Pass@(K,T)로 평가하면서, 우리는 궤적 수준 RL의 이점이 충분한 턴 예산에 의존하며 예산이 타이트해지면 크게 감소함을 보인다. 게다가 에이전트 RL은 단일 단계 의사결정 품질을 일률적으로 높이지 않으며, 오히려 그 강점은 오류 복구와 장기 지평 복원력에 집중된다. 이러한 예산 의존성으로 인한 배포 위험을 완화하기 위해, 우리는 프로세스 감독 신호의 이점과 한계에 대한 예비 논의를 제공하고, 훈련 중 상호작용 예산을 변화시키는 대안으로 BudgetMix RL을 소개한다. 실험은 BudgetMix RL이 다양한 실행 환경에서 강건한 성능을 달성함을 보여준다.

One-sentence Summary

Researchers from the Institute of Automation, Chinese Academy of Sciences, the University of Chinese Academy of Sciences, and Tsinghua University use Pass⁡@(K,T)\operatorname{Pass}@(K,T)Pass@(K,T) to show that multi-turn agentic RL gains depend on sufficient interaction budgets and mainly strengthen error recovery and long-horizon resilience rather than single-step decision quality, and they introduce BudgetMix RL, which varies interaction budgets during training to achieve robust performance across diverse execution settings.

Key Contributions

  • The paper uses Pass@(K,T) evaluation across sampling breadth K and interaction depth T to show that trajectory-level multi-turn RL gains depend on sufficient turn budgets and diminish significantly when budgets tighten.
  • The analysis identifies that these gains arise mainly from long-horizon execution and error recovery rather than consistently stronger single-step decisions, and finds that step-level action quality can decline under multi-turn RL.
  • The paper proposes BudgetMix RL, a training strategy that varies interaction budgets during training, and experiments show it improves robustness across execution settings while mitigating declines in step-level action quality.

Introduction

Multi-turn agentic reinforcement learning has become an important approach for improving long-horizon LLM agents in tasks such as coding and tool use, but it remains unclear exactly which capabilities are improved and whether the resulting agents stay reliable under realistic deployment budgets. Prior evaluation primarily focuses on trajectory-level task success or single-turn Pass@K sampling breadth, missing the interaction-depth dimension and step-level action quality that are central to agentic settings. The authors introduce a two-dimensional Pass@(K,T) evaluation and step-level analyses, showing that agentic RL gains depend on sufficient interaction budgets and mainly come from stronger long-horizon execution and error recovery rather than consistently better single-step actions. They further identify this budget dependence as a hidden deployment risk and propose BudgetMix RL to improve performance across budgets while mitigating declines in step-level action quality.

Method

Multi-Turn Agentic Reinforcement Learning

The authors formulate agent learning as a multi-turn interaction between a policy and an environment. For a task x∼Dx \sim Dx∼D, the agent maintains an interaction history

ht=(x,o1,a1,…,ot−1,at−1,ot).h_t = (x, o_1, a_1, \dots, o_{t-1}, a_{t-1}, o_t).ht​=(x,o1​,a1​,…,ot−1​,at−1​,ot​).

At each turn ttt, the agent samples an action from its policy,

at∼π(⋅∣ht),a_t \sim \pi(\cdot \mid h_t),at​∼π(⋅∣ht​),

and the environment returns the next observation according to

ot+1∼P(⋅∣ht,at).o_{t+1} \sim P(\cdot \mid h_t, a_t).ot+1​∼P(⋅∣ht​,at​).

Actions can represent tool calls, terminal operations, or code execution. Given an interaction budget of at most TTT turns, an episode produces a trajectory

τ≤T=(x,o1,a1,…,oT,aT),\tau_{\leq T} = (x, o_1, a_1, \dots, o_T, a_T),τ≤T​=(x,o1​,a1​,…,oT​,aT​),

which is scored by a terminal verifier through a reward R(τ≤T)R(\tau_{\leq T})R(τ≤T​). This formulation supports both outcome-only reinforcement learning, such as GRPO, and process-level credit assignment methods, such as GiGPO.

Pass@(K, T): Sampling Breadth and Interaction Depth

To evaluate agent performance across both sampling breadth and interaction depth, the authors introduce the metric Pass⁡@(K,T)\operatorname{Pass}@(K, T)Pass@(K,T). Conventional agent evaluations typically report trajectory success. In contrast, single-turn reinforcement learning often uses Pass⁡@K\operatorname{Pass}@KPass@K, which measures the probability that at least one of KKK independent samples succeeds. This corresponds to sampling breadth.

Interactive agents introduce an orthogonal axis: the maximum interaction budget TTT available per trajectory, which controls interaction depth. The metric Pass⁡@(K,T)\operatorname{Pass}@(K, T)Pass@(K,T) captures both dimensions simultaneously:

Pass⁡@(K,T)=Pr⁡τ(1),…,τ(K)∼π(⋅∣x)[∃i∈{1,…,K}:R(τ≤T(i))=1].\operatorname{Pass}@(K, T) = \Pr_{\tau^{(1)}, \dots, \tau^{(K)} \sim \pi(\cdot \mid x)} \left[ \exists i \in \{1, \dots, K\}: R(\tau_{\leq T}^{(i)}) = 1 \right].Pass@(K,T)=τ(1),…,τ(K)∼π(⋅∣x)Pr​[∃i∈{1,…,K}:R(τ≤T(i)​)=1].

Under this definition, KKK controls breadth while TTT controls depth. Fixing the total sampling budget to a constant CCC and sweeping over TTT yields the trajectory-level metric Pass⁡@T=Pass⁡@(K=C,T)\operatorname{Pass}@T = \operatorname{Pass}@(K=C, T)Pass@T=Pass@(K=C,T), which isolates the interaction-depth axis.

BudgetMix RL: Optimizing Across Interaction Budgets

The main training method proposed by the authors is BudgetMix RL. It is designed to preserve long-horizon execution capabilities and trajectory-level gains while encouraging more careful single-step decisions and reducing reliance on extra interaction budget for downstream error recovery.

BudgetMix RL keeps the same reward mechanism as traditional multi-turn agentic reinforcement learning but varies the interaction budget across training trajectories. It can be combined with existing agentic RL algorithms, including GRPO, PPO, and GiGPO.

Standard multi-turn agentic RL samples trajectories under a fixed maximum budget Tmax⁡T_{\max}Tmax​ and optimizes either outcome rewards or per-step rewards. However, this objective does not explicitly distinguish solutions that require different amounts of interaction as long as they finish within the allowed budget. BudgetMix makes a single modification to this procedure. For a task instance xxx with full budget Tmax⁡(x)T_{\max}(x)Tmax​(x), the authors construct candidate budgets at 10% intervals and uniformly sample one budget per task group:

T(x)=Unique({⌈k10Tmax⁡(x)⌉:k=1,…,10}),\mathcal{T}(x) = \text{Unique} \left( \left\{ \left\lceil \frac{k}{10} T_{\max}(x) \right\rceil : k = 1, \dots, 10 \right\} \right),T(x)=Unique({⌈10k​Tmax​(x)⌉:k=1,…,10}), T(x)∼Uniform⁡(T(x)).T(x) \sim \operatorname{Uniform}\left(\mathcal{T}(x)\right).T(x)∼Uniform(T(x)).

During training, the total budget and the remaining budget are provided within the prompt. Any trajectory that exceeds its assigned budget without completing the task receives a reward of zero. The reward signal design remains consistent with traditional multi-turn RL.

The central idea of BudgetMix is to turn the interaction budget TTT from an evaluation dimension in Pass⁡@(K,T)\operatorname{Pass}@(K, T)Pass@(K,T) into a training dimension. The interaction budget changes the conditions under which the same reward can be obtained. A tighter budget limits opportunities for retries and therefore places greater demands on earlier decisions, while an ample budget preserves opportunities for long-range execution. By sampling different budgets during training, the policy is exposed to both regimes and is encouraged to produce trajectories that remain effective under varying interaction constraints.

Experiment

The authors evaluate multi-turn agentic reinforcement learning with a two-dimensional Pass@(K,T) measure across sampling breadth and interaction depth, using GRPO on DeepCoder-MT, BFCL, InterCode-SQL, and FrozenLake. They find that agentic RL can push trajectory-level success beyond the base model's capability boundary, but gains depend on sufficient interaction budgets and are not driven by uniformly better single-step actions; instead, RL improves error recovery and later-stage execution while individual action quality can decline. Likelihood and training analyses attribute this to accumulating trajectory-level policy shifts rather than stronger local decisions, and process supervision or budget mixing can partly stabilize these tradeoffs.

BudgetMix improves Pass@8 over the base model and standard full-budget RL under constrained interaction budgets across FrozenLake, DeepCoder-MT, BFCL-v3, and InterCode-SQL. The average advantage over full-budget RL is largest at the tightest budget and narrows as the budget increases, while full-budget performance remains comparable. This suggests BudgetMix strengthens performance stability across budgets without compromising long-horizon execution. Under 25%, 50%, and 75% of maximum interaction budget, BudgetMix outperforms both the base model and full-budget RL on all four tasks, with the strongest average gains at the tightest budget. At 100% interaction budget, BudgetMix maintains parity with full-budget RL, preserving long-horizon task performance.

BudgetMix is evaluated on FrozenLake, DeepCoder-MT, BFCL-v3, and InterCode-SQL under constrained interaction budgets, measuring Pass@8 relative to a base model and standard full-budget reinforcement learning. It improves performance over both baselines at 25%, 50%, and 75% of the maximum interaction budget, with the largest average gains at the tightest budget and a narrowing advantage as the budget increases. At 100% budget, BudgetMix remains comparable to full-budget RL, indicating that it stabilizes performance under limited budgets without sacrificing long-horizon task execution.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp