Back to Feed
Agents / Reinforcement Learning

Improving AI Agent Tool Use Accuracy

Original: TRACE: Turn-level Reward Assignment via Credit Estimation for Long-Horizon Agents

Listen to the summary

Uses a voice available on your device

Audio options
On this page 4 sections
Related concepts 8 concepts

Key Takeaways

  • TRACE improves agent performance by rewarding individual tool calls rather than just final outcomes.
  • The method significantly boosted BrowseComp-Plus performance for Qwen3-4B from 7.2 to 35.6.
  • The 30B-A3B agent achieved a performance score of 52.0 on the GAIA benchmark.
  • The approach uses TD (Temporal-Difference) backups to propagate credit across multiple steps in a sequence.

Summary & Methodology Analysis

Traditional reinforcement learning for agents often relies on outcome-only training, which is problematic because a sparse, high-variance final reward cannot distinguish which intermediate tool interactions were actually helpful. The TRACE method addresses this by decomposing full task rollouts into individual state transitions at every tool-call boundary. Each prefix state is evaluated by a frozen reference model that calculates average gold-answer log-probabilities, converting these into log-ratio values that represent how much the current state closes the gap toward the correct answer. This allows the system to assign specific values to intermediate steps rather than just the final trajectory.

Technically, the architecture uses a K-step TD backup to propagate credit from future tool turns back to earlier ones. This temporal-difference learning (a technique for predicting values based on future state estimates) ensures that if a tool call significantly improves the likelihood of a final correct answer, it receives appropriate weight. These turn-level rewards are then combined with standard trajectory-level advantages during GRPO (Group Relative Policy Optimization, a process for fine-tuning policy models using group-based comparative advantages) to train the agent. This approach enables the model to learn precisely which sequences of tool use are most likely to yield success.

The methodology is primarily validated on tasks with compact, verifiable answers. The paper notes significant performance gains, such as the Qwen3-30B-A3B model moving from 8.4 to 42.6 on BrowseComp-Plus. However, there are limitations. The approach may be less effective for open-ended or long-output tasks. Additionally, the reliance on a frozen reference model means that if the user has specific preferences that are not clearly captured by the gold-answer log-probability, the reward signal might not be a reliable proxy for satisfying those user needs.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the primary problem this paper solves?

It solves the issue of sparse, high-variance outcome rewards in long-horizon agent tasks, which previously made it impossible to identify which specific tool calls were correct.

Q2. What is the main innovation in TRACE?

The core innovation is decomposing agent rollouts into turn-level rewards that represent the fractional closure of the answer-likelihood gap at each tool call.

Q3. Does this improve performance on existing benchmarks?

Yes, it showed significant improvements on benchmarks like BrowseComp-Plus, moving the Qwen3-4B model from 7.2 to 35.6 and the 30B-A3B model from 8.4 to 42.6.

Q4. What is GRPO in the context of this paper?

GRPO stands for Group Relative Policy Optimization, which is the optimization method used to update the policy model during training.

Q5. How does the agent calculate credit for earlier steps?

The agent uses a K-step TD backup to propagate delayed credit from subsequent tool turns back to earlier ones in the trajectory.

Q6. What models and datasets were utilized?

The research used Qwen3 models including 4B and 30B-A3B variants and tested on datasets including BrowseComp-Plus, BrowseComp, GAIA, xbench-DeepSearch, and OpenResearcher.

Q7. What are the limitations regarding the reward signal?

The paper notes that the gold-answer log-probability may not be a reliable proxy for tasks where the goal is to satisfy underspecified user preferences.

Q8. Is this method suitable for all types of agent tasks?

The method is validated for agents with compact, verifiable answers and may be less effective for open-ended or long-output tasks.

Q9. What were the exact scores achieved on the GAIA benchmark?

The 30B-A3B agent reached a score of 52.0 on the GAIA benchmark.