TL;DR
Teaching an AI agent to conduct multi-step web searches is hard when you only tell it whether its final answer was right or wrong—like grading a detective solely on the verdict without looking at how they gathered clues. This paper introduces PiCA (Pivot-Based Credit Assignment), a reinforcement learning framework that rewards search agents whenever they hit crucial "aha!" moments—called pivot steps—along their reasoning journey. By measuring how much each new search query increases the probability of ultimately solving the puzzle, PiCA turns sparse, noisy feedback into a clear, step-by-step compass.
What Problem Does This Paper Address?
When we ask Large Language Models (LLMs) to answer complex, multi-hop questions (e.g., "Where was the director of the 1997 film Titanic born?"), they act as search agents: they think, query a search engine, read the results, and repeat. Training these agents with Reinforcement Learning (RL) has shown great promise, but hits a major bottleneck: long-horizon credit assignment. When an agent takes ten steps and gets the right answer, which steps actually mattered, and which were just lucky guesses or redundant detours?
Existing RL methods fall into three traps:
- Sparse Rewards: Only rewarding the final answer. A model might stumble into the right answer via terrible, redundant search habits and get rewarded for those bad habits anyway.
- Isolated Credit: Grading each search step in a vacuum based on how "good" it looks locally, ignoring that multi-step reasoning is a chain where step 4 depends entirely on what happened in steps 1 through 3.
- Distributional Shift: Trying to estimate step quality by pasting ground-truth hints onto intermediate steps—creating unnatural text sequences the model would never generate on its own, which biases the rewards.
Methods
Instead of grading steps in isolation or punishing every minor detour (which models can often self-correct), the authors view a search trajectory as cumulative progress toward the truth.
Here is how the two-stage PiCA pipeline works:
- Tracking Success Probability ($f(t)$): In Stage 1, the authors fine-tune a 3B-parameter reward model to read the question and the search history up to turn $t$, outputting $f(t)$—the probability that the agent will eventually reach the correct final answer.
- Pivot Steps & Relative Gain ($g(t)$): Rather than just looking at raw probabilities, PiCA calculates the relative success gain: $g(t) = \frac{f(t) - f(t-1)}{f(t-1)}$. Using Potential-Based Reward Shaping (PBRS)—a classic RL technique that adds intermediate guidance without altering the optimal final goal—the step reward becomes $\log(1 + g(t))$. The reward model is trained with explicit supervision on annotated pivot steps (breakthrough sub-queries/sub-answers where $g(t)$ spikes) and implicit supervision from whether the trajectory ultimately succeeded.
- Policy Optimization (PPO): In Stage 2, the search agent is trained via standard Proximal Policy Optimization (PPO), masking out retrieved text so gradients only update the agent's own
<think>and<search>tokens. To prevent the agent from "reward hacking" by endlessly searching to rack up tiny positive scores, PiCA adds an exponential turn penalty starting at turn 3, alongside the final F1/format outcome reward.
Datasets
- Reward Model Training: Trained on an annotated MuSiQue dataset (~60,000 multi-step trajectories with step-level pivot annotations).
- Search Agent Training: Combined training splits of Natural Questions (NQ) and HotpotQA, searching over a 2018 Wikipedia corpus via an E5 retriever.
- QA Evaluation: Tested in-domain on NQ and HotpotQA, and out-of-domain on TriviaQA, PopQA, 2WikiMultiHopQA, MuSiQue, and Bamboogle.
- Real-World Web Evaluation: Tested with live web search on GAIA, Webwalker, and Humanity's Last Exam (HLE). No new benchmark datasets were introduced for public evaluation beyond their annotated training set.
Key Insights and Ideas
- Penalties speed up learning, but cause collapse without step rewards: Adding a per-step penalty forces the agent to stop rambling early in training. However, with only outcome rewards and penalties, the agent eventually learns to "length hack"—giving up immediately to avoid search costs, causing accuracy to crash after step 100. PiCA's positive pivot rewards counterbalance this, keeping reasoning chains stable and productive.
- Rewarding breakthroughs beats punishing mistakes: In multi-turn search, a suboptimal query isn't fatal because LLMs can self-correct on the next turn. Anchoring credit on positive information peaks (pivots) gives a much cleaner learning signal than trying to label intermediate missteps as failures.
- Deep research requires late-game pivoting: Analyzing where pivot steps occur, standard QA tasks peak in information gain around turn 3 and wrap up. Complex web tasks ("DeepSearch"), however, maintain high pivot ratios deep into the trajectory (peaking at turn 7 of 10), showing they require continuous strategic re-planning.
Key Results
- Strong QA Gains: Across seven QA benchmarks, PiCA improves Exact Match (EM) scores over strong RL baselines by an average of 15.2% on Qwen2.5-3B (reaching 0.396 avg EM) and 4.4% on Qwen2.5-7B (reaching 0.426 avg EM).
- Architecture Agnostic: Compared to standard outcome-only PPO, PiCA boosts EM across diverse model families, including Qwen3-4B (+6.6%), Qwen2.5-7B (+12.1%), and Llama3.1-8B (+34.0%).
- Live Web Generalization: On real-world web search benchmarks, PiCA achieves the highest overall average performance, taking the top spot on GAIA (20.44 Avg@3) and performing competitively on Webwalker (13.97) and HLE (6.46).
Limitations and Future Work
Not discussed in the paper. (Note: While the main text ends at the Conclusion without a dedicated limitations or future work section, one practical constraint visible in the methodology is that Stage 1 relies on constructing a dataset of ~60,000 trajectories with explicit step-level pivot annotations before RL policy training can begin.)
Summary updated