Skip to main navigation Skip to search Skip to main content

Self-Admitted Technical Debt in LLM Software: An Empirical Comparison with ML and Non-ML Software

  • École de technologie supérieure
  • Trent University

Research output: Contribution to Book/Report typesContribution to conference proceedingspeer-review

1 Citation (Scopus)

Abstract

Self-admitted technical debt (SATD), referring to comments in which developers explicitly acknowledge suboptimal code or incomplete functionality, has received extensive attention in machine learning (ML) and traditional (Non-ML) software. However, little is known about how SATD manifests and evolves in contemporary Large Language Model (LLM)-based systems, whose architectures, workflows, and dependencies differ fundamentally from both traditional and pre-LLM ML software. In this paper, we conduct the first empirical study of SATD in the LLM era, replicating and extending prior work on ML technical debt to modern LLM-based systems. We compare SATD prevalence across LLM, ML, and non-ML repositories across a total of 477 repositories (159 per category). We perform survival analysis of SATD introduction and removal to understand the dynamics of technical debt across different development paradigms. Surprisingly, despite their architectural complexity, our results reveal that LLM repositories accumulate SATD at similar rates to ML systems (3.95% vs. 4.10%). However, we observe that LLM repositories remain debt-free 2.4 x longer than ML repositories (a median of 492 days vs. 204 days), and then start to accumulate technical debt rapidly. Moreover, our qualitative analysis of 377 SATD instances reveals three new forms of technical debt unique to LLM-based development that have not been reported in prior research: Model-Stack Workaround Debt, Model Dependency Debt, and Performance Optimization Debt. Finally, by mapping SATD to the stages of LLM development pipeline, we observe that debt concentrates significantly higher in the deployment and pretraining stages.

Original languageEnglish
Title of host publicationProceedings - 2026 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2026
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages13-23
Number of pages11
ISBN (Electronic)9798331585822
DOIs
Publication statusPublished - 2026
Event33rd IEEE International Conference on Software Analysis, Evolution, and Reengineering, SANER 2026 - Limassol, Cyprus
Duration: 17 Mar 202620 Mar 2026

Publication series

NameProceedings - 2026 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2026

Conference

Conference33rd IEEE International Conference on Software Analysis, Evolution, and Reengineering, SANER 2026
Country/TerritoryCyprus
CityLimassol
Period17/03/2620/03/26

!!!Keywords

  • code comments
  • empirical study
  • large language models
  • llm
  • machine learning
  • ml systems
  • satd
  • self-admitted technical debt
  • software evolution
  • software maintenance
  • software quality
  • survival analysis
  • technical debt

Cite this