mlsanityData to 7 Oct 2026

CodecLM: Aligning Language Models with Tailored Synthetic Data

arXiv 2404.05875 ↗First posted 8 Apr 2024cs.CL cs.AI cs.LGcited by 39

On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods

also in 1 more
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

  1. 2023LIMA: Less Is More for Alignment18 May
  2. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignment14 Apr
  3. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructions20 Dec
  4. 2022Training language models to follow instructions with human feedback4 Mar

Other references · 35

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  8. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  9. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  10. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  11. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  12. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
23 more
  1. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  2. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  3. 2023Large Language Models as Optimizerscited by 830
  4. 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 738
  5. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  6. 2023Bias and Fairness in Large Language Models: A Surveycited by 626
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  8. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  9. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  10. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  11. 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
  12. 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
  13. 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
  14. 2023Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Biascited by 230
  15. 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 200
  16. 2021Generating Datasets with Pretrained Language Modelscited by 192
  17. 2021ExT5: Towards Extreme Multi-Task Scaling for Transfer Learningcited by 161
  18. 2023SteerLM: Attribute Conditioned SFT as an (User-Steerable) Alternative to RLHFcited by 107
  19. 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 91
  20. 2020The Turking Test: Can Language Models Understand Instructions?cited by 82
  21. 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoringcited by 68
  22. 2023Language Models Get a Gender Makeover: Mitigating Gender Bias with Few-Shot Data Interventionscited by 28
  23. 2023Mixture of Soft Prompts for Controllable Data Generationcited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 14; 2025: 12; 2026: 13.

39 papers.

Sort:

By area:

  1. 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 341
  2. 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
  3. 2025KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Codingcited by 115
  4. 2024Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Modelscited by 73
  5. 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agentscited by 56
  6. 2024On the Diversity of Synthetic Data and its Impact on Training Large Language Modelscited by 56
  7. 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
  8. 2024A Comprehensive Evaluation of Cognitive Biases in LLMscited by 32
  9. 2024ProVision: Programmatically Scaling Vision-centric Instruction Data for Multimodal Language Modelscited by 21
  10. 2025BeyondWeb: Lessons from Scaling Synthetic Data for Trillion-scale Pretrainingcited by 19
  11. 2024Enhancing Prompt Injection Attacks to LLMs via Poisoning Alignmentcited by 18
  12. 2024Stronger Models are NOT Stronger Teachers for Instruction Tuningcited by 16
27 more
  1. 2024Balancing Cost and Effectiveness of Synthetic Data Generation Strategies for LLMscited by 14
  2. 2026A Survey on LLM-based Conversational User Simulationcited by 14
  3. 2025A Strategic Coordination Framework of Small LLMs Matches Large LLMs in Data Synthesiscited by 9
  4. 2024Forewarned is Forearmed: Leveraging LLMs for Data Synthesis through Failure-Inducing Explorationcited by 7
  5. 2024LLM Teacher-Student Framework for Text Classification With No Manually Annotated Data: A Case Study in IPTC News Topic Classificationcited by 6
  6. 2025CrowdSelect: Synthetic Instruction Data Selection with Multi-LLM Wisdomcited by 6
  7. 2025STEER-BENCH: A Benchmark for Evaluating the Steerability of Large Language Modelscited by 6
  8. 2026A Survey on Evaluating Quality and Trustworthiness in LLM-Generated Datacited by 5
  9. 2025TAG-INSTRUCT: Controlled Instruction Complexity Enhancement through Structure-based Augmentationcited by 3
  10. 2024AIDE: Attribute-Guided MultI-Hop Data Expansion for Data Scarcity in Task-Specific Fine-tuningcited by 2
  11. 2025Building A Proof-Oriented Programmer That Is 64% Better Than GPT-4o Under Data Scarcitycited by 2
  12. 2025Generating High-Quality Datasets for Code Editing via Open-Source Language Modelscited by 2
  13. 2026Data Science and Technology Towards AGI Part I: Tiered Data Managementcited by 2
  14. 2025What Matters in LLM-generated Data: Diversity and Its Effect on Model Fine-Tuningcited by 1
  15. 2025PIKA: Expert-Level Synthetic Datasets for Post-Training Alignment from Scratchcited by 1
  16. 2025Evaluating LLMs Without Oracle Feedback: Agentic Annotation Evaluation Through Unsupervised Consistency Signalscited by 0
  17. 2025Factors That Support Grounded Responses in LLM Conversations: A Rapid Reviewcited by 0
  18. 2026From National Curricula to Cultural Awareness: Constructing Open-Ended Culture-Specific Question Answering Datasetcited by 0
  19. 2026Agents of Diffusion: Enhancing Diffusion Language Models with Multi-Agent Reinforcement Learning for Structured Data Generation (Extended Version)cited by 0
  20. 2026Synthesizing Instruction-Tuning Datasets with Contrastive Decodingcited by 0
  21. 2026STELLAR-E: a Synthetic, Tailored, End-to-end LLM Application Rigorous Evaluatorcited by 0
  22. 2026Scaling LLM Knowledge Boundaries via Distribution-Optimized Synthesiscited by 0
  23. 2026TrafficAlign: Aligning Large Language Models for Traffic Scenario Generationcited by 0
  24. 2026BridgeAlign: Bridging Preference Alignment for Humanities and Social Sciencescited by 0
  25. 2026Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applicationscited by 0
  26. 2026Failure-Guided Co-Evolution of Prompts and Training Datacited by 0
  27. 2026Invent a Dataset: Measuring dataset generation abilities with zero seedcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Alignment-Centric Paradigm: A Survey of Instruction Tuning in Large Language Models
  2. 2024SelfCodeAlign: Self-Alignment for Code Generation
  3. 2025From Real to Synthetic: Synthesizing Millions of Diversified and Complicated User Instructions with Attributed Grounding
  4. 2024Aligners: Decoupling LLMs and Alignment
  5. 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation
  6. 2024Better Alignment with Instruction Back-and-Forth Translation
  7. 2024LongAlign: A Recipe for Long Context Alignment of Large Language Models
  8. 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferences