arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.08819cs.LGcs.CLstat.ML
收藏

Thermometer:迈向大型语言模型的通用校准

Thermometer: Towards Universal Calibration for Large Language Models

Massachusetts Institute of Technology(麻省理工学院);MIT-IBM Watson AI Lab, IBM Research(麻省理工学院-IBM沃森人工智能实验室,IBM研究院)

Maohao Shen, Subhro Das, Kristjan Greenewald, Prasanna Sattigeri, Gregory Wornell, Soumya Ghosh

AI总结:

针对指令微调等干预导致LLM校准不良且计算成本高的挑战,提出THERMOMETER校准方法,通过学习辅助模型在保持准确性的同时高效提升新任务的校准效果。

摘要:

我们考虑大型语言模型(LLM)的校准问题。最近的研究发现,指令微调等常见干预措施通常会导致LLM校准不良。尽管校准在传统应用中被广泛探索,但校准LLM具有独特的挑战性。这些挑战既源于LLM的巨大计算需求,也源于其多功能性,使其能够应用于多种任务。针对这些挑战,我们提出了THERMOMETER,一种专为LLM量身定制的校准方法。THERMOMETER在给定多任务数据的情况下,学习一个辅助模型来校准LLM。它在计算上高效,保持了LLM的准确性,并为新任务产生校准更好的响应。跨多个基准的广泛实证评估证明了所提方法的有效性。

英文摘要:

We consider the issue of calibration in large language models (LLM). Recent studies have found that common interventions such as instruction tuning often result in poorly calibrated LLMs. Although calibration is well-explored in traditional applications, calibrating LLMs is uniquely challenging. These challenges stem as much from the severe computational requirements of LLMs as from their versatility, which allows them to be applied to diverse tasks. Addressing these challenges, we propose THERMOMETER, a calibration approach tailored to LLMs. THERMOMETER learns an auxiliary model, given data from multiple tasks, for calibrating a LLM. It is computationally efficient, preserves the accuracy of the LLM, and produces better-calibrated responses for new tasks. Extensive empirical evaluations across various benchmarks demonstrate the effectiveness of the proposed method.

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

↑