Contextual Information Policy Optimization for Search Agents

Xingyu Guo, Wei Chen, Linlin Yang, Baochang ZhangarXiv 2026

TL;DR

Large language model (LLM) search agents often suffer from confirmation bias, using retrieval tools to validate pre-existing internal guesses rather than letting new information guide their reasoning. To fix this, the authors introduce Contextual Information Policy Optimization (CIPO), a reinforcement learning framework that uses a clever attention-masking technique to measure how much an agent actually relies on retrieved evidence. CIPO significantly improves question-answering accuracy and reduces blind guessing across multiple benchmarks without requiring human annotations or an external reward model.

What Problem Does This Paper Address?

When LLMs are equipped with external search tools, they transform into active search agents capable of tackling knowledge-intensive tasks. However, training these agents effectively is notoriously difficult. Traditional reinforcement learning (RL) approaches typically reward the agent based on the correctness of the final answer.

The catch? This creates a severe reward misalignment. If an agent already has a strong internal bias or a hallucinated guess, it might formulate a search query simply to confirm its hypothesis. It then ignores the actual nuances of the retrieved text and outputs its original guess anyway. If the guess happens to be correct, standard RL rewards the agent, reinforcing this bad habit. The authors term this prior-driven reasoning, as opposed to the desired evidence-driven reasoning, where retrieved facts actively guide or revise subsequent actions.

Figure 1: Illustrative case for the same question. Prior-driven reasoning uses retrieval mainly to confirm a parametric guess, whereas evidence-driven reasoning lets retrieved evi- dence change the next action.

Methods

CIPO introduces a dense, turn-level reward signal called the Evidence-Access Log-Likelihood Ratio (EALR) to quantify exactly how sensitive an agent's next action is to the retrieved information.

The core mechanism works through a counterfactual attention-masking trick:

  1. Evidence-Visible Condition: The model calculates the log-likelihood of its next reasoning/search step ($\ell_{vis}$) with normal access to the retrieved evidence block.
  2. Evidence-Masked Condition: The model calculates the log-likelihood of the exact same action ($\ell_{mask}$), but an additive attention mask is applied to prevent the tokens from attending to the retrieved evidence block. Crucially, tokens are not deleted, preserving context length and position indices.

The EALR reward is the difference between these two values: $$s^{ealr} = \frac{1}{m} [\ell_{vis} - \ell_{mask}]$$

If the likelihood drops significantly when the evidence is masked, it proves the agent's next step was highly dependent on that evidence. If it remains unchanged, the action was purely prior-driven. CIPO normalizes these turn-level EALR rewards alongside global final-answer outcome rewards to optimize the policy using a clipped advantage objective.

Figure 2: The overall architecture of CIPO. It evaluates each post-retrieval reasoning step under evidence-visible and evidence- masked conditions, computes an EALR-based reward, and integrates it with outcome supervision for policy optimization.

Datasets

The authors evaluated CIPO across seven question-answering benchmarks to test both in-domain performance and out-of-domain generalization:

  • In-Domain (ID): Natural Questions (NQ), TriviaQA (TQ), HotpotQA, and 2WikiMultihopQA.
  • Out-of-Domain (OOD / Held-Out): MuSiQue, Bamboogle, and PopQA.

All RL methods compared in the paper were evaluated using the same training data, retrieval environment, and maximum interaction turns to ensure a fair comparison.

Key Insights and Ideas

  • Isolating Evidence Impact via Attention Masking: Instead of altering the text prompt (which changes position embeddings and shifts token distributions), CIPO isolates the exact impact of the evidence purely through the model's internal attention mechanism.
  • Dense Feedback with Zero Human Overhead: Unlike process-supervised methods that require expensive human step annotations or complex token-level reward models, EALR is computed entirely via teacher-forced scoring through the frozen rollout policy.
  • The Synergy of Local and Global Rewards: An ablation study revealed that using EALR alone makes the model highly responsive to all retrieved text, including irrelevant information. Combining EALR with final outcome rewards forces the model to be selective, only relying on evidence that actually helps solve the task.

Key Results

CIPO consistently outperformed standard Chain-of-Thought (CoT), RAG baselines, and state-of-the-art RL search methods (such as GiGPO and IGPO) across multiple model scales:

  • Performance Boost: Using the Qwen2.5-7B-Instruct backbone, CIPO achieved a macro-average F1 score of 0.504 across all seven datasets, outperforming the strongest baseline (IGPO) by 4.7 F1 points. A similar 4.7-point margin was maintained using a smaller 3B model.
  • Reduction in Confirmation Bias: Evaluation via an LLM judge showed that CIPO steadily decreased the rate of prior-driven reasoning during training (dropping to 44.0% on validation samples compared to IGPO's 73.2%).
  • High Efficiency: CIPO adds minimal training overhead—only a 4.63% increase in per-step wall-clock time for the 7B model compared to standard GRPO—because the masked scoring pass is highly parallelizable. At inference time, there is zero added overhead.

Limitations and Future Work

While highly effective, the authors note a few limitations and areas for future exploration:

  • Task Complexity: CIPO was primarily validated on question-answering tasks. Future work will expand the framework to handle longer-horizon tasks requiring multiple distinct tools.
  • Tool Diversity: The current setup focuses on a single local retrieval service; testing with diverse search tools and rapidly changing information environments remains open.
  • Computational Cost: Although efficient, the extra evidence-masked scoring pass still incurs a minor cost during training, prompting future research into even cheaper counterfactual estimation methods.

Summary updated

BibTeX
@misc{guo2026contextual,
  author = {Xingyu Guo and Wei Chen and Linlin Yang and Baochang Zhang},
  title = {{Contextual Information Policy Optimization for Search Agents}},
  year = {2026},
  eprint = {2608.06128},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.06128},
}
Figure