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

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, and 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.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
DOI
https://doi.org/10.48550/arxiv.2612.03698
Primary Topic
Information Retrieval and Search Behavior
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Diogo Cortiz, Kizzy Terra
arXiv
Information Retrieval and Search Behavior
preprint

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

Diogo Cortiz, Kizzy Terra
preprint en

Abstract

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, and 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.

arXiv
Pontifícia Universidade Católica de São Paulo (BR)
Information Retrieval and Search Behavior
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon