mlsanityData to 7 Oct 2026

Are We Building on the Rock? On the Importance of Data Preprocessing for Code Summarization

arXiv 2207.05579 ↗First posted 12 Jul 2022cs.SEcited by 22

Not on the map. Why?

Abstract (arXiv)

Code summarization, the task of generating useful comments given the code, has long been of interest. Most of the existing code summarization models are trained and validated on widely-used code comment benchmark datasets. However, little is known about the quality of the benchmark datasets built from real-world projects. Are the benchmark datasets as good as expected? To bridge the gap, we conduct a systematic research to assess and improve the quality of four benchmark datasets widely used for code summarization tasks. First, we propose an automated code-comment cleaning tool that can accurately detect noisy data caused by inappropriate data preprocessing operations from existing benchmark datasets. Then, we apply the tool to further assess the data quality of the four benchmark datasets, based on the detected noises. Finally, we conduct comparative experiments to investigate the impact of noisy data on the performance of code summarization models. The results show that these data preprocessing noises widely exist in all four benchmark datasets, and removing these noisy data leads to a significant improvement on the performance of code summarization. We believe that the findings and insights will enable a better understanding of data quality in code summarization tasks, and pave the way for relevant research and practice.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Jul 2022.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 8; 2024: 4; 2025: 7; 2026: 3.

22 papers.

Sort:

By area:

  1. 2023Distilled GPT for Source Code Summarizationcited by 30
  2. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  3. 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generationcited by 20
  4. 2023Data Cleaning and Machine Learning: A Systematic Literature Reviewcited by 9
  5. 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
  6. 2024The Fault in our Stars: Quality Assessment of Code Generation Benchmarkscited by 9
  7. 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarizationcited by 6
  8. 2024XMainframe: A Large Language Model for Mainframe Modernizationcited by 6
  9. 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Taskscited by 6
  10. 2023Semantic Similarity Loss for Neural Source Code Summarizationcited by 5
  11. 2023DocChecker: Bootstrapping Code Large Language Model for Detecting and Resolving Code-Comment Inconsistenciescited by 3
  12. 2023Revisiting File Context for Source Code Summarizationcited by 3
10 more
  1. 2025Commenting Higher-level Code Unit: Full Code, Reduced Code, or Hierarchical Code Summarizationcited by 3
  2. 2024MESIA: Understanding and Leveraging Supplementary Nature of Method-level Comments for Automatic Comment Generationcited by 2
  3. 2025CIDRe: A Reference-Free Multi-Aspect Criterion for Code Comment Quality Measurementcited by 1
  4. 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
  5. 2026Automated Summarization of Software Documents: An LLM-based Multi-Agent Approachcited by 1
  6. 2025AI-Mediated Code Comment Improvementcited by 0
  7. 2025Enhancing Neural Code Representation with Additional Contextcited by 0
  8. 2025Toward Explaining Large Language Models in Software Engineering Taskscited by 0
  9. 2026On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Studycited by 0
  10. 2026On the Lexical Superstition of Large Language Models for Code Comprehension: Re-evaluation on Code of Low Lexical Qualitycited by 0