Thermometer: Towards Universal Calibration for Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shen, Maohao, Das, Subhro, Greenewald, Kristjan, Sattigeri, Prasanna, Wornell, Gregory, Ghosh, Soumya
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909232145629184
author Shen, Maohao
Das, Subhro
Greenewald, Kristjan
Sattigeri, Prasanna
Wornell, Gregory
Ghosh, Soumya
author_facet Shen, Maohao
Das, Subhro
Greenewald, Kristjan
Sattigeri, Prasanna
Wornell, Gregory
Ghosh, Soumya
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_08819
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Thermometer: Towards Universal Calibration for Large Language Models
Shen, Maohao
Das, Subhro
Greenewald, Kristjan
Sattigeri, Prasanna
Wornell, Gregory
Ghosh, Soumya
Machine Learning
Computation and Language
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.
title Thermometer: Towards Universal Calibration for Large Language Models
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2403.08819