大型语言模型(LLM)在不确定时会生成看似合理但错误的答案,这可能误导用户并降低模型可靠性。用强化学习训练模型弃权(不执行)是自然的方法,但多数现有方法使用固定错误惩罚,因此无法在推理时适配不同置信度要求。我们研究显式置信度目标,即用户在提示中指定目标\textit{p},模型直接选择回答或弃权,目标是在回答的问题中准确率至少为\textit{p}。然而,用单个模型学习响应不同置信度目标被证明很困难,先前尝试未能区分不同目标。我们表明这种失败源于两个问题:区分不同\textit{p}值的奖励信号在优化过程中常丢失,而当\textit{p}接近1时,原始错误惩罚无限制增长。我们提出RLEC(\textbf{R}einforcement \textbf{L}earning with \textbf{E}xplicit \textbf{C}onfidence Targets,即带显式置信度目标的强化学习),它保留区分置信度目标所需的学习信号,引入稳定奖励族以保持期望的回答条件不变,并使用奖励调度平衡有效学习与训练稳定性。这些设计共同实现了首个针对显式置信度目标控制的单个LLM的成功训练。在不同基准和模型规模上的大量实验表明,RLEC在很大程度上保留了通用能力,并达到有竞争力的校准性能。RLEC还支持细粒度目标控制,无需外部决策系统或训练后的阈值校准。通过将显式置信度目标作为训练策略的一部分,RLEC为行为校准开辟了一条新的更直接的路径。
英文摘要:
Large language models (LLMs) can produce plausible but incorrect answers when they are uncertain, which can mislead users and undermine model reliability. Training models to abstain with reinforcement learning is a natural approach, but most existing methods use a fixed error penalty and therefore cannot adapt their behavior to different confidence requirements at inference time. We study \emph{explicit confidence targets}, where a user specifies a target \(p\) in the prompt and the model directly chooses whether to answer or abstain, with the goal of achieving an accuracy of at least \(p\) among answered questions. However, learning to respond to different confidence targets with a single model has proven difficult, and prior attempts have failed to distinguish different targets. We show that this failure comes from two problems: the reward signal that distinguishes different values of $p$ is often lost during optimization, while the original error penalty grows without bound as $p$ approaches one. We propose RLEC (\textbf{R}einforcement \textbf{L}earning with \textbf{E}xplicit \textbf{C}onfidence Targets), which preserves the learning signal needed to distinguish confidence targets, introduces a stable reward family that keeps the desired answer condition unchanged, and uses reward scheduling to balance effective learning and training stability. Together, these designs enable the first successful training of a single LLM for explicit confidence target control. Extensive experiments across diverse benchmarks and model scales show that RLEC largely preserves general capabilities and achieves competitive calibration performance. RLEC also supports fine-grained target control without an external decision system or threshold calibration after training. By making explicit confidence targets part of the trained policy, RLEC opens a new and more direct path toward behavioral calibration.
Tencent HY Team(腾讯混元团队);ShanghaiTech University(上海科技大学);The Hong Kong University of Science and Technology(香港科技大学);University of California, San Diego(加州大学圣地亚哥分校)
AutoEval Done Right: Using Synthetic Data for Model Evaluation
Department of Electrical Engineering and Computer Sciences, University of California, Berkeley, USA(电子工程与计算机科学系,加州大学伯克利分校);Department of Systems Immunology, Weizmann Institute of Science, Rehovot, Israel(系统免疫学系,魏茨曼科学研究所);Inria, Ecole Normale Supérieure, Paris, France(法国国家信息与自动化技术研究所,巴黎高等师范学院)
Elastic Weight Consolidation Done Right for Continual Learning
School of Artificial Intelligence, Sun Yat-sen University, China(中山大学人工智能学院,中国);Key Laboratory of Intelligent Assessment Technology for Sustainable Tourism, Ministry of Culture and Tourism, Sun Yat-sen University(文化旅游可持续发展智能评估技术重点实验室,文化部,中山大学);Key Laboratory of Machine Intelligence and Advanced Computing, Ministry of Education, China(机器智能与高级计算重点实验室,教育部,中国)