mlsanityData to 14 Oct 2026

Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Tasks

arXiv 2504.19444 ↗First posted 28 Apr 2025cs.SE cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Pre-trained code models rely heavily on high-quality pre-training data, particularly human-written reference comments that bridge code and natural language. However, these comments often become outdated as software evolves, degrading model performance. Large language models (LLMs) excel at generating high-quality code comments. We investigate whether replacing human-written comments with LLM-generated ones improves pre-training datasets. Since standard metrics cannot assess reference comment quality, we propose two novel reference-free evaluation tasks: code-comment inconsistency detection and semantic code search. Results show that LLM-generated comments are more semantically consistent with code than human-written ones, as confirmed by manual evaluation. Leveraging this finding, we rebuild the CodeSearchNet dataset with LLM-generated comments and re-pre-train CodeT5. Evaluations demonstrate that models trained on LLM-enhanced data outperform those using original human comments in code summarization, generation, and translation tasks. This work validates rebuilding pre-training datasets with LLMs to advance code intelligence, challenging the traditional reliance on human reference comments.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 44 of its 80 references that are in the map. First posted on arXiv 28 Apr 2025.

Builds on

44 of 80 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  9. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  10. 2024GPT-4o System Cardcited by 4,588
  11. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  12. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
32 more
  1. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  2. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  3. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  4. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  5. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  6. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  7. 2018Universal Sentence Encodercited by 489
  8. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  9. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  10. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
  11. 2020IntelliCode Compose: Code Generation Using Transformercited by 227
  12. 2020A Transformer-based Approach for Source Code Summarizationcited by 133
  13. 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 108
  14. 2018Mapping Language to Code in Programmatic Contextcited by 104
  15. 2019Beyond BLEU: Training Neural Machine Translation with Semantic Similaritycited by 84
  16. 2023A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challengescited by 75
  17. 2023Large Language Models are Few-Shot Summarizers: Multi-Intent Comment Generation via In-Context Learningcited by 72
  18. 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 69
  19. 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
  20. 2023Exploring the Potential of ChatGPT in Automated Code Refinement: An Empirical Studycited by 44
  21. 2023CodeFusion: A Pre-trained Diffusion Model for Code Generationcited by 31
  22. 2022On the Importance of Building High-quality Training Datasets for Neural Code Searchcited by 30
  23. 2020Code Summarization with Structure-induced Transformercited by 29
  24. 2022Are We Building on the Rock? On the Importance of Data Preprocessing for Code Summarizationcited by 22
  25. 2020Deep Just-In-Time Inconsistency Detection Between Comments and Source Codecited by 20
  26. 2023CCT5: A Code-Change-Oriented Pre-Trained Modelcited by 18
  27. 2023Developer-Intent Driven Code Comment Generationcited by 16
  28. 2019A Survey of Automatic Generation of Source Code Comments: Algorithms and Techniquescited by 15
  29. 2021Code to Comment Translation: A Comparative Study on Model Effectiveness & Errorscited by 6
  30. 2022Code Comment Inconsistency Detection with BERT and Longformercited by 6
  31. 2023Semantic Similarity Loss for Neural Source Code Summarizationcited by 5
  32. 2023UMSE: Unified Multi-scenario Summarization Evaluationcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.