An Approach to the External Auditing of Query Fan-Out: Derived Queries, Sources, and Observability in Web-Search-Enabled LLM APIs was submitted to arXiv on 2026-12-02 by Kizzy Terra, Diogo Cortiz. Read it on arXiv or as a PDF.
Key findings
- Across 2,015 derived queries from GPT-5.6 Luna, Claude Sonnet 5.5, Gemini 3.6 Flash, and DeepSeek V4 Flash, only 9% matched the literal query, and none matched it in OpenAI’s system.
- Only 13% of derived queries reappeared verbatim across identical executions, and the decision to search changed in 18 of 192 combinations in the paired study.
- In 960 API calls covering 12 Google Year in Search topics, Brazilian Portuguese and English prompts, two simulated origins, and five executions per combination, prompt language shifted derived queries and retrieved sources far more than simulated origin did.
- Google’s system obtained 11% of its retrieved sources from the provider’s own video platform, while 11% of DeepSeek’s retrieved sources came from Chinese domains, mostly state media.
- The four APIs exposed between 3 and 9 of 13 audited dimensions of the search process, and none exposed or documented how sources were selected.
The main takeaway. For these four APIs, this corpus, and the 12 October 2026 collection, the queries and retrieved sources behind an answer varied by system, prompt language, and repeated execution. The APIs provided only partial visibility into those choices.
The abstract, as written
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.
Key terms
- Query fan-out: Query fan-out is the process in which a system decides whether to search, writes one or more queries, retrieves sources, and synthesizes an answer.
- Derived query: A derived query is a search query written by the system from the user’s prompt.
- Literal query: The literal query is the user’s prompt with stopwords removed and serves as the reference for measuring changes introduced by the system.
- Noise floor: The noise floor is the variation observed across identical executions, used as a baseline when evaluating differences between conditions.
- Observability map: An observability map records which parts of the path from prompt to query to source an API actually returns.
- Negative control: A negative control is a comparison that should not respond to the tested condition and helps reveal whether another factor may explain an apparent effect.
From the paper
This passage reports how rarely derived queries matched the user’s wording or repeated exactly across runs.
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.
This passage states the measured limits of API visibility into query fan-out.
The APIs expose between 3 and 9 of 13 dimensions of the process, and no provider exposes or documents how sources are selected.
This passage states the scope the authors place on all empirical findings.
All results are descriptive. They characterize the behavior of these APIs on the collection date, for this corpus, and should not be read as properties of the systems in general.
Figures from the paper
Look at how much of each system’s derived-query set failed to reappear, even when the prompt and condition were identical.
Figure from the paper, arXiv:2612.03698, by its authors. Caption as written: Figure 2: Derived queries repeated across identical executions, by system: share of the queries of one execution that reappears verbatim, reappears reworded (near-copy, word-set Jaccard ≥ 0.60 \geq 0.60 ) or does not reappear in another identical execution. Right: Jaccard index between the query sets of two executions.
Compare the 13 dimensions to see which parts of query fan-out each API exposed in the 12 October 2026 collection.
Figure from the paper, arXiv:2612.03698, by its authors. Caption as written: Figure 4: Observability map: what each API returned about its own search in the raw responses of the 12 October 2026 collection, in 13 dimensions (exploratory). “Yes”: the API returns the information in all collections; “partial”: only in part or indirectly; “no”: it does not. Only “yes” is counted.
What the authors say it means
- The authors interpret the derived query as a selection point because it can change the language, scope, terms, and domains involved before sources are chosen.
- Because only 13% of derived queries reappeared verbatim across identical executions, the authors argue that one execution records one sample from a distribution of possible behavior.
- The system-specific source repertoires appear at the retrieval stage, before citation, so the authors treat source selection as part of the information-gatekeeping process.
- The authors conclude that transparency about query fan-out needs externally verifiable API fields because provider documentation alone does not show the full path from prompt to query to source.
What to do with it
- Repeat identical prompts when auditing the derived queries and search decisions of these four APIs. Supported by: Only 13% of 2,015 derived queries reappeared verbatim across identical executions, and the search decision changed in 18 of 192 combinations.
- Compare Brazilian Portuguese and English prompts in paired conditions when auditing language effects in this setup. Supported by: Across 960 API calls using 12 topics, two prompt languages, two simulated origins, and five executions per combination, prompt language shifted queries and sources far more than simulated origin did.
- Record the retrieved-source repertoire separately for each audited system and distinguish retrieval from citation. Supported by: Google’s system obtained 11% of its sources from the provider’s own video platform, while 11% of DeepSeek’s sources came from Chinese domains, mostly state media.
- Check raw API responses against provider documentation across the 13 observability dimensions used in the study. Supported by: The four APIs exposed between 3 and 9 of 13 dimensions, and none exposed or documented how sources were selected.
- Keep conclusions about simulated user origin inconclusive when applying this design without an unaffected control. Supported by: The pre-specified origin test had at most 12 pairs, and its negative control reacted, so the paper did not accept the origin hypothesis.
Caveat. The results are descriptive and cover one application on 12 October 2026, 12 topics, two languages, two simulated origins, five executions per combination, and API access rather than chat interfaces. The language judges still require revalidation, several measures were exploratory, the negative control reacted, observability changed after collection, and the first author disclosed prior paid talks and community participation involving Google.
In short
In 960 calls to four commercial APIs, derived queries seldom matched the literal query and often changed across repeated executions. Prompt language mattered more than simulated origin in this study, each system retrieved its own source repertoire, and only 3 to 9 of 13 process dimensions were observable.
Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.