Computer Science > Information Retrieval
Title:An Approach to the External Auditing of Query Fan-Out: Derived Queries, Sources, and Observability in Web-Search-Enabled LLM APIs
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.
| Comments: | 36 pages, 9 figures. Technical report from ongoing doctoral research (TIDD, PUC-SP) |
|---|---|
| Subjects: | Information Retrieval (cs.IR) ; Computation and Language (cs.CL); Computers and Society (cs.CY) |
| ACM classes: | H.3.3; K.4.1; I.2.7 |
| Cite as: | arXiv:2612.03698 [cs.IR] |
| (or arXiv:2612.03698v1 [cs.IR] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03698 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.