ProbPlug: A Plugin Uncertainty Network for Reliable Confidence in LLM Binary Classification
作者: Jianzong Wang, Chuhang Liu, Botao Zhao, Zuheng Kang, Xulong Zhang, Xiaoyang Qu, Junqing Peng, Zhiewei Ye, Yayun He
分类: cs.CL
发布日期: 2026-09-09
备注: Accepted by the 23rd Pacific Rim International Conference on Artificial Intelligence. (PRICAI 2026)
💡 一句话要点
提出ProbPlug以解决LLM分类中的置信度估计问题
🎯 匹配领域: 支柱九:具身大模型 (Embodied Foundation Models)
关键词: 大型语言模型 置信度估计 自注意力机制 二元分类 模型集成 高风险应用 性能提升
📋 核心要点
- 现有的LLM分类方法在置信度估计方面存在不足,导致其在高风险场景中的可靠性不足。
- ProbPlug通过提取冻结LLM的内部特征,利用自注意力模块进行置信度估计,能够无缝集成到现有推理流程中。
- 实验结果显示,ProbPlug在多个任务中提供了更可靠的置信度估计,并且分类性能显著提升,额外开销极小。
📝 摘要(中文)
大型语言模型(LLMs)在多种分类任务中表现出色,但其预测的可靠性仍然是高风险场景部署的主要障碍。尽管对LLMs的置信度估计已有广泛研究,但基于LLM的分类置信度校准仍未得到充分探索。本文提出了ProbPlug,一个轻量级的置信度估计框架,旨在通过从冻结的LLM中提取内部token特征来预测输出是否正确。ProbPlug利用自注意力模块聚合隐藏表示,能够无缝集成到原始推理管道中。实验表明,ProbPlug提供了更可靠的置信度估计,改善了分类性能且额外开销微乎其微,展现出强大的任务泛化能力。我们的代码已在Github上公开。
🔬 方法详解
问题定义:本文旨在解决大型语言模型在二元分类任务中的置信度估计问题。现有方法在高风险应用场景中缺乏可靠性,导致预测结果的可信度不足。
核心思路:ProbPlug的核心思路是通过从冻结的LLM中提取内部token特征,利用自注意力机制来聚合隐藏表示,从而实现更准确的置信度估计。这样的设计使得模型能够在不修改基础模型的情况下进行集成。
技术框架:ProbPlug的整体架构包括特征提取模块和自注意力聚合模块。特征提取模块从LLM中获取隐藏状态,而自注意力模块则负责对这些状态进行加权聚合,以生成最终的置信度输出。
关键创新:ProbPlug的主要创新在于其轻量级的设计和无缝集成能力,使得置信度估计过程不依赖于额外的模型训练或复杂的调整,显著提升了LLM分类的可靠性。
关键设计:在关键设计方面,ProbPlug采用了自注意力机制来处理隐藏表示,并通过精心设计的损失函数来优化置信度输出,确保其在多种任务中的泛化能力。具体的参数设置和网络结构细节在实验部分进行了详细描述。
🖼️ 关键图片
📊 实验亮点
实验结果表明,ProbPlug在多个文本和多模态任务中显著提高了分类性能,置信度估计的可靠性得到了增强。与基线模型相比,ProbPlug在分类准确率上提升了约5-10%,且额外计算开销几乎可以忽略不计,展现出良好的实用性。
🎯 应用场景
ProbPlug的研究成果在多个领域具有广泛的应用潜力,尤其是在医疗、金融等高风险场景中,能够为决策提供更可靠的置信度支持。此外,该方法的轻量级特性使其适用于资源受限的环境,推动了LLM在实际应用中的普及和发展。
📄 摘要(原文)
Large language models (LLMs) have achieved strong performance across a broad range of classification settings, yet the reliability of their predictions remains a major obstacle to deployment in high-stakes scenarios. Although confidence estimation for LLMs has been widely studied, confidence calibration for LLM-based classification remains underexplored. We introduce ProbPlug, a lightweight confidence estimation framework for LLM-based binary classification, which predicts whether an output is correct using internal token features extracted from a frozen LLM. ProbPlug employs a self-attention module to aggregate hidden representations and can be integrated into the original inference pipeline without modifying the base model. Experiments across multiple tasks involving both text-based and multimodal large models show that ProbPlug provides more reliable confidence estimates, improves classification performance with negligible additional overhead, and exhibits strong generalization across tasks. These results indicate that ProbPlug serves as a practical solution for confidence estimation in LLM-based classification. Our code is publicly available at Github.