atlas

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

Distinguishing the Knowable from the Unknowable with Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: Statistical frameworks for LLM evaluation · 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 linear probes on a small LLM's activations can predict when a much larger proxy LLM will be confident (epistemic vs aleatoric token uncertainty), transfer across text domains, and an unsupervised in-context learning test (ICLT) gives non-trivial separation.

Problem

Identifying epistemic uncertainty (lack of knowledge) rather than aleatoric uncertainty (inherent entropy) in free-form LLM token predictions, without ground-truth distributions.

Approach

Use a much larger model's predictive entropy as a proxy for the ground truth to label tokens as epistemic or aleatoric, train small probes on the small model's frozen embeddings to predict these labels, and propose an unsupervised In-Context Learning Test that measures how much the small model copies a repeated hint in its context.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train a linear probe on LLaMA 7B activations to predict LLaMA 30B confidenceLLaMA 7B · WikipediaAUROC: 0.54 -> 0.94Helped
Train a linear probe on LLaMA 7B activations to predict LLaMA 65B confidenceLLaMA 7B · WikipediaAUROC: 0.54 -> 0.93Helped
Train a linear probe on Pythia 1.4B activations to predict Pythia 12B confidencePythia 1.4B · WikipediaAUROC: 0.59 -> 0.87Helped
Transfer the LLaMA probe trained on Wikipedia to other domainsLLaMA 7B / LLaMA 30B · Code, EuroParl, and Stack ExchangeAUROC: Code 0.82; Europarl 0.79; Stack Ex. 0.88Mixed
Use ICLT repeated prompts with top-token hintsLLaMA 7B / LLaMA 30B · Wikipedia, entropy band [2.0, 3.0)AUROC: 0.56 -> 0.71Helped
Use ICLT repeated prompts with top-token hintsPythia 70M / Pythia 12B · Wikipedia, entropy band [2.0, 3.0)AUROC: 0.60 -> 0.54Hurt
Use ICLT repeated prompts with top-token hintsPythia 410M / Pythia 12B · Wikipedia, entropy band [2.0, 3.0)AUROC: 0.59 -> 0.53Hurt
Add BOS as the context separator rather than using no separator (ablation)ICLT with LLaMA 7B / LLaMA 30B · Wikipedia, entropy band [2.0, 3.0)AUROC: 0.56 -> 0.68Helped
Replace BOS with BOS and EOS separators (ablation)ICLT with LLaMA 7B / LLaMA 30B · Wikipedia, entropy band [2.0, 3.0)AUROC: 0.68 -> 0.67Hurt
Replace BOS separator with EOS only (ablation)ICLT with LLaMA 7B / LLaMA 30B · Wikipedia, entropy band [2.0, 3.0)AUROC: 0.68 -> 0.62Hurt
Remove the context separator (ablation)ICLT with LLaMA 7B / LLaMA 30B · Wikipedia, entropy band [2.0, 3.0)AUROC: 0.68 -> 0.56Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Wikipedia articles (post-cutoff, June 2023) The Pile evaluation and test sets (Code, StackExchange, EuroParl)

Benchmarks: Wikipedia held-out test set The Pile Code The Pile EuroParl The Pile StackExchange

Metrics: AUROC accuracy

Baselines: Best entropy threshold (BET) BET-FT Small model entropy (SME) Prediction from initial embeddings (PIE)

Builds on: Epistemic Neural Networks Contrast-Consistent Search

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