mlsanityData to 7 Oct 2026

Decoding Data Quality via Synthetic Corruptions: Embedding-guided Pruning of Code Data

arXiv 2312.02418 ↗First posted 5 Dec 2023cs.CL cs.AI cs.LGcited by 12

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  5. 2021Program Synthesis with Large Language Modelscited by 3,509
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  7. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  9. 2023Textbooks Are All You Needcited by 561
  10. 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
  11. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  12. 2023The Curse of Recursion: Training on Generated Data Makes Models Forgetcited by 343
3 more
  1. 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 295
  2. 2023GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Modelscited by 174
  3. 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 146

Built on by

Cited by year

Citing papers per year: 2024: 7; 2025: 5.

12 papers.