Does the Ranking Hold? A Practitioner-Facing Audit of Hallucination Detectors on Small, Quantized, On-Device LLMs
Computer Science > Artificial Intelligence arXiv:2611.17339 (cs) [Submitted on 31 Aug 2026] Title: Does the Ranking Hold? A Practitioner-Facing Audit of Hallucination Detectors on Small, Quantized, On-Device LLMs Authors: Shubhra Mittal, Gaurav Naresh Mittal.
计算机科学 > 人工智能 arXiv:2611.17339 (cs) [提交于 2026 年 8 月 31 日] 标题:排名是否依然有效?针对小型量化端侧大语言模型幻觉检测器的从业者审计。作者:Shubhra Mittal, Gaurav Naresh Mittal。
Abstract: Hallucination detection for large language models is dominated by methods evaluated on 7B-70B research models with abundant sampling budgets and exact-match or ROUGE correctness labels. The small models practitioners actually ship on-device, Phi-3-mini, Llama-3.2-3B-Instruct, Qwen2.5-3B-Instruct, and Gemma-2-2B-Instruct, typically at 4-bit precision, sit outside this evidence base.
摘要:大语言模型的幻觉检测目前主要由在 7B-70B 研究模型上评估的方法所主导,这些方法通常拥有充足的采样预算以及精确匹配或 ROUGE 正确性标签。然而,从业者实际部署在端侧的小型模型(如 Phi-3-mini、Llama-3.2-3B-Instruct、Qwen2.5-3B-Instruct 和 Gemma-2-2B-Instruct,通常为 4-bit 精度)并不在这些证据基础之内。
We present a reproducible one-GPU audit of four detectors spanning three paradigms: length-normalized token-margin calibration, a lexical n-gram baseline, and two sampling-based consistency methods (semantic entropy and SelfCheckGPT-NLI) on two small open instruction-tuned models (Llama-3.2-3B-Instruct and Qwen2.5-3B-Instruct) loaded at 4-bit NF4 quantization on a single Colab T4 GPU, evaluated on closed-book TriviaQA.
我们展示了一项可复现的单 GPU 审计,涵盖了三种范式的四种检测器:长度归一化的 token 边际校准、词汇 n-gram 基线,以及两种基于采样的的一致性方法(语义熵和 SelfCheckGPT-NLI)。审计在两个小型开源指令微调模型(Llama-3.2-3B-Instruct 和 Qwen2.5-3B-Instruct)上进行,模型以 4-bit NF4 量化加载于单张 Colab T4 GPU 上,并在闭卷 TriviaQA 数据集上进行评估。
Cross-model ranking transfer is poor: Spearman rho is -0.80 and Kendall tau-b is -0.667, meaning the detector ranking actively inverts between the two models, and the cheap lexical baseline is statistically indistinguishable from the sampling-based consistency detectors on both models under bootstrap 95 percent confidence intervals.
跨模型的排名迁移效果较差:Spearman 相关系数为 -0.80,Kendall tau-b 系数为 -0.667,这意味着检测器的排名在两个模型之间发生了实质性的倒置;且在 Bootstrap 95% 置信区间下,廉价的词汇基线与基于采样的一致性检测器在两个模型上均无统计学差异。
As a second, methodological contribution, we show that the standard token-overlap-to-multiple-choice correctness labeler for TruthfulQA-Generation produces near-chance AUROC (0.46-0.59) for all four detectors on both models, a labeler failure, not a detector failure, since the same detectors reach 0.69-0.89 AUROC on TriviaQA under the identical pipeline.
作为第二个方法论贡献,我们证明了 TruthfulQA-Generation 的标准“token 重叠转多选题”正确性标注器在两个模型上对所有四种检测器均产生了接近随机水平的 AUROC(0.46-0.59)。这属于标注器失效而非检测器失效,因为相同的检测器在相同的流程下于 TriviaQA 上可达到 0.69-0.89 的 AUROC。
We release the harness, prompts, and per-item scores and frame the detector choice explicitly as a fairness-of-error-rates allocation problem for practitioners deploying on resource-constrained, on-device hardware.
我们发布了测试框架、提示词及各项得分,并将检测器的选择明确定义为针对在资源受限的端侧硬件上进行部署的从业者而言的“错误率公平性分配”问题。