Measuring Improvement of F$_1$-Scores in Detection of Self-Admitted Technical Debt

William Aiken, Paul K. Mvula, Paula Branco, Guy-Vincent Jourdan, Mehrdad Sabetzadeh +1 more
3/16/2023
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

Artificial Intelligence and Machine Learning have witnessed rapid, significant improvements in Natural Language Processing (NLP) tasks. Utilizing Deep Learning, researchers have taken advantage of repository comments in Software Engineering to produce accurate methods for detecting Self-Admitted Technical Debt (SATD) from 20 open-source Java projects' code.

Show full abstract

In this work, we improve SATD detection with a novel approach that leverages the Bidirectional Encoder Representations from Transformers (BERT) architecture. For comparison, we re-evaluated previous deep learning methods and applied stratified 10-fold cross-validation to report reliable F$_1$-scores. We examine our model in both cross-project and intra-project contexts. For each context, we use re-sampling and duplication as augmentation strategies to account for data imbalance. We find that our trained BERT model improves over the best performance of all previous methods in 19 of the 20 projects in cross-project scenarios. However, the data augmentation techniques were not sufficient to overcome the lack of data present in the intra-project scenarios, and existing methods still perform better. Future research will look into ways to diversify SATD datasets in order to maximize the latent power in large BERT models.

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{aiken2023measuring,
  title  = {Measuring Improvement of F$_1$-Scores in Detection of Self-Admitted Technical Debt},
  author = {William Aiken and Paul K. Mvula and Paula Branco and Guy-Vincent Jourdan and Mehrdad Sabetzadeh and Herna Viktor},
  year   = {2023},
  eprint = {2303.09617},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.09617v1}
}

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/2303.09617.svg)](https://codeofpaper.com/paper/2303.09617)

Discussion