Evaluating Large Language Models on the Classification of Different Technical Debt Types in Stack Overflow Discussions
Technical Debt (TD) refers to suboptimal decisions made during software development that offer short-term benefits at the cost of long-term maintainability. Managing TD is critical for ensuring the sustainability of software systems, especially as projects evolve. While prior research has leveraged machine learning techniques to identify TD in data from platforms such as Stack Overflow (SO), those approaches have shown limited performance. To address these limitations, this study investigates the effectiveness of transformer-based Large Language Models (LLMs) for the automated identification and classification of TD types in SO discussions. We evaluated three prominent LLMs: BERT, BART, and GPT-2, on their ability to classify multiple types of TD. Our contributions are: (i) a reproducible training/evaluation pipeline on an SO TD dataset, and (ii) a comparison against prior studies. LLMs reach up to 85% F1 and 78.6% average F1, outperforming previous results by 8–23%.
Authors
- Lucas Aguiar
- Eliakim Gama (ORCID: https://orcid.org/0000-0003-3880-7144)
- Lucas Amaral
- Matheus Paixão (ORCID: https://orcid.org/0000-0002-1775-7259)
Publication Details
- Published
- 2025-09-17
- DOI
- https://doi.org/10.5753/ise.2025.14868
- Primary Topic
- Advanced Text Analysis Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00