CodecLM: Aligning Language Models with Tailored Synthetic Data
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
Abstract (arXiv)
Instruction tuning has emerged as the key in aligning large language models (LLMs) with specific task instructions, thereby mitigating the discrepancy between the next-token prediction objective and users' actual goals. To reduce the labor and time cost to collect or annotate data by humans, researchers start to explore the use of LLMs to generate instruction-aligned synthetic data. Recent works focus on generating diverse instructions and applying LLM to increase instruction complexity, often neglecting downstream use cases. It remains unclear how to tailor high-quality data to elicit better instruction-following abilities in different target instruction distributions and LLMs. To this end, we introduce CodecLM, a general framework for adaptively generating high-quality synthetic data for LLM alignment with different downstream instruction distributions and LLMs. Drawing on the Encode-Decode principles, we use LLMs as codecs to guide the data generation process. We first encode seed instructions into metadata, which are concise keywords generated on-the-fly to capture the target instruction distribution, and then decode metadata to create tailored instructions. We also introduce Self-Rubrics and Contrastive Filtering during decoding to tailor data-efficient samples. Extensive experiments on four open-domain instruction following benchmarks validate the effectiveness of CodecLM over the current state-of-the-arts.
Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 39 of its 54 references that are in the map. First posted on arXiv 8 Apr 2024.
Builds on
39 of 54 references.
Closest ancestors · 4
Same direction, newest first
- 2023LIMA: Less Is More for Alignment18 May
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignment14 Apr
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructions20 Dec
- 2022Training language models to follow instructions with human feedback4 Mar
Other references · 35
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
23 more
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2023Large Language Models as Optimizerscited by 830
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 738
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2023Bias and Fairness in Large Language Models: A Surveycited by 626
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
- 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
- 2023Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Biascited by 230
- 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 200
- 2021Generating Datasets with Pretrained Language Modelscited by 192
- 2021ExT5: Towards Extreme Multi-Task Scaling for Transfer Learningcited by 161
- 2023SteerLM: Attribute Conditioned SFT as an (User-Steerable) Alternative to RLHFcited by 107
- 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 91
- 2020The Turking Test: Can Language Models Understand Instructions?cited by 82
- 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoringcited by 68
- 2023Language Models Get a Gender Makeover: Mitigating Gender Bias with Few-Shot Data Interventionscited by 28
- 2023Mixture of Soft Prompts for Controllable Data Generationcited by 23
Built on by
Citing papers per year: 2024: 14; 2025: 12; 2026: 13.
39 papers.
Sort:
By area:
- 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 341
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Codingcited by 115
- 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Modelscited by 73
- 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agentscited by 56
- 2024On the Diversity of Synthetic Data and its Impact on Training Large Language Modelscited by 56
- 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
- 2024A Comprehensive Evaluation of Cognitive Biases in LLMscited by 32
- 2024ProVision: Programmatically Scaling Vision-centric Instruction Data for Multimodal Language Modelscited by 21
- 2025BeyondWeb: Lessons from Scaling Synthetic Data for Trillion-scale Pretrainingcited by 19
- 2024Enhancing Prompt Injection Attacks to LLMs via Poisoning Alignmentcited by 18
- 2024Stronger Models are NOT Stronger Teachers for Instruction Tuningcited by 16
27 more
- 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMscited by 14
- 2026A Survey on LLM-based Conversational User Simulationcited by 14
- 2025A Strategic Coordination Framework of Small LLMs Matches Large LLMs in Data Synthesiscited by 9
- 2024Forewarned is Forearmed: Leveraging LLMs for Data Synthesis through Failure-Inducing Explorationcited by 7
- 2024LLM Teacher-Student Framework for Text Classification With No Manually Annotated Data: A Case Study in IPTC News Topic Classificationcited by 6
- 2025CrowdSelect: Synthetic Instruction Data Selection with Multi-LLM Wisdomcited by 6
- 2025STEER-BENCH: A Benchmark for Evaluating the Steerability of Large Language Modelscited by 6
- 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Datacited by 5
- 2025TAG-INSTRUCT: Controlled Instruction Complexity Enhancement through Structure-based Augmentationcited by 3
- 2024AIDE: Attribute-Guided MultI-Hop Data Expansion for Data Scarcity in Task-Specific Fine-tuningcited by 2
- 2025Building A Proof-Oriented Programmer That Is 64% Better Than GPT-4o Under Data Scarcitycited by 2
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Modelscited by 2
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Managementcited by 2
- 2025What Matters in LLM-generated Data: Diversity and Its Effect on Model Fine-Tuningcited by 1
- 2025PIKA: Expert-Level Synthetic Datasets for Post-Training Alignment from Scratchcited by 1
- 2025Evaluating LLMs Without Oracle Feedback: Agentic Annotation Evaluation Through Unsupervised Consistency Signalscited by 0
- 2025Factors That Support Grounded Responses in LLM Conversations: A Rapid Reviewcited by 0
- 2026From National Curricula to Cultural Awareness: Constructing Open-Ended Culture-Specific Question Answering Datasetcited by 0
- 2026Agents of Diffusion: Enhancing Diffusion Language Models with Multi-Agent Reinforcement Learning for Structured Data Generation (Extended Version)cited by 0
- 2026Synthesizing Instruction-Tuning Datasets with Contrastive Decodingcited by 0
- 2026STELLAR-E: a Synthetic, Tailored, End-to-end LLM Application Rigorous Evaluatorcited by 0
- 2026Scaling LLM Knowledge Boundaries via Distribution-Optimized Synthesiscited by 0
- 2026TrafficAlign: Aligning Large Language Models for Traffic Scenario Generationcited by 0
- 2026BridgeAlign: Bridging Preference Alignment for Humanities and Social Sciencescited by 0
- 2026Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applicationscited by 0
- 2026Failure-Guided Co-Evolution of Prompts and Training Datacited by 0
- 2026Invent a Dataset: Measuring dataset generation abilities with zero seedcited by 0
- 2026Invent a Dataset: Measuring dataset generation abilities with zero seed1 Oct 2026
- 2026Failure-Guided Co-Evolution of Prompts and Training Data14 Sep 2026
- 2026Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applications24 Aug 2026
- 2026BridgeAlign: Bridging Preference Alignment for Humanities and Social Sciences29 Jul 2026
- 2026TrafficAlign: Aligning Large Language Models for Traffic Scenario Generation27 Jun 2026
- 2026Scaling LLM Knowledge Boundaries via Distribution-Optimized Synthesis22 Jun 2026
- 2026A Survey on LLM-based Conversational User Simulation27 Apr 2026
- 2026STELLAR-E: a Synthetic, Tailored, End-to-end LLM Application Rigorous Evaluator27 Apr 2026
- 2026Synthesizing Instruction-Tuning Datasets with Contrastive Decoding15 Apr 2026
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Management9 Feb 2026
- 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Data25 Jan 2026
- 2026Agents of Diffusion: Enhancing Diffusion Language Models with Multi-Agent Reinforcement Learning for Structured Data Generation (Extended Version)12 Jan 2026
27 more
- 2026From National Curricula to Cultural Awareness: Constructing Open-Ended Culture-Specific Question Answering Dataset8 Jan 2026
- 2025Factors That Support Grounded Responses in LLM Conversations: A Rapid Review24 Nov 2025
- 2025PIKA: Expert-Level Synthetic Datasets for Post-Training Alignment from Scratch8 Oct 2025
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Models19 Sep 2025
- 2025Evaluating LLMs Without Oracle Feedback: Agentic Annotation Evaluation Through Unsupervised Consistency Signals10 Sep 2025
- 2025BeyondWeb: Lessons from Scaling Synthetic Data for Trillion-scale Pretraining14 Aug 2025
- 2025What Matters in LLM-generated Data: Diversity and Its Effect on Model Fine-Tuning24 Jun 2025
- 2025STEER-BENCH: A Benchmark for Evaluating the Steerability of Large Language Models27 May 2025
- 2025TAG-INSTRUCT: Controlled Instruction Complexity Enhancement through Structure-based Augmentation24 May 2025
- 2025A Strategic Coordination Framework of Small LLMs Matches Large LLMs in Data Synthesis11 Apr 2025
- 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Coding4 Mar 2025
- 2025CrowdSelect: Synthetic Instruction Data Selection with Multi-LLM Wisdom3 Mar 2025
- 2025Building A Proof-Oriented Programmer That Is 64% Better Than GPT-4o Under Data Scarcity17 Feb 2025
- 2024ProVision: Programmatically Scaling Vision-centric Instruction Data for Multimodal Language Models9 Dec 2024
- 2024AIDE: Attribute-Guided MultI-Hop Data Expansion for Data Scarcity in Task-Specific Fine-tuning9 Dec 2024
- 2024LLM Teacher-Student Framework for Text Classification With No Manually Annotated Data: A Case Study in IPTC News Topic Classification29 Nov 2024
- 2024Stronger Models are NOT Stronger Teachers for Instruction Tuning11 Nov 2024
- 2024Forewarned is Forearmed: Leveraging LLMs for Data Synthesis through Failure-Inducing Exploration22 Oct 2024
- 2024A Comprehensive Evaluation of Cognitive Biases in LLMs20 Oct 2024
- 2024On the Diversity of Synthetic Data and its Impact on Training Large Language Models19 Oct 2024
- 2024Enhancing Prompt Injection Attacks to LLMs via Poisoning Alignment18 Oct 2024
- 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMs29 Sep 2024
- 2024What is the Role of Small Models in the LLM Era: A Survey10 Sep 2024
- 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Models19 Jun 2024
- 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing12 Jun 2024
- 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents26 May 2024
- 2024Continual Learning of Large Language Models: A Comprehensive Survey25 Apr 2024
- 2024On the Diversity of Synthetic Data and its Impact on Training Large Language Modelscited by 56
- 2025BeyondWeb: Lessons from Scaling Synthetic Data for Trillion-scale Pretrainingcited by 19
- 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMscited by 14
- 2025A Strategic Coordination Framework of Small LLMs Matches Large LLMs in Data Synthesiscited by 9
- 2024Forewarned is Forearmed: Leveraging LLMs for Data Synthesis through Failure-Inducing Explorationcited by 7
- 2025CrowdSelect: Synthetic Instruction Data Selection with Multi-LLM Wisdomcited by 6
- 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Datacited by 5
- 2025What Matters in LLM-generated Data: Diversity and Its Effect on Model Fine-Tuningcited by 1
- 2026Synthesizing Instruction-Tuning Datasets with Contrastive Decodingcited by 0
- 2026Synthesizing Instruction-Tuning Datasets with Contrastive Decoding15 Apr 2026
- 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Data25 Jan 2026
- 2025BeyondWeb: Lessons from Scaling Synthetic Data for Trillion-scale Pretraining14 Aug 2025
- 2025What Matters in LLM-generated Data: Diversity and Its Effect on Model Fine-Tuning24 Jun 2025
- 2025A Strategic Coordination Framework of Small LLMs Matches Large LLMs in Data Synthesis11 Apr 2025
- 2025CrowdSelect: Synthetic Instruction Data Selection with Multi-LLM Wisdom3 Mar 2025
- 2024Forewarned is Forearmed: Leveraging LLMs for Data Synthesis through Failure-Inducing Exploration22 Oct 2024
- 2024On the Diversity of Synthetic Data and its Impact on Training Large Language Models19 Oct 2024
- 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMs29 Sep 2024
- 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Modelscited by 73
- 2025PIKA: Expert-Level Synthetic Datasets for Post-Training Alignment from Scratchcited by 1
- 2026TrafficAlign: Aligning Large Language Models for Traffic Scenario Generationcited by 0
- 2026BridgeAlign: Bridging Preference Alignment for Humanities and Social Sciencescited by 0
- 2026BridgeAlign: Bridging Preference Alignment for Humanities and Social Sciences29 Jul 2026
- 2026TrafficAlign: Aligning Large Language Models for Traffic Scenario Generation27 Jun 2026
- 2025PIKA: Expert-Level Synthetic Datasets for Post-Training Alignment from Scratch8 Oct 2025
- 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Models19 Jun 2024
- 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agentscited by 56
- 2025Evaluating LLMs Without Oracle Feedback: Agentic Annotation Evaluation Through Unsupervised Consistency Signalscited by 0
- 2026Agents of Diffusion: Enhancing Diffusion Language Models with Multi-Agent Reinforcement Learning for Structured Data Generation (Extended Version)cited by 0
- 2026Agents of Diffusion: Enhancing Diffusion Language Models with Multi-Agent Reinforcement Learning for Structured Data Generation (Extended Version)12 Jan 2026
- 2025Evaluating LLMs Without Oracle Feedback: Agentic Annotation Evaluation Through Unsupervised Consistency Signals10 Sep 2025
- 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents26 May 2024
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
- 2024A Comprehensive Evaluation of Cognitive Biases in LLMscited by 32
- 2024Stronger Models are NOT Stronger Teachers for Instruction Tuningcited by 16
- 2026A Survey on LLM-based Conversational User Simulationcited by 14
- 2024LLM Teacher-Student Framework for Text Classification With No Manually Annotated Data: A Case Study in IPTC News Topic Classificationcited by 6
- 2025STEER-BENCH: A Benchmark for Evaluating the Steerability of Large Language Modelscited by 6
- 2025TAG-INSTRUCT: Controlled Instruction Complexity Enhancement through Structure-based Augmentationcited by 3
- 2024AIDE: Attribute-Guided MultI-Hop Data Expansion for Data Scarcity in Task-Specific Fine-tuningcited by 2
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Modelscited by 2
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Managementcited by 2
- 2025Factors That Support Grounded Responses in LLM Conversations: A Rapid Reviewcited by 0
12 most cited of 18 All 18 (JSON)
- 2026Invent a Dataset: Measuring dataset generation abilities with zero seed1 Oct 2026
- 2026Failure-Guided Co-Evolution of Prompts and Training Data14 Sep 2026
- 2026Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applications24 Aug 2026
- 2026Scaling LLM Knowledge Boundaries via Distribution-Optimized Synthesis22 Jun 2026
- 2026A Survey on LLM-based Conversational User Simulation27 Apr 2026
- 2026STELLAR-E: a Synthetic, Tailored, End-to-end LLM Application Rigorous Evaluator27 Apr 2026
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Management9 Feb 2026
- 2026From National Curricula to Cultural Awareness: Constructing Open-Ended Culture-Specific Question Answering Dataset8 Jan 2026
- 2025Factors That Support Grounded Responses in LLM Conversations: A Rapid Review24 Nov 2025
- 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Models19 Sep 2025
- 2025STEER-BENCH: A Benchmark for Evaluating the Steerability of Large Language Models27 May 2025
- 2025TAG-INSTRUCT: Controlled Instruction Complexity Enhancement through Structure-based Augmentation24 May 2025
12 newest of 18 All 18 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Towards Alignment-Centric Paradigm: A Survey of Instruction Tuning in Large Language Models
- 2024SelfCodeAlign: Self-Alignment for Code Generation
- 2025From Real to Synthetic: Synthesizing Millions of Diversified and Complicated User Instructions with Attributed Grounding
- 2024Aligners: Decoupling LLMs and Alignment
- 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation
- 2024Better Alignment with Instruction Back-and-Forth Translation
- 2024LongAlign: A Recipe for Long Context Alignment of Large Language Models
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferences