Back to feed
News Story
量子位
1 sources

Tsinghua and Tencent Propose TRACE Framework to Optimize Rollout Budget in LLM Post-Training

Researchers from Tsinghua University and Tencent's Hunyuan team have proposed TRACE, a framework that treats agent trajectories as trees and actively allocates rollout budgets to nodes most likely to yield success/failure contrasts. This improves reinforcement learning post-training efficiency under the same budget. Experiments show TRACE consistently outperforms methods like GRPO on math reasoning, multi-hop QA, and function calling tasks, e.g., boosting accuracy on Qwen3-14B multi-hop QA from 51.2% to 54.0%.

SynthePulse Insight · AI deep reading

TRACE: Spend Your Agentic RLVR Rollout Budget Where It's “Disagreeable”

Version 1 · 1 source

Tsinghua University and Tencent Hunyuan propose TRACE, a framework that shifts rollout budget allocation in Agentic RLVR from uniform distribution to structured allocation—prioritizing sampling at root nodes and intermediate prefixes likely to yield success/failure contrasts, significantly boosting training signal density and final performance under the same budget.

  • TRACE is a rollout budget allocation framework for Agentic RLVR. Its core idea is to treat agent trajectories as trees and actively allocate budget to root nodes and intermediate prefix nodes most likely to produce success/failure contrasts.
  • On Qwen3-14B for Multi-Hop QA, TRACE raises average accuracy from 51.2 (GRPO) to 54.0; on Qwen3-8B for DeepScaler math tasks, the effective sample ratio jumps from 26.8% (GRPO) to 60.6%.
  • TRACE is not a new RL optimizer but an upstream rollout acquisition layer that can interface with different tree-aware policy optimizers.
  • Ablation studies show that combining root-node allocation and prefix allocation yields the best results; using either stage alone improves performance but less than the combination.
  • Budget shape matters: on HotpotQA, with the same total budget of 2048, the (1024,2) setting (wider root coverage) outperforms (512,6) (deeper branching).
  • TRACE is also effective on Llama-3.2-3B, raising average accuracy from 28.5 (GRPO) to 32.3, indicating transferability to other open-source models.
Open section navigationProblem: Wasted Rollout Budget in Agentic RLVR

Problem: Wasted Rollout Budget in Agentic RLVR

In Agentic RLVR, models require multiple rounds of thinking, tool calls, and environment feedback. Each complete interaction trajectory is a rollout. When tasks are long and tool calls are numerous, rollout budget becomes a training bottleneck. Worse, not all rollouts are equally useful: if a group of rollouts are all correct or all wrong, the model struggles to learn preference signals. Under outcome-only rewards, training signals are sparse and credit assignment is coarse.

Previous work mainly addressed this at the prompt level, e.g., filtering problems of moderate difficulty or allocating different numbers of rollouts. But in agent tasks, the prompt is just the root node of a tree; intermediate prefixes (historical states) also determine subsequent success or failure. TRACE's core insight is that rollout budget should not be allocated only at the prompt level but should extend to intermediate prefix nodes.

TRACE Method: Two-Stage Structured Budget Allocation

TRACE consists of two stages. Stage 1 (global root allocation): in a prompt batch, based on predicted success probability, skip or increase sampling so that the rollout group for the same prompt is more likely to contain both successes and failures. Stage 2 (local prefix expansion): fork from already sampled intermediate prefixes to create counterfactual contrasts—if the original branch succeeded, the extra branch expects at least one failure, and vice versa.

TRACE relies on a shared prefix value predictor to estimate the subsequent success probability of root nodes and prefix nodes. The predictor shows usable ranking correlation at both prompt-level and prefix-level, indicating that historical prefixes contain learnable local uncertainty signals.

TRACE is not a new RL optimizer but an upstream rollout acquisition layer. It decides sampling locations and fork points, after which it can interface with tree-aware policy optimizers such as GRPO, PCL, or TreePO.

Experimental Validation: Consistent Gains Across Three Task Types

The paper tests on three types of multi-round agentic tasks: mathematical reasoning (DeepScaler), multi-hop QA (HotpotQA), and function calling (BFCL), using Qwen3-8B and Qwen3-14B as policy models. All methods use the same rollout budget metric.

Main results: TRACE yields overall accuracy curves above GRPO, PCL, and TreePO under the same budget. For example, on Qwen3-14B, math reasoning average score rises from 73.5 (GRPO) to 74.9; multi-hop QA from 51.2 to 54.0; function calling from 46.1 to 48.0. TRACE does not rank first on every individual benchmark, but its average is more stable, indicating improved overall training efficiency.

The effective sample ratio (proportion of samples forming success/failure contrasts) improves significantly: on Qwen3-8B DeepScaler, GRPO achieves 26.8% while TRACE reaches 60.6%; on Qwen3-14B, it rises from 34.7% to 59.7%. This confirms that TRACE's core benefit comes from contrast construction.

Ablation and Sensitivity Analysis: Both Stages and Budget Shape Matter

Ablation experiments are conducted on Qwen3-8B Multi-Hop QA. Using only root allocation (Stage 1) raises the effective sample ratio from 42.8 to 49.1; using only prefix allocation (Stage 2) raises accuracy to 50.0 and effective sample ratio to 47.3; combining both yields the highest accuracy and effective sample ratio. This shows that budget allocation in Agentic RLVR is not a single-layer problem.

Budget shape experiments show that with the same total budget of 2048, the (1024,2) setting (wider root coverage) outperforms (512,6) (deeper branching). This indicates that rollout efficiency depends not only on total count but also on budget shape. For multi-hop QA, wider root coverage may be more valuable.

Limitations and Significance

TRACE is primarily designed for outcome-only RLVR. If tasks lack clear verifiable terminal rewards, the mixed-outcome contrast objective may need redesign. In the current implementation, the predictor scoring path incurs additional computational overhead, but the predictor update itself accounts for a small portion. The paper argues that when rollouts themselves are very expensive, spending some computation to judge where rollouts are more worthwhile is cost-effective.

TRACE's significance lies in shifting the sampling problem in Agentic RLVR from 'how many trajectories to sample' to 'where to fork.' As agent tasks become longer and more open-ended, flat multi-sampling becomes prohibitively expensive. TRACE offers a way to obtain effective training signals more frequently under a fixed budget.

Credibility boundary

This article is based on a report by QuantumBit on the research paper from Tsinghua University and Tencent Hunyuan. All experimental data, method descriptions, and conclusions are derived from that report. The report does not provide a link to the original paper or preprint, so some details (e.g., specific formula derivations, full benchmark tables) cannot be independently verified. The comparison methods (GRPO, PCL, TreePO) and experimental results (accuracy, effective sample ratio) are as claimed in the source, with high confidence but not from primary sources.

Insight takeaway

TRACE significantly improves training signal density and final performance in Agentic RLVR under the same budget by shifting rollout budget from uniform allocation to structured allocation—prioritizing sampling at root nodes and intermediate prefixes likely to yield success/failure contrasts. This approach has practical significance for post-training of long-horizon, multi-round agent tasks.

Primary report

量子位

Primary source