mlsanityData to 14 Oct 2026

Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?

arXiv 2308.08943 ↗First posted 17 Aug 2023cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Upon evolving their software, organizations and individual developers have to spend a substantial effort to pay back technical debt, i.e., the fact that software is released in a shape not as good as it should be, e.g., in terms of functionality, reliability, or maintainability. This paper empirically investigates the extent to which technical debt can be automatically paid back by neural-based generative models, and in particular models exploiting different strategies for pre-training and fine-tuning. We start by extracting a dateset of 5,039 Self-Admitted Technical Debt (SATD) removals from 595 open-source projects. SATD refers to technical debt instances documented (e.g., via code comments) by developers. We use this dataset to experiment with seven different generative deep learning (DL) model configurations. Specifically, we compare transformers pre-trained and fine-tuned with different combinations of training objectives, including the fixing of generic code changes, SATD removals, and SATD-comment prompt tuning. Also, we investigate the applicability in this context of a recently-available Large Language Model (LLM)-based chat bot. Results of our study indicate that the automated repayment of SATD is a challenging task, with the best model we experimented with able to automatically fix ~2% to 8% of test instances, depending on the number of attempts it is allowed to make. Given the limited size of the fine-tuning dataset (~5k instances), the model's pre-training plays a fundamental role in boosting performance. Also, the ability to remove SATD steadily drops if the comment documenting the SATD is not provided as input to the model. Finally, we found general-purpose LLMs to not be a competitive approach for addressing SATD.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 46 of its 82 references that are in the map. First posted on arXiv 17 Aug 2023.

Builds on

46 of 82 references.

References · 46

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  8. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  9. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  10. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
  11. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  12. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
34 more
  1. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  2. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  3. 2017Beam Search Strategies for Neural Machine Translationcited by 232
  4. 2020IntelliCode Compose: Code Generation Using Transformercited by 227
  5. 2022DocPrompting: Generating Code by Retrieving the Docscited by 153
  6. 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
  7. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  8. 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 108
  9. 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 98
  10. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 86
  11. 2021Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Taskscited by 70
  12. 2022Using Pre-Trained Models to Boost Code Review Automationcited by 63
  13. 2019Code Generation as a Dual Task of Code Summarizationcited by 62
  14. 2021Towards Automating Code Review Activitiescited by 54
  15. 2019On Learning Meaningful Code Changes via Neural Machine Translationcited by 50
  16. 2017Code Completion with Neural Attention and Pointer Networkscited by 49
  17. 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
  18. 2021Applying CodeBERT for Automated Program Repair of Java Simple Bugscited by 44
  19. 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
  20. 2020Fast and Memory-Efficient Neural Code Completioncited by 38
  21. 2019How Often Do Single-Statement Bugs Occur? The ManySStuBs4J Datasetcited by 36
  22. 2021Neural Transfer Learning for Repairing Security Vulnerabilities in C Codecited by 36
  23. 2020A Systematic Literature Review on the Use of Deep Learning in Software Engineering Researchcited by 35
  24. 2021Automatic Program Repair with OpenAI's Codex: Evaluating QuixBugscited by 25
  25. 2021An Empirical Study on the Usage of BERT Models for Code Completioncited by 22
  26. 2021An Empirical Study on the Usage of Transformer Models for Code Completioncited by 22
  27. 2021Sampling Projects in GitHub for MSR Studiescited by 21
  28. 2022Using Transfer Learning for Code-Related Taskscited by 18
  29. 2022Using Deep Learning to Generate Complete Log Statementscited by 17
  30. 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
  31. 2022TSSB-3M: Mining single statement bugs at massive scalecited by 14
  32. 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-trainingcited by 8
  33. 2021Do practitioners intentionally self-fix Technical Debt and why?cited by 2
  34. 2021SATDBailiff- Mining and Tracking Self-Admitted Technical Debtcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.