InstructReplay: Replaying Assistant Turns to Preserve General Behavior During Factual Fine-Tuning

Xiaofeng Shi, Qian Kou, Hua Zhou
11/24/2026
cs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Fine-tuning an instruction-tuned language model on new facts often erodes its general abilities. We find that standard fine-tuning lowers instruction-following, reasoning and coding benchmarks by 35 points on average, and that these losses track a collapse in answer length: fine-tuned models at least halve their responses, and the further a response drifts from the initial model's length, the more often it fails.

Show full abstract

We propose InstructReplay: the initial model answers a set of general instructions once, and during fine-tuning the model is kept close to the initial model on these answers. Across three model families and two domains, InstructReplay reduces the average decline on five general benchmarks from 28.1 to 2.4 points and keeps answer length close to the initial model's, while learning the new facts as well as standard fine-tuning. It balances learning and retention better than seven adaptation methods in all six settings. Controlled comparisons attribute the gain to replaying the model's own answers to general instructions rather than to the form of the loss.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shi2026instructreplay,
  title  = {InstructReplay: Replaying Assistant Turns to Preserve General Behavior During Factual Fine-Tuning},
  author = {Xiaofeng Shi and Qian Kou and Hua Zhou},
  year   = {2026},
  eprint = {2611.32918},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.32918v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.32918.svg)](https://codeofpaper.com/paper/2611.32918)

Discussion