atlas

Research map / Continual learning / Online and replay-based

Unlocking the Power of Function Vectors for Characterizing and Mitigating Catastrophic Forgetting in Continual Instruction Tuning

ICLR 2025 · Continual learning › Online and replay-based · approach: Theoretical analysis of forgetting · 0 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.

Uses function vectors (FV) to characterize catastrophic forgetting in LLMs during continual instruction tuning, and proposes FV-guided training (an FV consistency loss plus FV-guided KL loss) that reduces forgetting when added to existing continual learning methods.

Problem

Catastrophic forgetting in LLMs during continual instruction tuning is poorly understood at the internal-mechanism level, and existing task-similarity measures (feature/readout similarity, parameter L2 distance) do not predict model-dependent forgetting well.

Approach

Interpret forgetting via function vectors (a compact causal-head summary of a task's function), finding forgetting stems from biased activation of the task latent variable rather than overwriting task functions; then regularize FV shifts and align zero-shot logits with FV-intervened logits during fine-tuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add function vector-guided training to LoraIncLlama2-7B-chat with LoraInc · NI-Seq-G1IP: +25.25Helped
Add function vector-guided training to LoraIncLlama2-7B-chat with LoraInc · NI-Seq-C1IP: +25.53Helped
Add function vector-guided training to LoraIncLlama2-7B-chat with LoraInc · NI-Seq-M1IP: +15.78Helped
Add function vector-guided training to LoraIncLlama2-7B-chat with LoraInc · TRACEIP: +16.17Helped
Add function vector-guided training to EWCLlama2-7B-chat with EWC · NI-Seq-G1IP: +27.18Helped
Add function vector-guided training to EWCLlama2-7B-chat with EWC · TRACEFP: -8.77Hurt
Add function vector-guided training to O-loraLlama2-7B-chat with O-lora · NI-Seq-M1FP: -0.42Hurt
Add function vector-guided training to InsCLLlama2-7B-chat with InsCL · NI-Seq-M1FP: -2.22Hurt
Add function vector-guided training to InsCLLlama3-8B-chat with InsCL · NI-Seq-M1FP: -2.80Hurt
Add the source evaluation-task function vector during inferenceContinually tuned LLM · HellaSwagperformance: 7.3Helped
Subtract the current training-task function vector during inferenceLlama2-7B-chat at M5 · HellaSwagperformance: 39.5 to 49.1Helped
Train on a generation-task sequence rather than a classification-task sequenceLlama3-8B-chat · NI-Seq-G1 vs NI-Seq-C1Forget: 1.3 vs 7.2Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SuperNI TRACE Hellaswag CommonsenseQA Alpaca BBH-Object-Count

Benchmarks: SuperNI sequences (NI-Seq-C1, NI-Seq-G1, NI-Seq-M1) TRACE Hellaswag CommonsenseQA Alpaca BBH-Object-Count

Metrics: GP (zero-shot general performance) IP (in-context general performance) FP (final trained-task performance) AP Forget Rouge-L

Baselines: IncLoRA EWC O-LoRA InsCL

Builds on: function vector Incremental LoRA Elastic Weight Consolidation O-LoRA InsCL

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