Can you train an AI to use tools well just by changing what it's rewarded for, or does it also need better credit-assignment within each attempt?
How does reward shaping compare to advantage attribution for tool-call training?
This explores two ways to steer a model learning to call tools with reinforcement learning: changing what gets rewarded (reward shaping), or changing which parts of an attempt get credit or blame for that reward (advantage attribution). The corpus covers the first well and the second only indirectly.
This explores two ways to steer a model learning to call tools with reinforcement learning: changing what gets rewarded (reward shaping), or changing which parts of an attempt get credit or blame for that reward (advantage attribution). One caveat up front: the collection has solid material on reward shaping for tool use. It has no paper that compares the two head to head for tool calls. Most of the attribution side comes from reasoning RL in general.
On the reward-shaping side, the clearest case is ToolRL. Splitting the reward into a simple "did you format the tool call correctly?" check and a separate "was the call actually right?" score beat supervised fine-tuning by about 15% and generalized to multi-hop questions it never trained on Can reward decomposition beat supervised learning for tool use?. The same work shows where shaping goes wrong. Rewarding longer reasoning made the model wordy without making it more accurate. Letting the size of each reward term change over training worked better, because it helped the model move from simple calls to complex ones Do longer reasoning traces always improve tool-use performance?. The lesson: shaping works when each term measures something you truly care about, and backfires when a term only stands in for quality. A related result in calibration makes the same point from another angle. A pure right/wrong reward quietly teaches confident guessing, and adding one extra scoring term fixes that Does binary reward training hurt model calibration?.
Advantage attribution asks a different question: given one score for a whole attempt, which steps deserve it? The most useful finding here comes from RL dynamics. Training goes through two phases. First the model learns to execute steps correctly. Then the bottleneck moves to planning, and focusing the learning signal on the planning tokens gives large gains Does RL training follow a predictable two-phase learning sequence?. For a tool-using agent, that suggests a point where better rewards stop helping much. Once the model formats calls reliably, the gain comes from crediting the decision about which tool to call and when. Another result shows that attribution can mean choosing which attempts to learn from at all. Training only on failed attempts, pushing down wrong paths, often matches full RL and keeps the model's range of behaviors wider Does negative reinforcement alone outperform full reinforcement learning?.
The most interesting idea is that the two approaches need not compete. In DRO, rubrics act as a pass/fail gate on groups of attempts, and fine-grained token-level rewards then do the optimizing inside the groups that pass. This prevents the reward hacking you get when rubric scores are turned directly into rewards Can rubrics and dense rewards work together without hacking?. Feedback research shows why a single number is limiting either way. Feedback from the environment, like a tool's error message, carries two kinds of information: how well the action went, and how it should change. A scalar reward keeps only the first Can scalar rewards capture all the information in agent feedback?. Critique-GRPO makes this concrete: models stuck at a plateau under numerical rewards improve once they get written critiques Can natural language feedback overcome numerical reward plateaus?.
What you might not have expected: for tool use, the error message the tool returns may be the richest training signal available. Tuning reward weights and refining credit assignment both squeeze information out of one number, while that message already says what went wrong. There is also a limit to both approaches. RL with verifiable rewards mostly brings out abilities the base model already had rather than teaching new ones What does reward learning actually do to model reasoning?. Better shaping or attribution helps a model use tool skills it has more reliably. It won't create tool skills that aren't there.
Sources 9 notes
ToolRL decomposes rewards into binary format checking and correctness evaluation, achieving 17% improvement over base models and 15% over SFT on tool-use benchmarks. GRPO training outperformed PPO with the same reward design and generalized to unseen multi-hop QA.
ToolRL's ablations show that directly rewarding longer reasoning traces hurts performance by encouraging verbosity over correctness, while letting reward magnitude change during training enables models to transition smoothly from simple to complex behaviors.
Binary correctness rewards incentivize high-confidence guessing because they don't penalize confident wrong answers. Adding the Brier score as a second reward term mathematically guarantees joint optimization of accuracy and calibration without trade-off.
Across eight models, RL training consistently shows a first phase where execution correctness drives learning, followed by a second phase where strategic planning becomes the bottleneck. Planning token entropy increases while execution entropy stabilizes, and concentration of optimization on planning tokens yields significant performance gains.
Training with only negative samples consistently improves Pass@k across the spectrum, often matching full PPO and GRPO. Negative reinforcement suppresses incorrect trajectories while preserving diversity, whereas positive-only reinforcement degrades higher-k performance by concentrating probability mass.
Show all 9 sources
DRO shows that using rubrics to accept or reject rollout groups—rather than converting rubric scores into dense rewards—prevents reward hacking. This separation preserves the categorical strength of rubrics while letting token-level rewards optimize within valid answers.
Natural feedback carries two orthogonal types of information: evaluative (how well an action performed) and directive (how it should change). Scalar rewards capture evaluation but discard directional specifics that token-level distillation can recover, making the two complementary rather than redundant.
Critique-GRPO shows that models stuck on performance plateaus can generate correct solutions when given chain-of-thought critiques, revealing that numerical rewards lack critical information about why failures occur and how to improve.
Research shows RLVR improves sampling efficiency within existing capability boundaries without expanding them. A single training example suffices for activation, and spurious rewards work nearly as well as correct ones for models with appropriate pretraining.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Reinforcement Learning with Rubric Anchors
- The Surprising Effectiveness of Negative Reinforcement in LLM Reasoning
- ToolRL: Reward is All Tool Learning Needs
- Understanding and Mitigating Premature Confidence for Better LLM Reasoning
- Sharpening Tax in Post-Training
- Reward Reasoning Model
- Efficient Reinforcement Learning via Large Language Model-based Search
- Information-Theoretic Reward Decomposition for Generalizable RLHF