RAFT: Data Refinement and Adaptive Distillation for Domain Fine-Tuning with Alleviated Forgetting
Not on the map. Why?
Abstract (arXiv)
Domain-specific supervised fine-tuning (SFT) often improves in-domain performance at the cost of degrading a model's general capabilities. We view this degradation through two practical gaps in domain SFT: a supervision-compatibility gap, where domain targets differ in style and reasoning format from the original model's natural responses, and a trajectory-preservation gap, where teacher-forced SFT optimizes fixed target tokens without constraining the model's behavior on its own generated prefixes. This process fails to preserve the model's original behavior. We propose RAFT (Data Refinement and Adaptive Distillation for Domain Fine-Tuning with Alleviated Forgetting), a two-stage framework that addresses both factors. First, RAFT constructs model-compatible supervision through self-conditioned rewriting, semantic filtering, and answer fusion. Second, RAFT performs Answer-Conditioned On-Policy Distillation, where the original instruction-tuned model provides soft targets on student-generated trajectories while being conditioned on the fused answer as helpful context. We further introduce top-K temperature distillation and EMA-based adaptive loss balancing to stabilize the domain-general trade-off. Across three instruction-tuned backbones and five domains, RAFT improves average domain accuracy by 23.2% over standard SFT, while recovering part of the SFT-induced degradation on MS-Bench and IFEval, with relative improvements of 18.2% and 10.2%, respectively. These results show that coupling data refinement with trajectory-level preservation provides an effective recipe for domain fine-tuning with alleviated forgetting.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 25 of its 33 references that are in the map. First posted on arXiv 29 May 2026.
Builds on
25 of 33 references.
References · 25
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2018Experience Replay for Continual Learningcited by 1,074
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2020Aligning AI With Shared Human Valuescited by 706
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2025Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAscited by 491
- 2015Policy Distillationcited by 414
13 more
- 2026Reinforcement Learning via Self-Distillationcited by 285
- 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 226
- 2026Self-Distillation Enables Continual Learningcited by 212
- 2023Continual Pre-training of Language Modelscited by 194
- 2020Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgettingcited by 169
- 2023Understanding Catastrophic Forgetting in Language Models via Implicit Inferencecited by 138
- 2024Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsalcited by 114
- 2024Self-Distillation Bridges Distribution Gap in Language Model Fine-Tuningcited by 90
- 2023ModelScope-Agent: Building Your Customizable Agent System with Open-source Large Language Modelscited by 24
- 2025Common Corpus: The Largest Collection of Ethical Data for LLM Pre-Trainingcited by 19
- 2025Mitigating Catastrophic Forgetting in Large Language Models with Forgetting-aware Pruningcited by 12
- 2025CCI4.0: A Bilingual Pretraining Dataset for Enhancing Reasoning in Large Language Modelscited by 4
- 2026MSSR: Memory-Aware Adaptive Replay for Continual LLM Fine-Tuningcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.