← Latest papers
🤖 machine learning

CRAFT: Forgetting-Aware Intervention-Based Adaptation for Continual Learning

CRAFT is a continual learning framework for large language models that mitigates catastrophic forgetting by learning low-rank interventions on hidden representations through a unified three-stage process of task routing, KL-divergence-based fine-tuning, and intervention merging, thereby outperforming strong LoRA-based approaches across multiple benchmarks.

Original authors: Md Anwar Hossen, Fatema Siddika, Juan Pablo Munoz, Tanya Roosta, Ali Jannesari

Published 2026-05-08
📖 4 min read☕ Coffee break read

Original authors: Md Anwar Hossen, Fatema Siddika, Juan Pablo Munoz, Tanya Roosta, Ali Jannesari

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a brilliant, highly trained librarian (the Large Language Model) who knows a lot about history, science, and cooking. You want to teach this librarian new skills every day: today it's coding, tomorrow it's summarizing legal documents, and the next day it's writing poetry.

The problem with traditional teaching methods is that to learn something new, the librarian has to rewrite their own brain. Every time they learn a new skill, they accidentally erase or scramble the old memories. This is called "catastrophic forgetting." If they learn to code, they might forget how to write poetry.

CRAFT is a new way to teach this librarian that solves this problem without ever rewriting their brain. Here is how it works, using simple analogies:

1. The "Sticky Notes" Instead of Rewriting the Brain

Instead of forcing the librarian to change their permanent memory (the model's weights), CRAFT gives them a stack of sticky notes (interventions).

  • The Brain: The librarian's original knowledge stays frozen and untouched. It never changes.
  • The Sticky Notes: When a new task comes in, CRAFT writes a tiny, low-rank "instruction" on a sticky note and sticks it onto the librarian's current thought process.
  • The Result: The librarian can do the new task perfectly using the note, but their original brain remains exactly as it was. No old memories are erased because the brain itself wasn't touched.

2. The "Smart Sorter" (Routing)

You can't just give the librarian a random sticky note for every single task; that would be chaotic. CRAFT uses a Smart Sorter to organize these notes.

  • The Warm-up: When a new task arrives (e.g., "Summarize a meeting"), CRAFT briefly tries it out to see what kind of "vibe" or output it produces.
  • The Match: It compares this vibe to the existing groups of sticky notes it already has.
    • If the new task feels like "Financial News," it gets grouped with the existing "Finance" sticky notes.
    • If it feels totally different, like "Writing Python Code," it gets its own new group.
  • No Extra Brain: Crucially, this sorter doesn't need to learn anything new itself. It just looks at the output and says, "Oh, this looks like Group A," or "This is new, let's make Group B."

3. The "Guardian" (Forgetting Control)

This is the most clever part. When the librarian learns a new task using a sticky note, there's a risk that the new note might accidentally mess up the old notes in the same group.

  • The Anchor: CRAFT takes a "snapshot" of what the group knew before the new task arrived. This is the Anchor.
  • The Safety Check: As the librarian learns the new task, CRAFT constantly checks: "Are you drifting too far away from what the group used to know?"
  • The KL Signal: It uses a mathematical measure called KL Divergence (think of it as a "Drift Meter") to measure the distance between the new behavior and the old behavior.
    • If the drift is small, the new note is safe to keep.
    • If the drift is huge (meaning the new task is too different and would ruin the old ones), the system stops the training or moves the task to a new group.
  • The Merge: Once the task is learned safely, the new note is merged back into the group's shared pile, updating the group's knowledge without breaking the old stuff.

Why is this better?

  • Efficiency: It uses far fewer "sticky notes" (parameters) than other methods because it shares notes between similar tasks.
  • No Forgetting: Because the original brain is frozen and the notes are carefully managed, the librarian remembers everything it learned yesterday while learning today.
  • Simplicity: It doesn't need a complex "gating" system to decide what to do; it just looks at the output and organizes naturally.

The Bottom Line

CRAFT treats continual learning not as "rewriting the brain," but as organizing a library of sticky notes. By keeping the brain frozen and using a single "Drift Meter" to ensure new notes don't mess up old ones, it allows Large Language Models to learn forever without forgetting who they are.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →