Synthesizing Instruction-Tuning Datasets with Contrastive Decoding
On the map: Synthetic data and self-improvement for LLMs → Code and instruction data synthesis
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Code and instruction data synthesis, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 46 of its 61 references that are in the map. First posted on arXiv 15 Apr 2026.
Builds on
46 of 61 references.
Closest ancestors · 4
Same direction, newest first
- 2025Instruction-Tuning Data Synthesis from Scratch via Web Reconstruction22 Apr
- 2024Mosaic-IT: Cost-Free Compositional Data Synthesis for Instruction Tuning22 May
- 2024CodecLM: Aligning Language Models with Tailored Synthetic Data8 Apr
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructions20 Dec
Other references · 42
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,276
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 988
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 948
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 738
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 598
30 more
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 449
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 367
- 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 354
- 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 341
- 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 319
- 2023From Quantity to Quality: Boosting LLM Performance with Self-Guided Data Selection for Instruction Tuningcited by 301
- 2023Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2cited by 227
- 2024WildBench: Benchmarking LLMs with Challenging Tasks from Real Users in the Wildcited by 211
- 2023Self-Alignment with Instruction Backtranslationcited by 149
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 143
- 2025Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretrainingcited by 123
- 2023MoDS: Model-oriented Data Selection for Instruction Tuningcited by 107
- 2023Stay on topic with Classifier-Free Guidancecited by 90
- 2024Tuning Language Models by Proxycited by 88
- 2023Alleviating Hallucinations of Large Language Models through Induced Hallucinationscited by 78
- 2023Contrastive Decoding Improves Reasoning in Large Language Modelscited by 71
- 2023Chat Vector: A Simple Approach to Equip LLMs with Instruction Following and Model Alignment in New Languagescited by 52
- 2025The Best Instruction-Tuning Data are Those That Fitcited by 48
- 2023A Preliminary Study of the Intrinsic Relationship between Complexity and Alignmentcited by 33
- 2025RL Squeezes, SFT Expands: A Comparative Study of Reasoning LLMscited by 32
- 2024Linear Alignment: A Closed-form Solution for Aligning Human Preferences without Tuning and Feedbackcited by 25
- 2024Better Alignment with Instruction Back-and-Forth Translationcited by 16
- 2024Explaining and Improving Contrastive Decoding by Extrapolating the Probabilities of a Huge and Hypothetical LMcited by 11
- 2025UniDetox: Universal Detoxification of Large Language Models via Dataset Distillationcited by 8
- 2024NILE: Internal Consistency Alignment in Large Language Modelscited by 2
- 2025Contrastive Weak-to-strong Generalizationcited by 2
- 2023Open-Domain Text Evaluation via Contrastive Distribution Methodscited by 1
- 2024What's New in My Data? Novelty Exploration via Contrastive Generationcited by 1
- 2025Building Instruction-Tuning Datasets from Human-Written Instructions with Open-Weight Large Language Modelscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Aligning Instruction Tuning with Pre-training
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuning
- 2023Tuna: Instruction Tuning using Feedback from Large Language Models
- 2025Instruction Tuning with and without Context: Behavioral Shifts and Downstream Impact
- 2024Non-instructional Fine-tuning: Enabling Instruction-Following Capabilities in Pre-trained Language Models without Instruction-Following Data
- 2023Self-Evolved Diverse Data Sampling for Efficient Instruction Tuning
- 2026GIFT: Guided Fine-Tuning and Transfer for Enhancing Instruction-Tuned Language Models
- 2023Becoming self-instruct: introducing early stopping criteria for minimal instruct tuning