Post
34
🔁 InstructReplay cuts forgetting during factual fine-tuning
Fine-tuning SmolLM3-3B on biomedical QA raised its domain score by 21 percentage points. Its IFEval score fell from 71% to 9%. Could we get the domain gains and keep the model’s instruction-following skills?
🛠️ The method. We have the original model answer 9,600 general instructions once. During fine-tuning, we train on domain QA and replay those replies, matching the frozen model’s next-token predictions on the replayed answers.
📊 The results. Across three model families and two domains, average forgetting on five general benchmarks fell from 28.07 to 2.44 percentage points. Closed-book domain QA improved by 15.49 points with InstructReplay and 15.23 with standard supervised fine-tuning.
🔍 What to replay. With the same prompts and token loss, replaying the model’s own answers gave 3.1 points of forgetting, compared with 7.5 when replaying the dataset’s answers.
📄 Paper: InstructReplay: Replaying Assistant Turns to Preserve General Behavior During Factual Fine-Tuning (2611.32918)
💻 Code: https://github.com/xiaofengShi/InstructReplay
🌐 Project page and results: https://xiaofengshi.github.io/InstructReplay/
If you try this on another model or domain, we’d love to hear how it goes.
Fine-tuning SmolLM3-3B on biomedical QA raised its domain score by 21 percentage points. Its IFEval score fell from 71% to 9%. Could we get the domain gains and keep the model’s instruction-following skills?
🛠️ The method. We have the original model answer 9,600 general instructions once. During fine-tuning, we train on domain QA and replay those replies, matching the frozen model’s next-token predictions on the replayed answers.
📊 The results. Across three model families and two domains, average forgetting on five general benchmarks fell from 28.07 to 2.44 percentage points. Closed-book domain QA improved by 15.49 points with InstructReplay and 15.23 with standard supervised fine-tuning.
🔍 What to replay. With the same prompts and token loss, replaying the model’s own answers gave 3.1 points of forgetting, compared with 7.5 when replaying the dataset’s answers.
📄 Paper: InstructReplay: Replaying Assistant Turns to Preserve General Behavior During Factual Fine-Tuning (2611.32918)
💻 Code: https://github.com/xiaofengShi/InstructReplay
🌐 Project page and results: https://xiaofengshi.github.io/InstructReplay/
If you try this on another model or domain, we’d love to hear how it goes.