From Ranked Documents to Reliable Contexts: An Answer-Oriented Context Construct Framework for AI Search

Yunfei Zhong, Yinqiong Cai, Lixin Su, Haosheng Qian, Lixin Zou, Yixing Fan, Sheng Xu, Jiafeng Guo, Daiting Shi, Jingzhou HearXiv 2026 · arXiv

The way we search is undergoing a fundamental shift. In traditional web search, we are the "consumers": we scan a list of blue links, click a few, and synthesize an answer ourselves. In the era of AI Search (or Retrieval-Augmented Generation, RAG), the "consumer" has changed. Now, a Large Language Model (LLM) consumes the search results first, acting as an intermediary that synthesizes a final answer for us.

This shift from a human-facing to a model-facing paradigm means that the old metrics for search success—like simple relevance or page quality—are no longer enough. A new paper from researchers at Baidu and the Chinese Academy of Sciences proposes a comprehensive framework to bridge this gap, moving from ranking documents to constructing reliable contexts.

TL;DR

The authors propose a three-stage framework—Answer Support, Content Trustworthiness, and Context Organization—designed to transform raw search results into a high-quality, reliable context for LLMs. By shifting the retrieval objective from "human satisfaction" to "model usability," they demonstrate significant improvements in both retrieval accuracy and final answer quality in a large-scale industrial setting.

What Problem Does This Paper Address?

Traditional search engines optimize for Search Satisfaction, typically measured by Relevance, Authority, Freshness, and Quality. However, these metrics don't always align with what an LLM needs to generate a correct answer.

  1. Relevance $\neq$ Answer Support: A document might be highly relevant to a query's topic but contain zero information that actually helps answer the question. Conversely, a less "relevant" document might provide a crucial premise for a complex deduction.
  2. The Trust Gap: In traditional search, users can see the source and judge its credibility. In AI search, users often only see the generated answer. If the LLM consumes "hallucinated" or outdated info from a search result, the user is less likely to catch the error.
  3. Context Bloat: Simply concatenating the top 10 search results into an LLM's prompt leads to redundancy, noise, and "lost in the middle" effects where the model misses key info buried in a long context.
Comparison of human-facing Web Search and model-facing AI Search.

Methods

The authors introduce a three-stage pipeline to refine candidate documents into a "Reliable Context":

  1. Answer Support (Document-Level): Instead of just matching keywords, the system evaluates if a document is "answer-bearing." They upgraded their ranker to a reasoning-oriented LLM backbone. To keep latency low, they use bottleneck tokens—compressing long documents into a small set of learnable representations that can be cached and queried efficiently.
  2. Content Trustworthiness (Document-Level): This stage goes beyond static authority. It evaluates:
  3. Source Appropriateness: Is this specific author an expert in this specific domain?
  4. Temporal Validity: Does the information still apply today? (e.g., distinguishing a 2021 policy from a 2024 update).
  5. Factual Verifiability: Can the claims be corroborated by other traceable evidence?
  6. Context Organization (Set-Level): This stage treats the retrieved documents as a set. It removes internal noise, deduplicates information across documents, and structures the final context to follow the "answer logic" required by the query.
The proposed three-stage framework for transforming candidate documents into context for answer generation.

The framework is operationalized through Prior Optimization (improving the pipeline before generation) and Posterior Optimization (using a simulator to attribute answer-level failures back to specific retrieval decisions).

Datasets

The framework was evaluated using large-scale, real-world traffic from an industrial AI Search engine. While the specific proprietary datasets aren't named, the authors established a systematic evaluation protocol:

  • Automatic Retrieval Evaluation: Using an LLM-as-a-judge to label query-document pairs based on the new three-stage criteria.
  • Automatic Answer Evaluation: Assessing generated answers across five dimensions: Premise Handling, Requirement Fulfillment, Factual Correctness, Logical Consistency, and Completeness.
  • Human Evaluation: Pairwise "Good-Same-Bad" (GSB) judgments by human annotators to calculate Net Gain.

Key Insights and Ideas

  • Non-Compensatory Trustworthiness: The authors argue that trustworthiness is a "limiting factor." A document with high source authority cannot "offset" a factual contradiction. If a document fails any one of the three trust dimensions (Source, Time, Fact), it is filtered out.
  • Implicit Derivational Evidence: One of the biggest "aha" moments is the shift toward "derivational" support. For a query about a deadline in a specific timezone, the system learns to prioritize documents that provide the conversion logic, even if they don't mention the conference name directly.
  • Set-wise vs. Pointwise: Context construction is a set-wise problem. Information that looks redundant in isolation might be vital for corroboration, while a "relevant" document might be discarded if its information is already better represented elsewhere.

Key Results

The industrial implementation showed consistent gains across the board. Upgrading from a standard relevance ranker to the LLM-based Answer Support ranker alone yielded a +4.8 percentage point (pp) increase in the automatic answer pass rate and a +2.0% Net Gain in human evaluation.

Upgrade Stage Retrieval (High-Quality Rate) Answer (Pass Rate) Human Net Gain
Answer Support +6.4 pp +4.8 pp +2.0%
Content Trustworthiness +4.1 to +4.8 pp +3.0 to +5.2 pp +2.4 to +4.2%
Context Organization +3.6 to +6.7 pp +1.5 to +4.1 pp +1.0 to +8.9%

The Unified Extractor-Organizer (Stage 3) provided the largest boost to human-perceived quality (+8.9%), highlighting that how you present information to the LLM is just as important as what you present.

Limitations and Future Work

The authors highlight a particularly thorny failure mode: Mutually Reinforced False Claims. If multiple web documents repeat the same false attribution (an "echo chamber"), the current system might mistakenly corroborate the claim as factually trustworthy.

Future work will focus on:

  • Improving the independence check in factual verification to distinguish between genuine corroboration and mere repetition.
  • Moving beyond day-level temporal localization to handle more granular states like "version lineages" or "policy states."
  • Further refining the "posterior-optimization simulator" to better mimic complex human feedback.

Summary updated

Abstract

Traditional Web search follows a human-facing paradigm in which users inspect ranked documents and synthesize information themselves. In AI Search, retrieved documents instead serve as inputs to a generation model, shifting the retrieval objective from ranking documents by Search Satisfaction to constructing reliable context for correct answer generation. We formulate this shift as answer-oriented context construction through a three-stage framework: (1) Answer Support identifies candidate documents that contribute information to answer generation; (2) Content Trustworthiness assesses whether this information provides a reliable basis for correct answers from source, temporal, and factual perspectives; and (3) Context Organization selects, consolidates, and structures retained information under a finite context budget for consistent and robust generation. We further develop an industrial workflow spanning prior and posterior optimization and establish a systematic evaluation protocol covering both retrieval-side context and final answers. Experiments show consistent improvements at both Retrieval and Answer levels, demonstrating the effectiveness of the framework and its industrial implementation.
BibTeX
@misc{zhong2026from,
  author = {Yunfei Zhong and Yinqiong Cai and Lixin Su and Haosheng Qian and Lixin Zou and Yixing Fan and Sheng Xu and Jiafeng Guo and Daiting Shi and Jingzhou He},
  title = {{From Ranked Documents to Reliable Contexts: An Answer-Oriented Context Construct Framework for AI Search}},
  year = {2026},
  eprint = {2609.23354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.23354},
}
Figure