Decoding Data Quality via Synthetic Corruptions: Embedding-guided Pruning of Code Data
Not on the map. Why?
Abstract (arXiv)
Code datasets, often collected from diverse and uncontrolled sources such as GitHub, potentially suffer from quality issues, thereby affecting the performance and training efficiency of Large Language Models (LLMs) optimized for code generation. Previous studies demonstrated the benefit of using embedding spaces for data pruning, but they mainly focused on duplicate removal or increasing variety, and in other modalities, such as images. Our work focuses on using embeddings to identify and remove "low-quality" code data. First, we explore features of "low-quality" code in embedding space, through the use of synthetic corruptions. Armed with this knowledge, we devise novel pruning metrics that operate in embedding space to identify and remove low-quality entries in the Stack dataset. We demonstrate the benefits of this synthetic corruption informed pruning (SCIP) approach on the well-established HumanEval and MBPP benchmarks, outperforming existing embedding-based methods. Importantly, we achieve up to a 3% performance improvement over no pruning, thereby showing the promise of insights from synthetic corruptions for data pruning.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 15 of its 16 references that are in the map. First posted on arXiv 5 Dec 2023.
Builds on
15 of 16 references.
References · 15
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Textbooks Are All You Needcited by 561
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2023The Curse of Recursion: Training on Generated Data Makes Models Forgetcited by 343
Built on by
Citing papers per year: 2024: 7; 2025: 5.
12 papers.
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 552
- 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-trainingcited by 62
- 2024SmallToLarge (S2L): Scalable Data Selection for Fine-tuning Large Language Models by Summarizing Training Trajectories of Small Modelscited by 43
- 2025Improving Influence-based Instruction Tuning Data Selection for Balanced Learning of Diverse Capabilitiescited by 22
- 2025Hierarchical Fine-grained Preference Optimization for Physically Plausible Video Generationcited by 20
- 2024On Catastrophic Inheritance of Large Foundation Modelscited by 15
- 2024Intent-based Prompt Calibration: Enhancing prompt optimization with synthetic boundary casescited by 13
- 2024Refined Direct Preference Optimization with Synthetic Data for Behavioral Alignment of LLMscited by 10
- 2024BA-LoRA: Bias-Alleviating Low-Rank Adaptation to Mitigate Catastrophic Inheritance in Large Language Modelscited by 7
- 2024Brevity is the soul of wit: Pruning long files for code generationcited by 4
- 2025MM-GEN: Enhancing Task Performance Through Targeted Multimodal Data Curationcited by 4
- 2025Aligning Large Language Models via Fully Self-Synthetic Datacited by 3
- 2025Aligning Large Language Models via Fully Self-Synthetic Data8 Oct 2025
- 2025Hierarchical Fine-grained Preference Optimization for Physically Plausible Video Generation14 Aug 2025
- 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training17 Apr 2025
- 2025Improving Influence-based Instruction Tuning Data Selection for Balanced Learning of Diverse Capabilities21 Jan 2025
- 2025MM-GEN: Enhancing Task Performance Through Targeted Multimodal Data Curation7 Jan 2025
- 2024BA-LoRA: Bias-Alleviating Low-Rank Adaptation to Mitigate Catastrophic Inheritance in Large Language Models8 Aug 2024
- 2024Brevity is the soul of wit: Pruning long files for code generation29 Jun 2024
- 2024SmallToLarge (S2L): Scalable Data Selection for Fine-tuning Large Language Models by Summarizing Training Trajectories of Small Models12 Mar 2024
- 2024Refined Direct Preference Optimization with Synthetic Data for Behavioral Alignment of LLMs12 Feb 2024
- 2024Intent-based Prompt Calibration: Enhancing prompt optimization with synthetic boundary cases5 Feb 2024
- 2024On Catastrophic Inheritance of Large Foundation Models2 Feb 2024
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Models2 Jan 2024