跳到正文
返回论文列表
cs.DB提交于 已译

同一查询,不同答案:语义查询处理中的运行间方差

Same Query, Different Answer: Run-to-Run Variance in Semantic Query Processing

Oktie Hassanzadeh · Dharmashankar Subramanian

中文摘要

语义查询引擎调用大语言模型(LLM)逐行判别,目前基准测试在温度 0 下仅基于少量执行结果比较引擎质量。本研究量化再次执行带来的变化量。分别在 SemBench、LRO-Bench、UDA-Bench 三个基准上通过各自框架重新执行文本与表格负载,记录全部 120 万次模型调用,并对 SemBench 已发布的执行结果重新分析。在温度 0 下,五次执行中因模型而异有 0.07% 至 10.2% 的行的算子输出发生改变,单个任务最高达 24.0%。查询计划(plan)按暴露行数指数级放大这些变化,与可能世界模型预测一致:UDA-Bench 上少量抽取值变化,但约三分之二的最终答案发生改变。SemBench 已发布结果中 21% 的文本结果在执行间发生质量变化,包括那些计划确定性的引擎。多个逐查询的系统对比以及 LRO-Bench 28 项实现建议测试中的 16 项,无法通过基准现有的执行次数得到确定结论。发生变化的行正是模型间相互不一致的行;同一执行内的相同请求与跨执行的请求不一致频率相当;单次执行的决策置信度或推理长度可预测哪些行会变化。多数投票降低了方差但未能消除,校准级联(cascade)在返回行发生变化的同时保持其保证。本文据此推导出基准报告规则与引擎设计规则。

关键要点

  1. 01不同执行间存在显著运行方差:在温度 0 下 SemBench 等基准五行执行中 0.07%–10.2% 的行发生改变,单任务最高 24.0%;系统对比与建议测试常因方差未达显著
  2. 02查询计划按暴露行数指数级放大底层变化:UDA-Bench 上少数抽取值变化即导致约三分之二的最终答案翻转
  3. 03变化行即模型间分歧行:与跨执行分歧模式相同,单次执行的决策置信度或推理长度可预测哪些行会变化
  4. 04多数投票降低方差但无法消除,校准级联在保持保证的同时返回行仍会发生变化
  5. 05论文据此为语义查询基准给出报告规则、为引擎给出设计规则

解读

尚无解读。

原始英文摘要

arXiv:2610.13823v1 Announce Type: cross Abstract: Semantic query engines ask a large language model (LLM) to judge individual rows, and benchmarks compare these engines on the quality of a few executions at temperature 0. We measure how much another execution changes. We re-execute the text and tabular workloads of SemBench, LRO-Bench, and UDA-Bench through their own harnesses, log every one of 1.2 million model calls, and reanalyze SemBench's published executions. At temperature 0, between 0.07% and 10.2% of rows change their operator output over five executions, depending on the model, and up to 24.0% on one task. Plans amplify these changes exponentially in the number of rows an answer exposes, as a possible-worlds model predicts: on UDA-Bench, a few percent of extracted values change, but about two thirds of the answers do. In SemBench's published results, 21% of text results change quality between executions, including on engines whose plans are deterministic. Several per-query system comparisons, and 16 of 28 tests of LRO-Bench's implementation recommendations, are not settled by the executions the benchmarks run. Changing rows are rows on which models disagree with each other; identical requests within one execution disagree as often as across executions; and one execution's decision margin or reasoning length predicts which rows change. Voting reduces the variance but does not remove it, and a calibrated cascade keeps its guarantee while the rows it returns change. We derive reporting rules for benchmarks and design rules for engines.

同方向论文 · cs.DB

查看全部 →

反向发现 · 这篇论文相关的工具与提示词

去交叉发现 →

关联提示词 · 1

编程github.com/f/awesome-chatgpt-prompts·外部收录·

VFD Fault Code Explainer

I want you to act as an experienced drives technician. A variable frequency drive tripped. Drive: ${Drive make, model and firmware if known}. Fault code and text on the keypad: ${Fault code and text}. Motor: ${Motor nameplate: kW or HP, vol…