atlas

Research map / Large language models / Instruction and fine-tuning

Large Language Models Must Be Taught to Know What They Don’t Know

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that prompting-based and sampling-based uncertainty estimates are poorly calibrated for open-ended QA, and proposes calibration tuning: LoRA fine-tuning of LLMs on a ~20k graded-answer dataset to predict answer correctness, with a user study.

Problem

Black-box uncertainty estimates (token likelihoods, verbalized or zero-shot prompted confidence, sampling-based clustering) for LLMs are poorly calibrated and expensive in open-ended generation, raising the question of how to obtain reliable correctness probabilities for LLM answers.

Approach

Fine-tune the LLM itself (via LoRA, with a JSD regularizer toward the base model) on a small dataset of its own generations labeled correct/incorrect, so that a single forward pass yields calibrated P(correct); the learned estimator also transfers to other models' answers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune with LoRA + Prompt instead of Zero-Shot ClassifierLLaMA-2-7B · LiveCodeBench LeetCode easyECE: 41.0% -> 46.4%Hurt
Fine-tune with LoRA + Prompt instead of Zero-Shot ClassifierLLaMA-2-7B · LiveCodeBench LeetCode easyAUROC: 56.9% -> 80.0%Helped
Fine-tune with LoRA + Prompt instead of Zero-Shot ClassifierMistral-7B · LiveCodeBench LeetCode easyECE: 70.2% -> 21.4%Helped
Fine-tune with LoRA + Prompt instead of Zero-Shot ClassifierMistral-7B · LiveCodeBench LeetCode easyAUROC: 66.2% -> 85.1%Helped
Fine-tune with LoRA + Prompt instead of Zero-Shot ClassifierMistral-7B-Instruct · LiveCodeBench LeetCode easyECE: 52.7% -> 56.1%Hurt
Fine-tune with LoRA + Prompt instead of Zero-Shot ClassifierMistral-7B-Instruct · LiveCodeBench LeetCode easyAUROC: 47.1% -> 70.2%Helped
Add KL regularization (ablation)Calibration-tuned models · Calibration datasetECE: 29.9% -> 10.8%Helped
Add KL regularization (ablation)Calibration-tuned models · Calibration datasetAUROC: 70.2% -> 71.6%Helped
Train through the model's features with LoRA + Prompt instead of using frozen Probe featuresCalibration-tuned models · Open-ended MMLUAUROCHelped
Replace generated answers with incorrect answer options during training (ablation)LoRA + Prompt · MMLUAUROCHurt
Use frozen features with Probe instead of training through the model (ablation)Calibration-tuned models · Open-ended MMLUAUROCHurt

Surprising findings

Limitations

Experimental setup

Datasets: MMLU ARC BoolQ CommonsenseQA HellaSwag SelfAware LiveCodeBench

Benchmarks: MMLU open-ended MMLU SelfAware LiveCodeBench

Metrics: ECE AUROC

Baselines: zero-shot classifier verbalized confidence sampling counting baseline likelihood accumulation perplexity linear probe

Builds on: temperature scaling LoRA semantic uncertainty linear probes for truthfulness

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy