跳到正文
HuggingFace Daily Papers· Xiaofeng Shi, Qian Kou, Hua Zhou·· 3 天前AI 评分44

InstructReplay:微调新事实时重放助手回答以保持通用能力

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

AI 导读

在指令微调语言模型学习新事实时,标准微调会使指令遵循、推理和编码基准平均下降35分,且回答长度至少减半。InstructReplay让初始模型先回答一组通用指令,微调中使模型在这些回答上保持接近初始模型,在三个模型家族、两个领域中将五项通用基准的平均下降从28.1分降至2.4分,同时学习新事实的效果与标准微调相当。

正文 · 原文

View PDF

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.
Comments: Project page at this https URL and code at this https URL
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2611.32918 [cs.AI]
  (or arXiv:2611.32918v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2611.32918

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Xiaofeng Shi [view email]
[v1] Tue, 24 Nov 2026 16:33:20 UTC (4,809 KB)

来源:HuggingFace Daily Papers · arxiv.org