首页 > AI前沿 > An Approach to the External Auditing of Query Fan-Out: Derived Queries, Sources, and Observability in Web-Search-Enabled LLM APIs

An Approach to the External Auditing of Query Fan-Out: Derived Queries, Sources, and Observability in Web-Search-Enabled LLM APIs

arXiv自然语言 2026-12-02 20:04 8 阅读 查看原文

背景与方法

When a large language model (LLM) with web search answers a question, it usually does not search for what the user wrote: it decides whether to search, writes its own queries (derived queries), and synthesizes an answer from the sources it selects, a process known as query fan-out. We propose an approach for the external audit of query fan-out through providers' public APIs, organized around seven principles:

  • literalness
  • observability as data
  • noise floor
  • self-comparison
  • calibration
  • pre-commitment
  • traceability

实验设计

We apply it to GPT-5.6 Luna, Claude Sonnet 5.5, Gemini 3.6 Flash, and DeepSeek V4 Flash in a paired design: 12 topics from Google's 2025 Year in Search for Brazil, prompts in Brazilian Portuguese and English, simulated user origin in Brazil and the United States, and five identical executions per combination (960 API calls).

结果与发现

Only 9% of 2,015 derived queries match the literal query, and none do in OpenAI's system; only 13% reappear verbatim across identical executions, and the decision to search flips in 18 of 192 combinations.

Each system draws on its own repertoire of sources, including the provider's own video platform in Google's case (11% of sources) and Chinese domains, mostly state media, in DeepSeek's (11%). Prompt language shifts queries and sources far more than user origin does.

The origin hypothesis, tested by a rule fixed before collection, remained inconclusive because the negative control reacted. The APIs expose between 3 and 9 of 13 dimensions of the process, and no provider exposes or documents how sources are selected.

The full application cost US$22.61 and required no agreement with the providers. We document the design for re-application and propose the fields an API would need to return to make query fan-out auditable from the outside.