Search papers, labs, and topics across Lattice.
The paper addresses the challenge of conflicting explanations from multiple XAI methods in software defect prediction, which hinders developer trust and usability. They introduce XMENTOR, a VS Code plugin that aggregates explanations from LIME, SHAP, and BreakDown using adaptive thresholding, rank and sign agreement, and fallback strategies. A user study demonstrated that nearly 90% of participants preferred XMENTOR's aggregated explanations due to reduced confusion and improved support for debugging and review.
Conflicting explanations from multiple XAI methods can be unified into a single, coherent view that developers overwhelmingly prefer for debugging and code review.
Machine learning (ML)-based defect prediction models can improve software quality. However, their opaque reasoning creates an HCI challenge because developers struggle to trust models they cannot interpret. Explainable AI (XAI) methods such as LIME, SHAP, and BreakDown aim to provide transparency, but when used together, they often produce conflicting explanations that increase confusion, frustration, and cognitive load. To address this usability challenge, we introduce XMENTOR, a human-centered, rank-aware aggregation method implemented as a VS Code plugin. XMENTOR unifies multiple post-hoc explanations into a single, coherent view by applying adaptive thresholding, rank and sign agreement, and fallback strategies to preserve clarity without overwhelming users. In a user study, nearly 90% of the participants preferred aggregated explanations, citing reduced confusion and stronger support for daily tasks of debugging and review of defects. Our findings show how combining explanations and embedding them into developer workflows can enhance interpretability, usability, and trust.