SteerConf:引导大语言模型进行置信度提取
SteerConf: Steering LLMs for Confidence Elicitation
AI总结:
提出SteerConf框架,通过引导提示、一致性度量和校准方法,无需训练即可提升LLM置信度校准,在七个基准上显著优于现有方法。
摘要:
大语言模型(LLMs)在多个领域展现出令人印象深刻的表现,但常常存在过度自信的问题,限制了其在关键应用中的可靠性。我们提出了SteerConf,一种新颖的框架,通过系统地引导LLMs的置信度分数来提高其校准性和可靠性。SteerConf引入了三个关键组成部分:(1)一种引导提示策略,通过利用具有不同引导水平的提示,指导LLMs在指定方向(如保守或乐观)上产生置信度分数;(2)一种引导置信度一致性度量,用于量化多个引导置信度之间的对齐程度,以增强校准;(3)一种引导置信度校准方法,利用一致性度量聚合置信度分数,并应用线性量化进行答案选择。SteerConf无需额外训练或微调即可运行,使其广泛适用于现有LLMs。在涵盖专业知识、常识、伦理和推理任务的七个基准上,使用先进LLM模型(GPT-3.5、LLaMA 3、GPT-4)进行的实验表明,SteerConf显著优于现有方法,通常以较大幅度领先。我们的研究结果凸显了引导LLMs置信度以增强其可靠性、从而在现实应用中更安全部署的潜力。
英文摘要:
Large Language Models (LLMs) exhibit impressive performance across diverse domains but often suffer from overconfidence, limiting their reliability in critical applications. We propose SteerConf, a novel framework that systematically steers LLMs' confidence scores to improve their calibration and reliability. SteerConf introduces three key components: (1) a steering prompt strategy that guides LLMs to produce confidence scores in specified directions (e.g., conservative or optimistic) by leveraging prompts with varying steering levels; (2) a steered confidence consistency measure that quantifies alignment across multiple steered confidences to enhance calibration; and (3) a steered confidence calibration method that aggregates confidence scores using consistency measures and applies linear quantization for answer selection. SteerConf operates without additional training or fine-tuning, making it broadly applicable to existing LLMs. Experiments on seven benchmarks spanning professional knowledge, common sense, ethics, and reasoning tasks, using advanced LLM models (GPT-3.5, LLaMA 3, GPT-4), demonstrate that SteerConf significantly outperforms existing methods, often by a significant margin. Our findings highlight the potential of steering the confidence of LLMs to enhance their reliability for safer deployment in real-world applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。