TL;DR
Standard reinforcement learning (RL) often makes tool-using LLM agents overconfident in their mistakes by collapsing the uncertainty gap between correct and incorrect actions. To fix this, the authors introduce TRUST, a post-training framework that uses uncertainty quantification as a "repulsive force" in the reward function to keep wrong decisions highly uncertain while boosting tool-calling accuracy and calibration across multi-turn tasks.
What Problem Does This Paper Address?
Large Language Model (LLM) agents frequently stumble when deciding when and how to call external tools. They might invoke a tool when it's completely unnecessary, or hallucinate a direct response when they actually need to query an API. In multi-turn interactions, a single tool-calling failure can corrupt intermediate states and cause errors to cascade down the line.
While RL is typically used to fix these behaviors, the authors noticed a hidden side effect: standard decision-oriented RL objectives optimize for correctness but inadvertently destroy the model's calibration. As the model trains, it becomes highly confident in both its correct and incorrect actions. For example, after standard RL tuning on a Qwen model, the proportion of "Wrong Decision But Low Uncertainty" cases skyrocketed from 34.50% to 70.21%. This overconfidence starves the policy of healthy exploration signals and leads to catastrophic, uncorrectable mistakes.
Methods
The authors propose TRUST (Tool-calling decision Reward with Uncertainty-Separated post-Training) to maintain a healthy separation between certain right answers and uncertain wrong answers.
TRUST introduces two core components:
- UQ-Aligned Decision Reward ($R_{UQ}$): Instead of just rewarding a correct action, TRUST uses sequence perplexity (PPL) as a proxy for uncertainty. The reward function introduces a certainty margin that acts as a repulsive force. It penalizes the model if it assigns low uncertainty (low PPL) to an incorrect or counterfactual decision, effectively pushing wrong decisions into high-uncertainty zones.
- Trajectory Augmentation with Sparse Annotations: Training agents on multi-turn trajectories usually requires expensive, exhaustive relabeling. TRUST bypasses this by using a teacher LLM to sparsely annotate only the critical "key-turn" decision points in a trajectory with lightweight JSON labels (containing the ground-truth action, rationale, and target answer).
The final training pipeline uses Group Relative Policy Optimization (GRPO), combining standard trajectory-level checklist rewards (for overall task success) with the turn-level UQ-aligned rewards.
Datasets
The framework was evaluated using the following benchmarks:
- When2Call: A benchmark specifically designed to test turn-level decisions on whether an agent should answer directly, call a tool, ask the user for clarification, or abstain.
- ToolSandbox: An interactive, stateful conversational benchmark featuring complex scenarios like tool scrambling and insufficient information.
- BFCL-V4 (Berkeley Function Calling Leaderboard): A comprehensive benchmark evaluating function-calling reliability across single, multi-turn, parallel, and irrelevant tool settings.
- NVIDIA/NEMOTRON-POST-TRAINING-DATASET-V1: Used as the source for filtering and sampling the multi-turn training trajectories.
Key Insights and Ideas
- The Danger of Naive RL: Optimizing purely for action correctness without checking the underlying uncertainty structure makes models dangerously overconfident in their hallucinations.
- Uncertainty as a Repulsive Force: By actively rewarding the model for being uncertain about wrong choices, the policy is naturally driven to explore better alternative actions during RL training.
- Distribution Alignment: As shown in the paper's calibration curves, TRUST successfully restores the classic bimodal distribution where correct decisions have low PPL and incorrect decisions have high PPL, preventing the distribution collapse seen in standard GRPO.
Key Results
TRUST was tested using Qwen3-4B-Thinking and Qwen3-8B-Base as backbones, yielding substantial improvements:
- Turn-Level Accuracy: On the When2Call test set, TRUST achieved an absolute accuracy improvement of 11.47% over the vanilla base model and 8.37% over standard GRPO training, while achieving the lowest False Direct Answer Rate (5.07%).
- Multi-Turn Performance: On BFCL-V4, trajectory-level TRUST achieved an overall score of 44.48%, outperforming the standard trajectory RL baseline (CM2) by 6.33%. It showed massive gains in the Multi-Turn (+7.38%) and Agentic/Memory (+8.63%) subcategories.
- Robustness: On ToolSandbox, TRUST improved the overall score by 7.07% over the baseline, demonstrating strong resilience against tool distractions and multi-turn user perturbations.
- Zero Latency Overhead: Because the uncertainty logic is internalized into the model weights during post-training, TRUST introduces zero additional inference latency or computational overhead during deployment compared to prompting-based uncertainty methods (like SAGE or AUQ).
Limitations and Future Work
While effective, the authors note a few areas for improvement:
- Perplexity Dependence: TRUST currently relies on token-level sequence perplexity for uncertainty estimation. More advanced semantic-level or trajectory-level uncertainty modeling could yield even tighter calibration.
- Predefined Action Spaces: The experiments were restricted to text-based tool-use benchmarks with fixed action spaces. The authors suggest extending TRUST to more dynamic settings, such as open-world tool ecosystems or embodied robotic agents.
Summary updated