cs.CLApr 15, 2026

Synthesizing Instruction-Tuning Datasets with Contrastive Decoding

Authors: Tatsuya Ichinose, Youmi Ma, Masanari Oi, Ryuto Koike, Naoaki Okazaki

Organizations: Department of Computer Science, School of Computing, Institute of Science Tokyo · National Institute of Advanced Industrial Science and Technology · Research and Development Center for Large Language Models, NII

Abstract

Using responses generated by high-performing large language models (LLMs) for instruction tuning has become a widely adopted approach. However, the existing literature overlooks a property of LLM-generated responses: they conflate world knowledge acquired during pre-training with instruction-following capabilities acquired during post-training. We hypothesize that disentangling the instruction-following capabilities from pre-trained knowledge improves the effectiveness of instruction tuning. To this end, we propose CoDIT, a method that applies contrastive decoding between a post-trained model and its pre-trained counterpart during response generation. The method suppresses pre-trained knowledge shared between the two models while amplifying the instruction-following behavior acquired via post-training, resulting in responses that more purely reflect instruction-following capabilities. Experiment results demonstrate that models trained on datasets constructed via CoDIT consistently outperform those trained on directly generated responses. Training on our datasets also yields better performance than on existing publicly available instruction-tuning datasets across multiple benchmarks. Furthermore, we theoretically and empirically show that CoDIT can be interpreted as distilling the chat vector from parameter space to text space, enabling the transfer of instruction-tuning capabilities across models of different architectures.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FineInstructions: Scaling Synthetic Instructions to Pre-Training Scale

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

  2. Token Utility Is Selection-Conditioned: Coupled Selection of Prompt Context and Response Supervision for Instruction Tuning

    Sep 19, 2026Can Wu, Xinrui Chen, Ou Wu +1LLM Fine-TuningInstruction-Tuning Data Selection

  3. How LLMs Follow Instructions: Skillful Coordination, Not a Universal Mechanism

    Apr 7, 2026Elisabetta Rocchetti, Alfio FerraraLLM InterpretabilityInstruction Following