{"resourceId":"arxiv-2612-03698-external-audit-query-fan-out-gemini-web-search-apis-20261202","versions":[{"version":"external-2d5f96811b81688f575410e39093e5000b3b16d923965b57d6e996eb3664fbbd","resource":{"id":"arxiv-2612-03698-external-audit-query-fan-out-gemini-web-search-apis-20261202","title":"arXiv 2612.03698 (preprint): External audit of query fan-out finds web-search LLM APIs, including Gemini 3.6 Flash, rarely search the user's literal words and do not document source selection","organization":"PUC-SP (TIDD) doctoral research by Kizzy Terra and Diogo Cortiz; systems audited: Google Gemini 3.6 Flash, GPT-5.6 Luna, Claude Sonnet 5.5, DeepSeek V4 Flash","sector":"Research (AI evaluation; applies to government and education information services)","geography":"Brazil and United States (simulated user origins)","publishedAt":"Submitted on 2 Dec 2026","publicationDate":"2026-12-02","eventDate":null,"sourceName":"arXiv","sourceLabel":"Preprint, not peer reviewed. Technical report, arXiv:2612.03698v1 [cs.IR].","sourceUrl":"https://arxiv.org/abs/2612.03698","evidenceClass":"academic-research","outcomeClass":"cautionary","topics":["governance-procurement","developers-agents"],"finding":"Preprint, not peer reviewed. The authors propose an external audit method for 'query fan-out' in web-search-enabled LLM APIs and apply it to four systems, including Gemini 3.6 Flash, using 12 topics from Google's 2025 Year in Search for Brazil, two languages, two simulated origins and five repeats (960 API calls). Only 9% of 2,015 derived queries matched the literal query; only 13% recurred verbatim across identical runs; the search decision flipped in 18 of 192 combinations. In Google's case, 11% of sources came from the provider's own video platform. APIs exposed 3 to 9 of 13 process dimensions and no provider documents source selection. The audit cost US$22.61.","sledRelevance":"Agencies and universities building search-grounded assistants on Gemini APIs need to know grounding queries and sources are nondeterministic and partly undisclosed; relevant to public-information accuracy and auditability. Multi-vendor study; this record emphasizes the Gemini findings.","evidence":"Paired experimental design, 960 calls, pre-committed rules; small topic set from Brazil; preprint. Figures read from the arXiv abstract page; full PDF not read.","architectureImplications":"Search-grounded Gemini responses vary run to run; agencies may need to log derived queries and sources for each answer.","governanceImplications":"Supports requiring vendors to expose grounding queries and source selection logic in public-sector AI procurements.","securityPrivacyImplications":"Not a security study; opacity of source selection affects provenance assurance.","caveats":"Preprint, not peer reviewed; Brazil-centric topics; four API configurations at one point in time; results may not reflect Google Search AI Mode or Workspace products; full paper not read.","streamIds":["google"],"roles":{"sales":"Framing: auditability is a buying criterion. This preprint finds Gemini's search-grounded API, like its peers, rarely searches the literal query and does not document source selection, with 11% of Google's sources from its own video platform. Interpretation: public-sector buyers may ask partners how grounding will be logged. Do not claim Gemini is less accurate; the study measures process opacity, not answer correctness.","engineering":"Framing: log what the model searched. Engineers building Gemini-grounded public information tools should capture derived queries, retrieved sources and the search decision for every response, since the preprint shows variance across identical runs. Validate on agency-relevant topics in English and Spanish. The study covers APIs at one point in time and a Brazil topic set, so replicate before drawing conclusions.","delivery":"Framing: build an audit routine. The method is cheap, US$22.61 for 960 calls, so delivery teams can propose periodic replication on agency topics. Acceptance criteria could include logging coverage of grounding metadata and a documented variance baseline. Risks: undisclosed source selection, self-preferencing of provider content and drift across model versions."},"roleDetails":{"sales":{"customerProblem":"Public-sector AI answers grounded on web search lack transparent, repeatable provenance.","stakeholders":["Agency CIO","Public information office","Procurement officer","University research computing"],"discoveryQuestions":["Can you log derived queries and sources per answer?","How stable are answers across runs?","What source-selection documentation does the vendor provide?"],"valueHypothesis":"Grounding logs and periodic audits may improve accountability; no accuracy benefit shown.","potentialEngagement":"Bounded replication of the audit method on agency-relevant topics.","unsupportedClaims":["Gemini answer accuracy","Superiority or inferiority versus other vendors","Generalization beyond tested APIs"]},"engineering":{"fit":"Relevant to builders using Gemini API search grounding.","architectureIntegration":"Gemini API with web-search grounding; capture grounding metadata.","prerequisites":["API access with grounding metadata","Logging pipeline","Topic set"],"constraints":["Preprint","Brazil topic set","Point-in-time model versions"],"security":"Not a security study; provenance opacity is the concern.","proofOfValue":["Replicate fan-out audit on 12 agency topics","Measure run-to-run source overlap"]},"delivery":{"work":"Implement grounding logs and a periodic external audit.","dependencies":["API metadata exposure","Logging storage"],"ownership":"Agency AI program office.","skillsAdoption":"Analysts need basic experimental design skills.","governanceCheckpoints":["Pre-commit audit rules","Review after model version changes"],"acceptanceCriteria":["Proposal: 100% of grounded answers logged with sources","Proposal: quarterly variance report"],"risks":["Self-preferencing of sources","Model drift","Incomplete metadata"]}},"retrievedAt":"2026-12-03T22:16:06-06:00","enrichedAt":"2026-12-03T22:25:16-06:00","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Not addressed.","procurementImplications":"Proposes API fields needed for auditability, usable as procurement requirements.","operatingModelImplications":"Low audit cost (US$22.61) suggests agencies can run periodic external checks.","peerReview":"preprint","sourceVerification":{"openedUrl":"https://arxiv.org/abs/2612.03698","referenceExcerpt":"The APIs expose between 3 and 9 of 13 dimensions of the process, and no provider exposes or documents how sources are selected.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}