使用强化学习(RL)训练大型语言模型(LLMs)显著提升了它们在推理和问答任务上的性能。然而,主流的RL奖励设计通常优先考虑回答的正确性,而忽略了激励模型准确表达其置信度。这导致了一个关键问题:性能提升往往伴随着置信度与准确性之间的校准不良,使模型在不确定时过度自信地产生幻觉。为解决这一局限,我们提出了$\textbf{C}$orrectness and $\textbf{C}$onfidence $\textbf{C}$alibration $\textbf{R}$einforcement $\textbf{L}$earning($\textbf{C3RL}$),一种新颖的RL算法,将正确性、校准和数据集参考准确率奖励整合在一起。在8个文本和多模态数据集上的全面评估表明,C3RL在不牺牲准确性的情况下增强了校准性,在性能和校准指标上均优于当前最先进的方法。利用C3RL良好校准的言语化置信度,我们进一步引入了$\textbf{C}$onfidence-based $\textbf{A}$daptive Test Time $\textbf{S}$caling($\textbf{CAS}$),一种可调整的推理时策略,根据响应置信度分配计算资源。实验表明,CAS在域内和域外数据集上均优于多数投票,同时将推理预算降低多达12.33倍。我们相信C3RL和CAS的协同作用为部署更可靠和资源高效的LLM铺平了道路。代码、数据和模型将公开发布。
英文摘要:
Training large language models (LLMs) with reinforcement learning (RL) has significantly advanced their performance on reasoning and question-answering tasks. However, prevailing RL reward designs typically prioritize response correctness, neglecting to incentivize models to express their confidence accurately. This leads to a critical problem: performance gains are often accompanied by poor calibration between confidence and accuracy, misleading models to overconfidently hallucinate when uncertain. To address this limitation, we propose $\textbf{C}$orrectness and $\textbf{C}$onfidence $\textbf{C}$alibration $\textbf{R}$einforcement $\textbf{L}$earning ($\textbf{C3RL}$), a novel RL algorithm integrating correctness, calibration and dataset-informed reference accuracy rewards together. Comprehensive evaluation across 8 text and multimodal datasets demonstrates that C3RL enhances calibration without sacrificing accuracy, outperforming the current state-of-the-art method in both performance and calibration metrics. Utilizing the well-calibrated verbalized confidence from C3RL, we further introduce $\textbf{C}$onfidence-based $\textbf{A}$daptive Test Time $\textbf{S}$caling ($\textbf{CAS}$), an adjustable inference-time strategy that allocates computational resources based on response confidence. Experiments show that CAS surpasses majority voting on both in-domain and out-of-domain datasets while reducing the inference budget by up to 12.33 times. We believe the synergy of C3RL and CAS paves the way for deploying more reliable and resource-efficient LLMs. The code, data and models will be released.
Double-Calibration: Towards Reliable LLMs via Calibrating Knowledge and Reasoning Confidence
School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China(中山大学计算机科学与工程学院,广州,中国);Department of Computing, The Hong Kong Polytechnic University, Hong Kong SAR(香港理工大学计算机系,香港特别行政区);School of Science and Technology, Hong Kong Metropolitan University, Hong Kong SAR(香港 Metropolitan 大学科技学院,香港特别行政区)
Calibrating Large Language Models Using Their Generations Only
Parameter Lab(参数实验室);IT University of Copenhagen(哥本哈根信息技术大学);Pioneer Centre for Artificial Intelligence(人工智能先锋中心);NAVER AI Lab(NAVER人工智能实验室);University of Tübingen(蒂宾根大学);Tübingen AI Center(蒂宾根人工智能中心)
A Confidence-Diversity Framework for Calibrating AI Judgement in Accessible Qualitative Coding Tasks
School of Journalism and Communication, South China University of Technology, Guangzhou, China(新闻与传播学院,华南理工大学,广州,中国);Guangdong–Hong Kong–Macao Greater Bay Area Research Institute of International Communication, South China University of Technology, Guangzhou, China(粤港澳大湾区国际传播研究院,华南理工大学,广州,中国)
Confidence as a Reward: Transforming LLMs into Reward Models
Fudan University(复旦大学);Shanghai AI Laboratory(上海人工智能实验室);Xidian University(西安电子科技大学);The Chinese University of Hong Kong(香港中文大学);Nanyang Technological University(南洋理工大学)
Escaping Confidence Trap: Evolutionary Decoding for Mathematical Reasoning in Diffusion LLMs
Australian National University(澳大利亚国立大学);Nanyang Technological University(南洋理工大学);National University of Singapore(新加坡国立大学);Amazon(亚马逊);University of Technology Sydney(悉尼科技大学)
Risk Awareness Injection: Calibrating Vision-Language Models for Safety without Compromising Utility
Shien-Ming Wu School of Intelligent Engineering, South China University of Technology(华南理工大学吴贤铭智能工程学院);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(广东省人工智能与数字经济实验室(深圳));Computer Science and Engineering, The Hong Kong University of Science and Technology(香港科技大学计算机科学与工程系);University of Electronic Science and Technology of China(电子科技大学)
Calibrating Pre-trained Language Classifiers on LLM-generated Noisy Labels via Iterative Refinement
School of Computational Science \& Engineering Georgia Institute of Technology Atlanta GA USA;Scheller College of Business Georgia Institute of Technology Atlanta GA USA;Georgia Institute of Technology
Fact-Level Confidence Calibration and Self-Correction
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Penn State University(宾夕法尼亚州立大学)
Confidence Calibration for Multimodal LLMs: An Empirical Study through Medical VQA
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);Zhihui Medical Technology (Shanghai) Co., Ltd.(智汇医疗科技(上海)有限公司)
Confident RAG: Enhancing the Performance of LLMs for Mathematics Question Answering through Multi-Embedding and Confidence Scoring
Faculty of Education, The University of Hong Kong(香港大学教育学院);Department of Civil and Environmental Engineering, The Hong Kong University of Science and Technology(香港科学与技术大学土木与环境工程系)