PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
June 2, 2026International Journal of Intelligent Computing and Cybernetics0 citations

Explaining sentiment in self-admitted technical debt: a comparative study of model-agnostic explainability methods

View Full Paper
PCPeiyu ChenXYXingguang YangZSZhenyu Shu

Key Points

  • This study investigates how explainable AI techniques interpret the sentiment in self-admitted technical debt comments and the variability of their explanations.
  • Formulated SATD sentiment analysis as a binary classification task distinguishing negative from non-negative comments.
  • Fine-tuned a BERT model on a curated SATD sentiment dataset using ten-fold cross-validation.
  • Generated local token-level explanations using LIME, SHAP, and BreakDown for all correctly predicted instances.
  • Different explanation methods (LIME, SHAP, BreakDown) revealed substantial divergence in contribution magnitudes assigned to influential tokens.
  • Observed near-zero overlap in top-k features across the methods, suggesting the inconsistency in identifying important tokens.
  • Statistical tests confirmed systematic differences in explanations between sentiment categories, indicating non-interchangeability of explainers.

Abstract

Purpose Self-Admitted Technical Debt (SATD) consists of source-code comments in which developers explicitly acknowledge suboptimal design or implementation decisions that require future improvement. These comments often convey emotional signals such as frustration, urgency, or concern, which may reflect the perceived severity and priority of technical debt. While sentiment analysis has been increasingly applied to SATD, little attention has been paid to the interpretability and reliability of sentiment predictions produced by modern deep learning models. This study aims to investigate how explainable artificial intelligence (XAI) techniques interpret SATD sentiment predictions and whether different model-agnostic explanation methods provide consistent or divergent explanations. Specifically, we examine the reliability, agreement, and limitations of popular post-hoc explainers when applied to BERT-based SATD sentiment classification. Design/methodology/approach We formulate SATD sentiment analysis as a binary classification task that distinguishes negative from non-negative comments and fine-tune a BERT model on a manually curated SATD sentiment dataset using ten-fold cross-validation. For all correctly predicted instances, we generate local token-level explanations using three model-agnostic XAI techniques: LIME, SHAP, and BreakDown. We quantitatively assess explanation behaviour and cross-method consistency using feature contribution distributions, top-k token overlap, semantic similarity based on BERT embeddings, and Spearman rank correlation. Findings The results reveal substantial divergence among the three explanation methods. LIME, SHAP, and BreakDown assign markedly different contribution magnitudes to influential tokens, exhibit near-zero overlap in top-k features, and frequently produce contradictory ranking orders and sentiment contribution directions. Statistical tests further confirm that these differences are systematic rather than random across both negative and non-negative sentiment categories. Originality/value Our findings demonstrate that model-agnostic explanation techniques cannot be used interchangeably for interpreting SATD sentiment predictions. Relying on a single explainer may lead to incomplete or misleading interpretations of developer intent. We therefore recommend multi-method triangulation and manual validation when explanation results are used to support technical debt prioritisation, code review, or maintenance decision-making. This study provides a comprehensive and reproducible empirical analysis of explanation reliability and divergence for SATD sentiment analysis, contributing a foundation for trustworthy and interpretable SATD analytics.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Chen et al. (2026) studied this question.

synapsesocial.com/papers/6a1e728f30b38c64201b5c65https://doi.org/10.1108/ijicc-01-2026-0066
Ask AI
Helpful
Bookmark
Share
View Full Paper