cs.AINov 24, 2026

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

Authors: Xiaofeng Shi, Qian Kou, Hua Zhou

Organizations: Beijing Academy of Artificial Intelligence (BAAI)

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. 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.

Explore similar work

CardsList
  1. Instruction Retrieval at Inference Time for Small Language Models

    Oct 15, 2025Kenan Alkiek, David Jurgens, Vinod VydiswaranKnowledge Augmentation for Language ModelsSmall Language Models

  2. FineInstructions: Scaling Synthetic Instructions to Pre-Training Scale

    Jan 29, 2026Ajay Patel, Colin Raffel, Chris Callison-BurchLanguage Model PretrainingSynthetic Data Pretraining