atlas

Research map / Large language models / Language, safety and interpretability

Conformal Language Modeling

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Statistical frameworks for LLM evaluation · 7 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.

Proposes conformal language modeling, calibrating a sampling stopping rule and rejection rule via Learn Then Test to produce LM output sets with distribution-free coverage guarantees, plus conformal selection of individually correct components.

Problem

Generative LMs have unbounded combinatorial output spaces, so standard conformal prediction cannot enumerate candidates; the paper seeks prediction sets for free-text generations with statistical coverage guarantees.

Approach

Calibrate hyperparameters of a sampling algorithm (diversity threshold, likelihood threshold, set-confidence stopping threshold) rather than enumerating outputs, using Learn Then Test with binomial tail p-values and Pareto testing; additionally calibrate a component-level selection threshold to output independently correct sentences.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use likelihood-based Max or Sum scoring instead of uniform First-K scoringConformal sampling · TriviaQA, CNN/DM, MIMIC-CXRexpected set sizeHelped
Use Max or Sum scoring instead of First-K scoringConformal sampling · TriviaQAAUC of expected set size: less than halfHelped
Use First-K scoring instead of likelihood-based scoringConformal sampling · Long-output tasksoutput set sizeNo clear effect
Use Max scoring instead of Sum or First-K scoringConformal sampling · Long-output tasksrelative number of excess samplesHelped
Add duplicate rejection to First-K scoring (ablation)Conformal sampling · Long-output tasksoutput set sizeNo clear effect
Add duplicate rejection to First-K scoring (ablation)Conformal sampling · Long-output taskssampling efficiencyHurt
Use likelihood-based Max, Sum, or First-K-reject scoring rather than First-KConformal sampling · All evaluated tasksset loss relative to target riskHelped
Model components independently rather than using the Random component-score baselineConformal component selection · Text summarization and radiology report generationnumber of confident componentsHelped

Limitations

Experimental setup

Datasets: MIMIC-CXR MIMIC-CXR-JPG CNN/DM TriviaQA MNLI SNLI FEVER SciTail PAWS VitaminC

Benchmarks: MIMIC-CXR CNN/DM TriviaQA

Metrics: set loss vs target epsilon normalized AUC of excess sample fraction normalized AUC of prediction set size component recall

Baselines: First-K First-K+reject Max scoring Sum scoring Random component baseline

Builds on: Learn Then Test split conformal prediction Pareto testing fixed sequence testing

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