arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.02241cs.AIcs.CLcs.ET
收藏

小语言模型的零样本置信度估计:当监督基线不再值得训练

Zero-Shot Confidence Estimation for Small LLMs: When Supervised Baselines Aren't Worth Training

BuffaloTechRider(布法罗科技骑手)

Luong N. Nguyen

AI总结:

本文研究小语言模型如何在无监督数据下估计自身正确性,通过比较零样本置信信号与监督基线,发现基于平均token对数概率的方法在分布内和分布外均表现更优,提出检索条件自我评估方法提升性能。

摘要:

小语言模型如何可靠地估计自身正确性?答案决定了是否可以在没有监督训练数据的情况下,让本地模型处理大多数查询,而将昂贵的云服务调用保留给困难案例。随着推理成本主导大型语言模型(LLM)部署预算,将大部分查询路由到便宜的本地模型,同时保留昂贵的云调用用于困难案例,已成为一种越来越常见的成本控制策略。我们比较了零样本置信信号与RouteLLM风格的监督基线,跨三个7-8B模型家族和两个数据集(每个模型分别为1000和500个查询)。平均token对数概率,无需训练数据,其在分布内表现与监督基线相当(受试者工作曲线(AUROC)0.650-0.714 vs. 0.644-0.676),并在分布外显著优于基线(0.717-0.833 vs. 0.512-0.564),因为它衡量的是模型生成的属性而非查询分布。本文进一步提出了检索条件自我评估,一种预生成信号,当相似性高时会选择性地注入检索到的知识,通过bare self-assessment提高了最多+0.069 AUROC,延迟比对数概率低3-10倍。一个在1000个标记示例上训练的监督基线从未超过零样本信号。我们发布了所有代码、数据和实验日志。

英文摘要:

How reliably can a small language model estimate its own correctness? The answer determines whether local-to-cloud routing-escalating queries a cheap local model cannot handle-can work without supervised training data. As inference costs dominate large language model (LLM) deployment budgets, routing most queries to a cheap local model while reserving expensive cloud calls for hard cases is an increasingly common cost-control strategy. We compare zero-shot confidence signals against RouteLLM-style supervised baselines across three 7-8B model families and two datasets (1,000 and 500 queries per model, respectively). Average token log-probability, which requires no training data, matches or exceeds supervised baselines in-distribution (Area Under the Receiver Operating Characteristic curve (AUROC) 0.650-0.714 vs. 0.644-0.676) and substantially outperforms them out-of-distribution (0.717-0.833 vs. 0.512-0.564), because it measures a property of the model's generation rather than the query distribution. This paper further proposes retrieval-conditional self-assessment, a pre-generation signal that selectively injects retrieved knowledge when similarity is high, improving over bare self-assessment by up to +0.069 AUROC at 3-10x lower latency than log-probability. A supervised baseline trained on 1,000 labeled examples never exceeds the zero-shot signal. We release all code, data, and experiment logs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑