PiCA: Pivot-Based Credit Assignment For Search Agentic Reinforcement Learning

Dongyi Liu, Yifan Niu, Qinwen Wang, Han Xiao, Jia LiNeurIPS 2026

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:

  1. 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.
  2. 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.
  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.

Figure 1: Overview of PiCA. Stage 1 is training a PiCA model on annotated pivot steps (Section 4.1). Stage 2 is policy optimization with PiCA (Section 4.2). The model generates trajectories with a frozen PiCA model assigning dense rewards based on relative success gain g(t) derived from the success probability f(t). The total reward integrates these step-wise gains, efficiency penalties, and final task outcomes, while retrieved content is masked during training.

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.
Figure 2: PiCA Step Reward
  • 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.
Ablation curves showing that combining F1, step penalties, and PiCA prevents the response-length collapse seen when using penalties alone.
  • 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

Abstract

Large language model (LLM)-based search agents trained with reinforcement learning (RL) have significantly improved the performance of knowledge-intensive tasks. However, existing methods encounter critical challenges in long-horizon credit assignment: (i) Reward Sparsity, where models receive only outcome feedback without step-level guidance to differentiate action quality; (ii) Isolated Credit, where credit is assigned to steps independently, failing to capture sequential dependencies; and (iii) Distributional Shift, where rewards are estimated on templates that deviate from the model’s natural generative distribution. To address these issues, we propose Pivot-Based Credit Assignment (PiCA), a novel step reward mechanism that reformulates the search trajectory as a sequential process of cumulative information gain. Unlike prior methods that reward steps in isolation, PiCA defines process rewards as success probabilities dependent on the historical context. This approach identifies pivot steps (critical milestones in the search) as information peaks that significantly boost the likelihood of a correct final answer. By anchoring these step rewards to the final task objective, PiCA provides dense, pivot-aware and trajectory-dependent guidance while maintaining distributional consistency. Theoretically grounded in Potential-Based Reward Shaping (PBRS), PiCA consistently outperforms existing strong baselines across seven knowledge-intensive QA benchmarks, achieving 15.2% and 4.4% improvements for 3B and 7B models.
BibTeX
@inproceedings{liu2026pica,
  author = {Dongyi Liu and Yifan Niu and Qinwen Wang and Han Xiao and Jia Li},
  title = {{PiCA: Pivot-Based Credit Assignment For Search Agentic Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=4CNCefRkpK},
}
Figure