MétaCan
Menu
Back to cohort
Record W4308641647 · doi:10.1145/3540250.3549145

Are we building on the rock? on the importance of data preprocessing for code summarization

2022· article· en· W4308641647 on OpenAlexaff
Lin Shi, Fangwen Mu, Song Wang, Junjie Wang, Ye Yang, Ge Li, Xin Xia, Qing Wang

Bibliographic record

VenueProceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · 2022
Typearticle
Languageen
FieldComputer Science
TopicTopic Modeling
Canadian institutionsYork University
FundersNational Key Research and Development Program of ChinaNational Natural Science Foundation of ChinaYouth Innovation Promotion AssociationChinese Academy of SciencesNational Science Foundation
KeywordsAutomatic summarizationBenchmark (surveying)Computer sciencePreprocessorCode (set theory)Data pre-processingData miningBenchmarkingMachine learningTask (project management)Artificial intelligenceEngineering

Abstract

fetched live from OpenAlex

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.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.049
metaresearch head score (Gemma)0.295
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesnone
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Simulation or modeling · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: none
Teacher disagreement score0.049
Threshold uncertainty score0.261

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0490.295
Meta-epidemiology (narrow)0.0030.003
Meta-epidemiology (broad)0.0030.003
Bibliometrics0.0080.008
Science and technology studies0.0040.008
Scholarly communication0.0140.049
Open science0.0040.009
Research integrity0.0050.010
Insufficient payload (model declined to judge)0.0050.006

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.071
GPT teacher head0.253
Teacher spread0.182 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

The models applied no category: nothing in the taxonomy fit this work.
Study designSimulation or modeling
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations58
Published2022
Admission routes1
Has abstractyes

Explore more

Same venueProceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software EngineeringSame topicTopic ModelingFrench-language works237,207