{"id":{"repo_id":"sask","oai_identifier":"oai:harvest.usask.ca:10388/19005"},"canonical_url":"https://search.ndltd.org/etd/sask/oai:harvest.usask.ca:10388/19005","repository":{"repo_id":"sask","name":"University of Saskatchewan","base_url":"https://harvest.usask.ca/server/oai/request"},"display":{"title":"Reliable and Human-Centered Explainable AI for Software Defect Prediction","abstract":"Machine learning (ML)-based software defect prediction has become an important technique for improving software quality by identifying defect-prone modules before testing and maintenance. However, despite achieving high predictive performance, these models are rarely adopted in practice because developers often cannot understand, trust, or effectively use their predictions. Existing post-hoc explainability techniques, including LIME, SHAP, and breakDown, frequently generate inconsistent, unstable, and difficult-to-interpret explanations, limiting both their reliability and practical usefulness. Consequently, developing reliable and human-centered explainable AI (XAI) has become a critical challenge for software engineering. This dissertation addresses this challenge through a series of interconnected studies that improve the reliability, usability, and practical integration of explainable AI for software defect prediction. The research first investigates developers' perceptions, expectations, and real-world challenges in adopting explainable AI through qualitative, scenario-based, and empirical studies, demonstrating that explanation consistency, trust, interpretability, and workflow integration are fundamental requirements for practical adoption. Motivated by these findings, the dissertation systematically analyzes disagreement among widely used explainability techniques and shows that different explainers often produce conflicting interpretations for identical predictions. To improve explanation reliability, this dissertation proposes multiple aggregation strategies that reconcile complementary evidence from different explainers to generate more stable, consistent, and trustworthy explanations. Building upon these methods, it introduces XMENTOR, a developer-centered Visual Studio Code extension that integrates aggregated explanations directly into software development workflows, enabling developers to access reliable explanations within their natural programming environment. The dissertation further improves explanation stability through a rank-aware aggregation framework and introduces CoScoreX, a contextual and contrastive explainability framework that incorporates software context and comparative reasoning to generate more faithful and developer-oriented explanations. Recognizing the growing adoption of deep learning in software engineering, this dissertation further extends explainability to transformer-based models, including CodeBERT, GraphCodeBERT, and CodeT5, through a comprehensive benchmarking framework that evaluates explanation techniques using fidelity, stability, and human-centered evaluation metrics. Finally, the dissertation advances explainable AI toward intelligent developer assistance by proposing an agent-based framework in which autonomous agents dynamically integrate multiple sources of evidence, adapt explanations to developer needs, incorporate feedback, and generate context-aware, actionable explanations throughout the software development lifecycle. Overall, this dissertation demonstrates that reliable explainability requires explanation aggregation, contextual reasoning, and adaptive intelligence, while human-centered explainability requires explanations to be understandable, trustworthy, actionable, and seamlessly integrated into developers' workflows. Together, these contributions advance Reliable and Human-Centered Explainable AI for Defect Prediction, promoting the practical adoption of trustworthy AI-assisted software engineering.","abstract_html":"Machine learning (ML)-based software defect prediction has become an important technique for improving software quality by identifying defect-prone modules before testing and maintenance. However, despite achieving high predictive performance, these models are rarely adopted in practice because developers often cannot understand, trust, or effectively use their predictions. Existing post-hoc explainability techniques, including LIME, SHAP, and breakDown, frequently generate inconsistent, unstable, and difficult-to-interpret explanations, limiting both their reliability and practical usefulness. Consequently, developing reliable and human-centered explainable AI (XAI) has become a critical challenge for software engineering. This dissertation addresses this challenge through a series of interconnected studies that improve the reliability, usability, and practical integration of explainable AI for software defect prediction. The research first investigates developers&#x27; perceptions, expectations, and real-world challenges in adopting explainable AI through qualitative, scenario-based, and empirical studies, demonstrating that explanation consistency, trust, interpretability, and workflow integration are fundamental requirements for practical adoption. Motivated by these findings, the dissertation systematically analyzes disagreement among widely used explainability techniques and shows that different explainers often produce conflicting interpretations for identical predictions. To improve explanation reliability, this dissertation proposes multiple aggregation strategies that reconcile complementary evidence from different explainers to generate more stable, consistent, and trustworthy explanations. Building upon these methods, it introduces XMENTOR, a developer-centered Visual Studio Code extension that integrates aggregated explanations directly into software development workflows, enabling developers to access reliable explanations within their natural programming environment. The dissertation further improves explanation stability through a rank-aware aggregation framework and introduces CoScoreX, a contextual and contrastive explainability framework that incorporates software context and comparative reasoning to generate more faithful and developer-oriented explanations. Recognizing the growing adoption of deep learning in software engineering, this dissertation further extends explainability to transformer-based models, including CodeBERT, GraphCodeBERT, and CodeT5, through a comprehensive benchmarking framework that evaluates explanation techniques using fidelity, stability, and human-centered evaluation metrics. Finally, the dissertation advances explainable AI toward intelligent developer assistance by proposing an agent-based framework in which autonomous agents dynamically integrate multiple sources of evidence, adapt explanations to developer needs, incorporate feedback, and generate context-aware, actionable explanations throughout the software development lifecycle. Overall, this dissertation demonstrates that reliable explainability requires explanation aggregation, contextual reasoning, and adaptive intelligence, while human-centered explainability requires explanations to be understandable, trustworthy, actionable, and seamlessly integrated into developers&#x27; workflows. Together, these contributions advance Reliable and Human-Centered Explainable AI for Defect Prediction, promoting the practical adoption of trustworthy AI-assisted software engineering.","abstract_has_math":false,"creators":["Roy, Saumendu"],"institution":"University of Saskatchewan","degree_name":"Doctor of Philosophy (Ph.D.)","degree_level":"Doctoral","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Roy, Banani","Roy, Chanchal K."],"committee_chairs":[],"committee_members":["Wang, Song","Wahid, Khan Arif","Rochan, Mrigank","Gutwin, Carl"],"year":2026,"date_issued":"2026-08-04","date_published":"2026-08-04","updated_at":"2026-11-19T09:59:20Z","subjects":["Explainable AI, Software Engineering, Reliable, Human-Centered"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10388/19005","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10388/19005","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://harvest.usask.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aharvest.usask.ca%3A10388%2F19005","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Roy, Banani","Roy, Chanchal K."]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Wang, Song","Wahid, Khan Arif","Rochan, Mrigank","Gutwin, Carl"]},{"key":"dc:creator","label":"Author","values":["Roy, Saumendu"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-08-04T17:33:08Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2026"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-07"]},{"key":"dc:date.issued","label":"Date","values":["2026-08-04"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["July 2026"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-08-04T17:33:09Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy (Ph.D.)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Saskatchewan"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Explainable AI, Software Engineering, Reliable, Human-Centered"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10388/19005"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Machine learning (ML)-based software defect prediction has become an important technique for improving software quality by identifying defect-prone modules before testing and maintenance. However, despite achieving high predictive performance, these models are rarely adopted in practice because developers often cannot understand, trust, or effectively use their predictions. Existing post-hoc explainability techniques, including LIME, SHAP, and breakDown, frequently generate inconsistent, unstable, and difficult-to-interpret explanations, limiting both their reliability and practical usefulness. Consequently, developing reliable and human-centered explainable AI (XAI) has become a critical challenge for software engineering. This dissertation addresses this challenge through a series of interconnected studies that improve the reliability, usability, and practical integration of explainable AI for software defect prediction. The research first investigates developers' perceptions, expectations, and real-world challenges in adopting explainable AI through qualitative, scenario-based, and empirical studies, demonstrating that explanation consistency, trust, interpretability, and workflow integration are fundamental requirements for practical adoption. Motivated by these findings, the dissertation systematically analyzes disagreement among widely used explainability techniques and shows that different explainers often produce conflicting interpretations for identical predictions. To improve explanation reliability, this dissertation proposes multiple aggregation strategies that reconcile complementary evidence from different explainers to generate more stable, consistent, and trustworthy explanations. Building upon these methods, it introduces XMENTOR, a developer-centered Visual Studio Code extension that integrates aggregated explanations directly into software development workflows, enabling developers to access reliable explanations within their natural programming environment. The dissertation further improves explanation stability through a rank-aware aggregation framework and introduces CoScoreX, a contextual and contrastive explainability framework that incorporates software context and comparative reasoning to generate more faithful and developer-oriented explanations. Recognizing the growing adoption of deep learning in software engineering, this dissertation further extends explainability to transformer-based models, including CodeBERT, GraphCodeBERT, and CodeT5, through a comprehensive benchmarking framework that evaluates explanation techniques using fidelity, stability, and human-centered evaluation metrics. Finally, the dissertation advances explainable AI toward intelligent developer assistance by proposing an agent-based framework in which autonomous agents dynamically integrate multiple sources of evidence, adapt explanations to developer needs, incorporate feedback, and generate context-aware, actionable explanations throughout the software development lifecycle. Overall, this dissertation demonstrates that reliable explainability requires explanation aggregation, contextual reasoning, and adaptive intelligence, while human-centered explainability requires explanations to be understandable, trustworthy, actionable, and seamlessly integrated into developers' workflows. Together, these contributions advance Reliable and Human-Centered Explainable AI for Defect Prediction, promoting the practical adoption of trustworthy AI-assisted software engineering."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Reliable and Human-Centered Explainable AI for Software Defect Prediction"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Roy, Banani","Roy, Chanchal K."],"dc:contributor.committeemember":["Wang, Song","Wahid, Khan Arif","Rochan, Mrigank","Gutwin, Carl"],"dc:creator":["Roy, Saumendu"],"dc:date.accessioned":["2026-08-04T17:33:08Z"],"dc:date.copyright":["2026"],"dc:date.created":["2026-07"],"dc:date.issued":["2026-08-04"],"dc:date.submitted":["July 2026"],"dc:date.updated":["2026-08-04T17:33:09Z"],"dc:description.abstract":["Machine learning (ML)-based software defect prediction has become an important technique for improving software quality by identifying defect-prone modules before testing and maintenance. However, despite achieving high predictive performance, these models are rarely adopted in practice because developers often cannot understand, trust, or effectively use their predictions. Existing post-hoc explainability techniques, including LIME, SHAP, and breakDown, frequently generate inconsistent, unstable, and difficult-to-interpret explanations, limiting both their reliability and practical usefulness. Consequently, developing reliable and human-centered explainable AI (XAI) has become a critical challenge for software engineering. This dissertation addresses this challenge through a series of interconnected studies that improve the reliability, usability, and practical integration of explainable AI for software defect prediction. The research first investigates developers' perceptions, expectations, and real-world challenges in adopting explainable AI through qualitative, scenario-based, and empirical studies, demonstrating that explanation consistency, trust, interpretability, and workflow integration are fundamental requirements for practical adoption. Motivated by these findings, the dissertation systematically analyzes disagreement among widely used explainability techniques and shows that different explainers often produce conflicting interpretations for identical predictions. To improve explanation reliability, this dissertation proposes multiple aggregation strategies that reconcile complementary evidence from different explainers to generate more stable, consistent, and trustworthy explanations. Building upon these methods, it introduces XMENTOR, a developer-centered Visual Studio Code extension that integrates aggregated explanations directly into software development workflows, enabling developers to access reliable explanations within their natural programming environment. The dissertation further improves explanation stability through a rank-aware aggregation framework and introduces CoScoreX, a contextual and contrastive explainability framework that incorporates software context and comparative reasoning to generate more faithful and developer-oriented explanations. Recognizing the growing adoption of deep learning in software engineering, this dissertation further extends explainability to transformer-based models, including CodeBERT, GraphCodeBERT, and CodeT5, through a comprehensive benchmarking framework that evaluates explanation techniques using fidelity, stability, and human-centered evaluation metrics. Finally, the dissertation advances explainable AI toward intelligent developer assistance by proposing an agent-based framework in which autonomous agents dynamically integrate multiple sources of evidence, adapt explanations to developer needs, incorporate feedback, and generate context-aware, actionable explanations throughout the software development lifecycle. Overall, this dissertation demonstrates that reliable explainability requires explanation aggregation, contextual reasoning, and adaptive intelligence, while human-centered explainability requires explanations to be understandable, trustworthy, actionable, and seamlessly integrated into developers' workflows. Together, these contributions advance Reliable and Human-Centered Explainable AI for Defect Prediction, promoting the practical adoption of trustworthy AI-assisted software engineering."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10388/19005"],"dc:language.iso":["en"],"dc:subject":["Explainable AI, Software Engineering, Reliable, Human-Centered"],"dc:title":["Reliable and Human-Centered Explainable AI for Software Defect Prediction"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Doctoral"],"thesis:degree_name":["Doctor of Philosophy (Ph.D.)"],"thesis:institution_name":["University of Saskatchewan"]},"updated_at":"2026-11-19T09:59:20Z"}