Explainability in machine learning
A pedagogical perspective
Bibliographic Data
| ID | 22168415 |
|---|---|
| Authors | Andreas Bueff (0000-0002-7538-0699, Linköping University), Ioannis Papantonis (0000-0003-4282-5820, University of Edinburgh, corresponding author), Auste Simkute (0000-0002-2996-4618, University of Edinburgh), Vaishak Belle (0000-0001-5573-8465, University of Edinburgh) |
| Year | 2025 |
| Volume | 10 |
| Publication date | 2025-07-21 |
| Open Access | Yes |
| Type | ARTICLE |
| Venue | Frontiers in Education (JOURNAL) |
| Journal identifiers | ISSN: 2504-284X • E-ISSN: 2504-284X |
| Publisher | Frontiers Media SA (PUBLISHER • CH) |
| DOI | 10.3389/feduc.2025.1595209 |
| OpenAlex | W4412525632 |
| Language | EN |
| References cited | 20 |
Introduction Machine learning courses usually focus on getting students prepared to apply various models in real-world settings, but much less attention is given to teaching students the various techniques to explain a model's decision-making process. This gap is particularly concerning given the increasing deployment of AI systems in high-stakes domains where interpretability is crucial for trust, regulatory compliance, and ethical decision-making. Despite the growing importance of explainable AI (XAI) in professional practice, systematic pedagogical approaches for teaching these techniques remain underdeveloped. Method In an attempt to fill this gap, we provide a pedagogical perspective on how to structure a course to better impart knowledge to students and researchers in machine learning about when and how to implement various explainability techniques. We developed a comprehensive XAI course, focused on the conceptual characteristics of the different explanation types. Moreover, the course featured four structured workbooks focused on implementation, culminating in a final project requiring students to apply multiple XAI techniques to convince stakeholders about model decisions. Results Course evaluation using a modified Course Experience Questionnaire (CEQ) from 16 MSc students revealed high perceived quality (CEQ score of 12,050) and strong subjective ratings regarding students' ability to analyze, design, apply, and evaluate XAI outcomes. All students successfully completed the course, with 89% of them demonstrating confidence in multi-perspective model analysis. Discussion The survey results demonstrated that interactive tutorials and practical workbooks were crucial for translating XAI theory into practical skills. Students particularly valued the balance between theoretical concepts and hands-on implementation, though evaluation of XAI outputs remained the most challenging aspect, suggesting future courses should include more structured interpretation exercises and analysis templates
Cognitive science · Human–computer interaction · Software engineering · Computer Science · Engineering · Explainable Artificial Intelligence (XAI · Psychology · Scientific Computing and Data Management · Artificial Intelligence
Explanation in artificial intelligence
Peeking Inside the Black Box
Causation
Bootstrap Methods for Standard Errors, Confidence Intervals, and Other Measures of Statistical Accuracy
Explainable Artificial Intelligence (XAI)
Detection of Influential Observation in Linear Regression
Greedy function approximation
Counterfactual Explanations Without Opening the Black Box
A performance indicator of teaching quality in higher education
| Highly cited | No |
|---|