atlas

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

Understanding Catastrophic Forgetting in Language Models via Implicit Inference

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Fine-tuning for reasoning data · 4 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 fine-tuning suppresses pretrained capabilities by shifting implicit task inference, and proposes conjugate prompting (e.g., translating prompts to non-English languages) to partially recover them in synthetic linear regression and LLMs.

Problem

Fine-tuning (instruction tuning, code fine-tuning, safety RLHF) causes catastrophic forgetting on tasks outside the fine-tuning distribution; the paper asks whether these capabilities are lost or merely suppressed.

Approach

Hypothesizes that LMs implicitly infer the task from the prompt and fine-tuning shifts this task inference rather than erasing capabilities; conjugate prompting transforms the prompt to a lower-likelihood-under-fine-tuning form (e.g., scaling labels, translating to other languages) whose answer can be inverted back to the original task.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Instruction-tune LLaMa to Alpaca and prompt in EnglishLLaMa · ICL vs instruction followingICL accuracy: 92.00 % -> 35.25 %Hurt
Translate Alpaca prompts from English to FrenchAlpaca · ICL vs instruction followingICL accuracy: 35.25 % -> 69.50 %Helped
Translate Alpaca prompts from English to LeetspeakAlpaca · ICL vs instruction followingICL accuracy: 35.25 % -> 75.00 %Helped
Instruction-tune LLaMa-2 on code and evaluate in EnglishLLaMa-2 · XNLI, Englishaccuracy: 44.26 % -> 35.90 %Hurt
Code fine-tune LLaMa-2 and prompt in FrenchLLaMa-2 · XNLI, Frenchaccuracy: 33.53 % -> 34.98 %Helped
Code fine-tune LLaMa-2 and prompt in SpanishLLaMa-2 · XNLI, Spanishaccuracy: 38.11 % -> 38.88 %Helped
Code fine-tune LLaMa-2 and prompt in GermanLLaMa-2 · XNLI, Germanaccuracy: 34.50 % -> 33.49 %Hurt
Safety fine-tune GPT-3.5 and prompt in EnglishGPT-3.5 · Harmful instruction following, Englishanswer frequency: 92 % -> 3 %Hurt
Safety fine-tune GPT-3.5 and prompt in MalayalamGPT-3.5 · Harmful instruction following, Malayalamanswer frequency: 71 % -> 65 %No clear effect
Fine-tune the linear-regression model on discrete tasksMixture-pretrained transformer · Continuous weight distributionlossHurt
Fine-tune the linear-regression model on discrete tasksMixture-pretrained transformer · Discrete weight distributionlossHelped
Apply conjugate prompting with scaled labelsFine-tuned linear-regression transformer · Continuous weight distributionlossHelped

Surprising findings

Limitations

Experimental setup

Datasets: XNLI MNLI AdvBench Synthetic linear regression tasks

Benchmarks: XNLI AdvBench In-context learning vs instruction following templates

Metrics: loss on continuous and discrete distributions first-word ICL accuracy XNLI accuracy answer frequency vs refusal

Baselines: Alpaca Vicuna-7b OPT-IML-1.3b Code LLaMa gpt-3.5-turbo

Builds on: in-context learning of linear functions Bayes-optimal implicit inference PPO-ptx

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