Command Palette
Search for a command to run...
TRACE: 장기 에이전트를 위한 크레딧 추정 기반 턴 단위 보상 할당
TRACE: 장기 에이전트를 위한 크레딧 추정 기반 턴 단위 보상 할당
Leitian Tao Baolin Peng Wenlin Yao Tao Ge Hao Cheng Mike Hang Wang Jianfeng Gao Sharon Li
초록
멀티턴 에이전트는 최종 답변을 생성하기 전에 확장된 도구 상호작용 시퀀스를 통해 복잡한 작업을 해결하므로, 사후 훈련 중 크레딧 할당이 근본적인 도전 과제가 된다. 결과 보상은 단기 추론에는 신뢰할 수 있는 감독을 제공하지만, 궤적이 수십 또는 수백 번의 도구 호출로 길어지면 희소하고 분산이 커진다. 또한 오해의 소지가 있을 수 있다. 실패한 롤아웃에는 에이전트를 목표에 더 가깝게 이동시키는 유용한 행동이 많이 포함될 수 있지만, 결과만을 사용한 훈련은 최종 실수와 동일한 부정적 이점을 할당한다. 우리는 에이전트 강화 학습을 위한 밀집 크레딧 할당 방법인 TRACE(Turn-level Reward Assignment via Credit Estimation)를 제안한다. TRACE는 롤아웃을 도구 호출 경계에서의 상태 전이로 표현하고, 동결된 참조 모델에서 정답 로그 확률을 얻어 이를 로그 비율 상태 값으로 변환하며, 이러한 값의 시간차 변화로 행동별 보상을 도출한다. 이 방법은 추가적인 크리틱이나 프로세스 레이블 훈련이 필요하지 않으며, 1단계 로그 비율 TD 구성 요소가 중복된 도구 호출을 건너뛰어 집약된다. 장기 복합 검색에서 TRACE는 콜드 스타트 지도 미세 조정 단계, 에이전트 중간 훈련 단계, 또는 실시간 웹 데이터 훈련 없이 순수 RL을 사용하여 기본 모델의 도구 사용 능력을 크게 향상시킨다. 폐쇄형 웹 BrowseComp-Plus 벤치마크에서 Qwen3-4B를 7.2에서 35.6으로, Qwen3-30B-A3B를 8.4에서 42.6으로 끌어올린다. 학습된 검색 행동은 개방형 웹 벤치마크로도 전이되며, 학습 곡선은 RL 훈련 중 더 빠른 개선과 수렴을 보여준다.
One-sentence Summary
Researchers from the University of Wisconsin–Madison and Microsoft Research propose TRACE (Turn-level Reward Assignment via Credit Estimation), a dense credit-assignment method for long-horizon agentic reinforcement learning that computes per-action rewards as Temporal-Difference changes in log-ratio state values from a frozen reference model, thereby eliminating the need for a critic or process labels, and raises Qwen3-4B from 7.2 to 35.6 on the BrowseComp-Plus benchmark while enabling faster convergence.
Key Contributions
- TRACE is a critic-free credit-assignment method that converts gold-answer log-probabilities from a frozen reference model into log-ratio state values and computes per-action rewards as temporal-difference changes at tool-call boundaries, avoiding any critic, process labels, or Monte Carlo continuations.
- Applied with pure RL and no cold-start SFT, TRACE improves long-horizon search agents: on BrowseComp-Plus, Qwen3-4B rises from 7.2 to 35.6 and Qwen3-30B-A3B from 8.4 to 42.6, with learning curves showing earlier improvement and faster convergence than outcome-only GRPO.
- The learned search behavior transfers to open-web benchmarks, and the turn-level credit complements outcome-based training to reduce reward sparsity on compact-answer tasks without step-label annotation or a trained critic.
Introduction
Large language model agents now tackle complex, multi-step tasks like web navigation and code generation by interleaving reasoning with tool calls. Reinforcement learning with verifiable rewards has proven effective for short-horizon reasoning, but in agentic trajectories a single terminal outcome signal cannot distinguish which intermediate actions were useful, redundant, or harmful. Prior work on process supervision can provide denser feedback but typically relies on step-level labels, a strong LLM judge, or a trained process reward model whose scores may drift from final-answer correctness. The authors introduce TRACE, a critic-free credit assignment framework that uses a frozen reference model to measure how much each tool interaction makes the gold answer more predictable, then assigns turn-level rewards via temporal-difference changes while preserving the outcome-based verifiable reward as the final training anchor.
Method
In agentic reinforcement learning, a policy LLM solves prompts by interleaving assistant tokens, tool calls, and tool observations. A major challenge in this setting is credit assignment, as the terminal reward supervises a long sequence of heterogeneous policy decisions without identifying which specific turns contributed to the final answer. To address this, the authors introduce TRACE, a critic-free credit-assignment method for long-horizon agent post-training. Instead of learning a critic over sparse terminal rewards, TRACE measures whether each tool interaction makes the gold answer more predictable under a frozen reference model.
Refer to the framework diagram below:
TRACE splits rollouts at tool-call boundaries to construct credit targets for each transition. For a sampled trajectory with a gold answer, the method evaluates the prefix state Sk using a frozen reference model πref. The average gold-answer log-probability for state Sk is computed as: ℓˉk=∣y⋆∣1∑t=1∣y⋆∣logπref(yt⋆∣Sk,y<t⋆)≤0. A larger (less negative) ℓˉk indicates that the current transcript contains more evidence for generating the gold answer. To make this score suitable for credit assignment, the authors model the state value as the relative closure of the initial answer-likelihood gap. Defining dk=−ℓˉk+ϵ with an offset ϵ>0, the state value is set to: V(Sk)=logdkd0=log−ℓˉk+ϵ−ℓˉ0+ϵ. This ensures V(S0)=0, and a larger V(Sk) means the action-observation history has closed a larger fraction of the initial gap.
With no intermediate environment reward and a discount of 1, the credit assigned to a transition is the one-step temporal-difference change in value: δk=V(Sk+1)−V(Sk)=logdk+1dk. This credit is positive when the action and observation make the gold answer more likely, and negative when the transition moves away from the answer. To capture delayed tool effects, the authors use a truncated K-step TD backup. The local progress credit assigned to the current turn is: cg,k(K)=Zg,k1∑u=khg,kγtdu−kδg,u, where γtd discounts delayed evidence. When the backup window reaches the end of the trajectory, the last turns are anchored to the verifiable outcome signal: rg,kturn=cg,k(K)+1[hg,k=Tg−1]λtermγtdTg−kAgout. Here, Agout is the standard Group Relative Policy Optimization group-relative advantage.
Finally, the TD-derived turn credit is jointly optimized with the GRPO outcome reward. The mixed per-token advantage for tool-interaction tokens is: A^g,t=αoutAgout+αturnrg,turn(t)turn, where αout and αturn control the relative strength of terminal correctness and turn-level credit. The authors optimize a clipped GRPO objective that incorporates this mixed advantage, keeping the standard group-relative outcome signal while adding dense turn-level credit without normalizing the turn values across the prompt group.
Experiment
These experiments evaluate TRACE, a dense turn-level credit assignment method, on synthetic multi-document search tasks using Qwen3-based agents. Main results show that TRACE substantially improves long-horizon tool use over outcome-only RL baselines, both on the closed training corpus and on open-web benchmarks, indicating transferable search strategies. Learning dynamics reveal that TRACE converges faster and yields better policies, while ablations confirm that the log-ratio credit formulation and moderate tuning of the turn-level reward and look-ahead horizon are critical for its effectiveness.
TRACE greatly improves base-model tool use on long-horizon deep-research benchmarks, without any cold-start SFT, agentic mid-training, or live-web data. Adding turn-level temporal-difference credit to an outcome reward raises the closed-web BrowseComp-Plus score from 7.2 to 35.6 for Qwen3-4B and from 8.4 to 42.6 for Qwen3-30B-A3B, and lifts the four-benchmark average from 29.5 to 34.0 (4B) and from 32.5 to 38.1 (30B-A3B) compared to outcome-only GRPO. The gains stem from better credit assignment rather than changes in model, data, or environment, and the method works with the base checkpoint as a stable reference model. TRACE boosts the closed-web deep-research accuracy of Qwen3-4B from 7.2 to 35.6 and Qwen3-30B-A3B from 8.4 to 42.6 using only outcome and turn-level rewards, with no SFT or live-web data. Against GRPO's outcome-only baseline, TRACE increases the four-benchmark average from 29.5 to 34.0 for the 4B model and from 32.5 to 38.1 for the 30B-A3B model, showing that denser turn-level credit is critical for long-horizon tasks. A log-ratio temporal-difference credit outperforms absolute likelihood-based dense rewards, and the approach does not require a specially tuned reference model; the base checkpoint is sufficient.
In this credit-assignment ablation, outcome-only GRPO scores 30.0, and adding dense transition rewards based on the raw log-probability delta raises the score to 32.4. Normalizing by the remaining answer-likelihood gap further improves the score to 34.6, while the proposed log-ratio TD credit achieves the best result of 35.5, indicating that relative gap closure provides a more effective credit signal than absolute likelihood changes. Raw delta rewards improve over outcome-only GRPO, but normalizing by the remaining gap yields a larger gain, and the log-ratio method reaches the highest accuracy. The log-ratio form better normalizes credit across states with different confidence levels and preserves a telescoping structure that discourages redundant trajectory extension.
TRACE is evaluated on long-horizon deep-research and tool-use benchmarks, including BrowseComp-Plus and a four-benchmark average, using base Qwen3 models. Adding turn-level temporal-difference credit to an outcome reward significantly raises closed-web accuracy over outcome-only GRPO, with the log-ratio TD credit form outperforming alternative dense rewards. The method requires no cold-start SFT, agentic mid-training, or live-web data, and the base checkpoint serves as a stable reference model, demonstrating that better credit assignment alone drives large gains in complex multi-step tasks.