An Approach to the External Auditing of Query Fan-Out: Derived Queries, Sources, and Observability in Web-Search-Enabled LLM APIs(对查询扇出进行外部审计的方法:支持网络搜索的大语言模型 API 中的派生查询、来源与可观察性)于 2026-12-02 提交到 arXiv,作者 Kizzy Terra, Diogo Cortiz。去 arXiv 读原文,或下载 PDF。
主要发现
- 在 GPT-5.6 Luna、Claude Sonnet 5.5、Gemini 3.6 Flash 和 DeepSeek V4 Flash 生成的 2,015 条派生查询中,只有 9% 与字面查询一致,OpenAI 系统中一条也没有。
- 只有 13% 的派生查询会在相同条件的重复执行中逐字再次出现;在配对研究的 192 种组合中,有 18 种的搜索决定发生了变化。
- 研究进行了 960 次 API 调用,覆盖 Google 年度搜索中的 12 个主题、巴西葡萄牙语和英语提示、两个模拟来源地,以及每种组合五次执行。提示语言对派生查询和检索来源的影响远大于模拟来源地。
- Google 系统检索的来源中有 11% 来自该提供商自己的视频平台;DeepSeek 检索的来源中有 11% 来自中国域名,其中大多是国家媒体。
- 四个 API 在被审计的 13 个搜索过程维度中只公开了 3 至 9 个,没有任何一个 API 公开或说明来源是如何选择的。
最重要的一点。 对于这四个 API、这组语料和 2026 年 10 月 12 日的收集结果,答案背后的查询和检索来源会随系统、提示语言和重复执行而变化。API 只能让外部审计者看到其中一部分选择过程。
摘要
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.
译文:当带有网络搜索功能的大语言模型回答问题时,它通常不会直接搜索用户写下的内容。系统会决定是否搜索,编写自己的查询,也就是派生查询,再根据它选择的来源合成答案。这个过程称为查询扇出。作者提出了一种通过提供商公开 API 对查询扇出进行外部审计的方法,围绕七项原则展开:字面一致性、把可观察性作为数据、噪声基线、自我比较、校准、预先承诺和可追溯性。作者把这一方法用于 GPT-5.6 Luna、Claude Sonnet 5.5、Gemini 3.6 Flash 和 DeepSeek V4 Flash,并采用配对设计:选取 Google 2025 年巴西年度搜索中的 12 个主题,使用巴西葡萄牙语和英语提示,模拟来自巴西和美国的用户位置,每种组合执行五次,共进行 960 次 API 调用。在 2,015 条派生查询中,只有 9% 与字面查询一致,OpenAI 系统中一条也没有。只有 13% 的派生查询会在相同条件的重复执行中逐字再次出现;在 192 种组合中,有 18 种的搜索决定发生变化。每个系统都有自己的来源范围。Google 系统有 11% 的来源来自该提供商自己的视频平台;DeepSeek 有 11% 的来源来自中国域名,其中大多是国家媒体。提示语言对查询和来源的影响远大于用户来源地。作者使用数据收集前确定的规则检验来源地假设,但由于负向对照也出现了反应,结果仍无法确定。这些 API 对整个过程的 13 个维度只公开了 3 至 9 个,没有任何提供商公开或说明来源是如何选择的。完整应用的费用为 22.61 美元,也不需要与提供商达成协议。作者记录了可供再次应用的研究设计,并提出了 API 为了让外部人员能够审计查询扇出而需要返回的字段。
关键术语
- 查询扇出:查询扇出是系统决定是否搜索、编写一个或多个查询、检索来源并合成答案的过程。
- 派生查询:派生查询是系统根据用户提示自行编写的搜索查询。
- 字面查询:字面查询是去掉停用词后的用户提示,用来衡量系统引入了哪些变化。
- 噪声基线:噪声基线是相同条件重复执行时出现的变化,用作判断不同条件之间差异的参照。
- 可观察性图谱:可观察性图谱记录 API 实际返回了从提示到查询再到来源这条路径中的哪些信息。
- 负向对照:负向对照是一个按设计不应受测试条件影响的比较,用来检查表面上的结果是否可能由其他因素造成。
论文原文
这段话说明,派生查询很少与用户原话一致,也很少在重复运行中保持完全相同。
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.
译文:在 2,015 条派生查询中,只有 9% 与字面查询一致,OpenAI 系统中一条也没有。只有 13% 的派生查询会在相同条件的重复执行中逐字再次出现;在 192 种组合中,有 18 种的搜索决定发生了变化。
这段话说明 API 能让外部审计者看到的信息范围有限。
The APIs expose between 3 and 9 of 13 dimensions of the process, and no provider exposes or documents how sources are selected.
译文:这些 API 在整个过程的 13 个维度中只公开了 3 至 9 个,没有任何提供商公开或说明来源是如何选择的。
这段话说明作者如何限定所有实证结果的适用范围。
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.
译文:所有结果都是描述性的。它们描述的是这些 API 在数据收集当天针对这组语料的表现,不应被理解为这些系统普遍具有的属性。
论文里的图
可以重点比较各系统有多少派生查询在提示和条件完全相同时仍没有再次出现。
图来自论文 arXiv:2612.03698,版权归作者。原图说明: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.
可以对照 13 个维度,查看各 API 在 2026 年 10 月 12 日的数据收集中公开了查询扇出过程的哪些部分。
图来自论文 arXiv:2612.03698,版权归作者。原图说明: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.
作者自己说的含义
- 作者把派生查询视为一个信息选择环节,因为它会在选择来源之前改变语言、范围、词语和目标域名。
- 只有 13% 的派生查询会在相同条件的重复执行中逐字再次出现,因此作者认为,单次执行只是系统可能行为分布中的一个样本。
- 不同系统的来源范围差异在检索阶段已经出现,早于引用阶段,因此作者把来源选择视为信息筛选过程的一部分。
- 作者认为,查询扇出的透明度需要通过 API 返回的字段从外部核验,因为仅看提供商的说明无法了解从提示到查询再到来源的完整路径。
可以怎么做
- 在审计这四个 API 的派生查询和搜索决定时,对相同提示进行重复执行。 依据:在 2,015 条派生查询中,只有 13% 会在相同条件的重复执行中逐字再次出现;在 192 种组合中,有 18 种的搜索决定发生了变化。
- 在审计这项研究设置中的语言影响时,用配对条件比较巴西葡萄牙语和英语提示。 依据:研究的 960 次 API 调用覆盖 12 个主题、两种提示语言、两个模拟来源地和每种组合五次执行;提示语言对查询和来源的影响远大于模拟来源地。
- 分别记录每个被审计系统的检索来源范围,并把检索与引用分开分析。 依据:Google 系统有 11% 的来源来自该提供商自己的视频平台;DeepSeek 有 11% 的来源来自中国域名,其中大多是国家媒体。
- 按照研究使用的 13 个可观察性维度,对照检查原始 API 响应和提供商文档。 依据:四个 API 只公开了 13 个维度中的 3 至 9 个,没有任何一个 API 公开或说明来源是如何选择的。
- 在采用这一设计且没有不受影响的对照条件时,对模拟用户来源地的结果保持无法确定的结论。 依据:预先设定的来源地检验最多只有 12 对比较,而且负向对照也出现了反应,因此论文没有接受来源地假设。
注意。 这些描述性结果来自 2026 年 10 月 12 日的一次应用,只覆盖 12 个主题、两种语言、两个模拟来源地、每种组合五次执行和 API 访问,不包括聊天界面。语言判断模型仍待重新验证,多项指标属于探索性分析,负向对照出现了反应,可观察性在收集后发生变化;第一作者还披露了此前为 Google Gemini 进行付费演讲并参加 Google 专家社区的经历。
一句话
在对四个商业 API 的 960 次调用中,派生查询很少与字面查询一致,也经常在重复执行时变化。在这项研究中,提示语言的影响大于模拟来源地;每个系统检索的来源范围不同,而整个过程的 13 个维度中只有 3 至 9 个可以从外部观察。
这篇解读根据论文原文写成。引用的段落是原话,数字都是作者自己报告的。方法和完整结果请读论文。