arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.06406cs.AIcs.LG
收藏

UncertaintyZoo: 一个统一的工具包,用于量化深度学习系统中的预测不确定性

UncertaintyZoo: A Unified Toolkit for Quantifying Predictive Uncertainty in Deep Learning Systems

Tianjin University(天津大学)

Xianzong Wu, Xiaohong Li, Lili Quan, Qiang Hu

AI总结:

UncertaintyZoo是一个统一的工具包,整合了29种不确定性量化方法,用于量化深度学习系统中的预测不确定性。

摘要:

大型语言模型(LLMs)正在越来越多地扩展其在各个领域的实际应用,例如问答、自动驾驶和自动软件开发。尽管取得了这一成就,但作为数据驱动系统,LLMs经常做出错误的预测,这可能导致安全关键场景中的潜在损失。为了解决这个问题并衡量模型输出的置信度,已经提出了多种不确定性量化(UQ)标准。然而,尽管这些标准很重要,但整合这些方法的工具有限,阻碍了UQ方法的实用应用和该领域的未来研究。为弥合这一差距,本文介绍了一个统一的工具包UncertaintyZoo,它整合了29种不确定性量化方法,覆盖了五个主要类别,并在标准化接口下进行。使用UncertaintyZoo,我们评估了现有不确定性量化方法在CodeBERT和ChatGLM3模型上的代码漏洞检测任务中的实用性。结果表明,UncertaintyZoo有效地揭示了预测不确定性。该工具配有演示视频,可在项目网站上获取https://github.com/Paddingbuta/UncertaintyZoo。

英文摘要:

Large language models(LLMs) are increasingly expanding their real-world applications across domains, e.g., question answering, autonomous driving, and automatic software development. Despite this achievement, LLMs, as data-driven systems, often make incorrect predictions, which can lead to potential losses in safety-critical scenarios. To address this issue and measure the confidence of model outputs, multiple uncertainty quantification(UQ) criteria have been proposed. However, even though important, there are limited tools to integrate these methods, hindering the practical usage of UQ methods and future research in this domain. To bridge this gap, in this paper, we introduce UncertaintyZoo, a unified toolkit that integrates 29 uncertainty quantification methods, covering five major categories under a standardized interface. Using UncertaintyZoo, we evaluate the usefulness of existing uncertainty quantification methods under the code vulnerability detection task on CodeBERT and ChatGLM3 models. The results demonstrate that UncertaintyZoo effectively reveals prediction uncertainty. The tool with a demonstration video is available on the project site https://github.com/Paddingbuta/UncertaintyZoo.

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

↑