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

通过测试时判别蒸馏实现自校准语言模型

Self-Calibrating Language Models via Test-Time Discriminative Distillation

Mohamed Rissal Hedna, Jan Strich, Martin Semmann, Chris Biemann

AI总结:

本文提出SECL方法,利用模型在回答正确性问题时的真实概率与声明置信度之间的差距进行无监督训练,有效降低校准误差,优于现有方法。

摘要:

大型语言模型(LLMs)系统性地过于自信:它们经常在回答错误的问题上表现出高确定性。现有的校准方法要么需要标记的验证数据,要么在分布偏移下会退化,或者会带来显著的推理成本。最近的研究表明,LLMs已经包含比它们所陈述的更校准的信号:当模型被问及“这个答案正确吗”时,

英文摘要:

Large language models (LLMs) are systematically overconfident: they routinely express high certainty on questions they often answer incorrectly. Existing calibration methods either require labeled validation data, degrade under distribution shifts, or incur substantial inference costs. Recent work has shown that LLMs already contain a better-calibrated signal than the one they verbalize: the token probability of "True" when the model is asked "Is this answer correct?" ($P(\text{True})$) consistently outperforms their stated confidence, a gap that is theoretically grounded as generative error is lower-bounded by roughly twice the corresponding discriminative error. We introduce $\textbf{SECL}$ ($\textbf{SE}$lf-$\textbf{C}$alibrating $\textbf{L}$anguage Models), a test-time training (TTT) pipeline that exploits this gap as label-free self-supervision, requiring no labeled data or human supervision. SECL adapts only when the input distribution shifts, training on just 6--26% of the question stream at lower cost than the baseline it distills from. Across four small language models from three model families and four diverse domains, SECL reduces Expected Calibration Error (ECE) by 56--78%, outperforming its own supervision signal and matching or outperforming recent inference-time methods. SECL is the first method to apply TTT to calibration; seven ablations covering signal quality, gating strategy, weight accumulation, loss design, domain ordering, hyperparameter sensitivity, and layer selection confirm that each component is crucial and robust across configurations. Code: https://anonymous.4open.science/r/secl-emnlp26-submission-C890

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

↑