arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.01956cs.LGcs.AI
收藏

通过知识蒸馏实现大型语言模型的高效信念不确定性估计

Efficient Epistemic Uncertainty Estimation for Large Language Models via Knowledge Distillation

Graduate School of Data Science, Seoul National University(首尔国立大学数据科学研究生院);Department of Rural Systems Engineering, Seoul National University(首尔国立大学农村系统工程系);Department of Aerospace Engineering, Seoul National University(首尔国立大学航空航天工程系);Department of Electrical Engineering and Computer Science, Gwangju Institute of Science and Technology(全州科学科技研究院电子工程与计算机科学系)

Seonghyeon Park, Jewon Yeom, Jaewon Sok, Jeongjae Park, Heejun Kim, Taesup Kim

AI总结:

通过知识蒸馏高效估计大型语言模型的信念不确定性,减少估计误差并提升幻觉检测性能。

摘要:

对大型语言模型(LLMs)中的不确定性进行量化对于减轻幻觉并使在安全关键任务中进行风险感知部署至关重要。然而,通过深度集合来估计信念不确定性(EU)在现代模型的规模下计算上是不可行的。我们提出了一种框架,利用小型草案模型来高效地估计令牌级EU,从而避免了需要完整集合的需要。该方法基于偏差-方差分解理论,通过草案之间的 Jensen-Shannon 散度(方差代理)和草案混合物与目标之间的 KL 散度(偏差代理)来近似 EU。为进一步确保准确性而无需显著开销,我们引入了在线随机蒸馏(OSD)以高效地近似目标聚合和数据多样的草案(DDD)策略以增强草案多样性以更好地近似目标。在 GSM8K 上的广泛实验表明,我们的方法将估计误差(RMSE)与基线相比减少高达 37%。关键的是,我们的方法在幻觉检测性能上与基于重扰动的方法如 TokUR 相当,而计算开销却微不足道,为不确定性感知的 LLM 部署提供了一个实用的解决方案。

英文摘要:

Quantifying uncertainty in Large Language Models (LLMs) is essential for mitigating hallucinations and enabling risk-aware deployment in safety-critical tasks. However, estimating Epistemic Uncertainty(EU) via Deep Ensembles is computationally prohibitive at the scale of modern models. We propose a framework that leverages the small draft models to efficiently estimate token-level EU, bypassing the need for full-scale ensembling. Theoretically grounded in a Bias-Variance Decomposition, our approach approximates EU via Jensen-Shannon divergence among drafts (variance proxy) and KL divergence between the draft mixture and the target (bias proxy). To further ensure accuracy without significant overhead, we introduce Online Stochastic Distillation (OSD) to efficiently approximate target aggregation and the Data-Diverse Drafts (DDD) strategy to enhance draft diversity for better target approximation. Extensive experiments on GSM8K demonstrate that our method reduces the estimation error (RMSE) by up to 37% compared to baselines. Crucially, our approach achieves Hallucination Detection performance competitive with heavy perturbation-based methods like TokUR while incurring negligible inference costs, offering a practical solution for uncertainty-aware LLM deployment.

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

↑