atlas

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

The Reversal Curse: LLMs trained on “A is B” fail to learn “B is A”

ICLR 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 31 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 LLMs finetuned on "A is B" facts fail to generalize to "B is A" (the Reversal Curse), across GPT-3, Llama-1, and GPT-4 tests on celebrity parent-child facts.

Problem

Whether auto-regressive LLMs trained on "A is B" statements generalize to the logically equivalent reverse "B is A" direction.

Approach

Identifies an ordering effect in LLM knowledge: finetuning on name-then-description facts yields near-chance recall in the reverse direction, even though the reversed statement is logically implied; the paper frames this as the Reversal Curse and tests it with synthetic finetuning, real-world celebrity queries, and instruction reversal.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Reverse the fact order between finetuning and evaluationGPT-3-175B on fictitious celebrity facts · Experiment 1, NameToDescriptionexact-match accuracy: 50.0 ± 2.1 -> 0.0 ± 0.0Hurt
Reverse the fact order between finetuning and evaluationGPT-3-175B on fictitious celebrity facts · Experiment 1, DescriptionToNameexact-match accuracy: 96.7 ± 1.2 -> 0.1 ± 0.1Hurt
Query GPT-4 for the child instead of the parentGPT-4 on celebrity-parent relations · Experiment 2, celebrity parentsaccuracy: 79% -> 33%Hurt
Reverse the instruction direction from QuestionToAnswer to AnswerToQuestionLlama-1 on held-out question-answer pairs · Experiment 3, instruction reversalexact-match accuracy: above 80% -> below 7%Hurt
Provide the reversed fact in 3-shot in-context examplesGPT-3 on fictitious celebrity facts · Experiment 1, GPT-3 in-context reversalaccuracy: 100Helped
Increase the dataset to 40,000 documents (ablation)GPT-3-350M on fictitious celebrity facts · Experiment 1, NameToDescription reverse directionexact-match accuracy: 0.0No clear effect
Increase the dataset to 40,000 documents (ablation)GPT-3-350M on fictitious celebrity facts · Experiment 1, DescriptionToName reverse directionexact-match accuracy: 0.0No clear effect
Use prompt tuning instead of full finetuning (ablation)Llama-1 7b on a synthetic name-description fact · Experiment 1, reverse directionlossNo clear effect
Compare correct-name and random-name likelihoods after NameToDescription finetuningGPT-3 on fictitious celebrity facts · Experiment 1, reverse directionlog-probabilityNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic celebrity facts generated by GPT-4 IMDB top 1000 celebrities list

Benchmarks: synthetic fictitious celebrity facts (held-out prompts) real-world celebrity parent-child pairs synthetic instruction QA reversal

Metrics: exact-match accuracy log-probability of correct name vs random name t-test Kolmogorov-Smirnov test

Baselines: Llama-1 7B Llama-1 13B Llama-1 30B GPT-3-350M GPT-3-175B

Builds on: prompt tuning GPT-3 finetuning

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