High-quality data augmentation for code comment classification

Thomas Borsani, Andrea Rosani, Giuseppe Di Fatta
1/27/2026
cs.SEcs.LG

No confident code implementation found for this paper.

Abstract

Code comments serve a crucial role in software development for documenting functionality, clarifying design choices, and assisting with issue tracking. They capture developers' insights about the surrounding source code, serving as an essential resource for both human comprehension and automated analysis.

Show full abstract

Nevertheless, since comments are in natural language, they present challenges for machine-based code understanding. To address this, recent studies have applied natural language processing (NLP) and deep learning techniques to classify comments according to developers' intentions. However, existing datasets for this task suffer from size limitations and class imbalance, as they rely on manual annotations and may not accurately represent the distribution of comments in real-world codebases. To overcome this issue, we introduce new synthetic oversampling and augmentation techniques based on high-quality data generation to enhance the NLBSE'26 challenge datasets. Our Synthetic Quality Oversampling Technique and Augmentation Technique (Q-SYNTH) yield promising results, improving the base classifier by $2.56\%$.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{borsani2026highquality,
  title  = {High-quality data augmentation for code comment classification},
  author = {Thomas Borsani and Andrea Rosani and Giuseppe Di Fatta},
  year   = {2026},
  eprint = {2601.19383},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.19383v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.19383.svg)](https://codeofpaper.com/paper/2601.19383)

Discussion