Objective
Many machine learning (ML) courses teach students how to build models that make predictions, but spend little time on how to explain why a model made a certain decision. This matters because ML systems are now used in high-stakes areas, where people need to trust the results, follow regulations and make ethical choices.
Explainable AI (XAI) is the field that builds tools to look inside these so-called black box models, meaning models whose decision process is hidden from the user. The authors point to evidence that professionals often use XAI tools the wrong way because they misunderstand what each tool can and cannot tell them. They also say that formal teaching material on XAI is very limited, and that they know of only one earlier formal academic course on it.
The paper has three goals:
- Offer a pedagogical (teaching-focused) plan for how to structure an XAI course.
- Pair each lecture with open-ended questions that start discussion.
- Provide technical tutorials that show how each technique is used, and check how the course worked for the students who took it at the University of Edinburgh.
The course teaches the ideas behind different types of explanations first, and presents each technique as one example of a bigger category.
Methods
This is a course-design paper with a small evaluation. The authors describe the course they built and then report how students rated it. This kind of study can show how a course is set up and how students felt about it, but it cannot show that the course caused learning gains, because no comparison course was used.
The course
The course had 9 lectures paired with 4 practical tutorial sessions over one semester. Topics included an ML preface, an XAI preface, SHAP, PDP/ICE, counterfactuals, Anchors, deletion diagnostics, InTrees and future research directions. Each lecture ended with three open-ended questions. Students did 2 assignments and a final project. In the final project, they picked a dataset and a model, used several XAI techniques, and argued to a pretend stakeholder whether the model should be kept or dropped. The minimum time expected for the project was 14 hours. The authors state four learning goals: analyse, design, apply and evaluate.
The evaluation
Sixteen MSc students at the University of Edinburgh answered a modified Course Experience Questionnaire (CEQ), a standard survey of course quality. The authors used 12 items from it plus extra items about prior knowledge, satisfaction with the range of techniques and progress on the four goals. Answers were on a five-point scale, and two open questions asked for favorite parts and suggestions. Of the 16 respondents, eight were postgraduate research students, five did non-academic work and three said Other. Before the course, 87.5% were not familiar with XAI, and 81.3% had some practical ML experience. The survey was given after the last lecture and before final results were known.
Scores were converted to a scale from −100 to 100, and confidence intervals (a range showing the uncertainty) were found with a bootstrap method. The authors also looked at how students did on the final project. The paper says ethical review was not required.
Key Findings
Students rated the course well, and everyone passed. These results come from a small group and from self-reported answers.
Survey results
- The overall CEQ score was reported as 12,050, which the authors read as high perceived course quality. The paper does not explain how this number was built from the 100-point scale, so it is hard to interpret on its own.
- Students gave high ratings to their ability to analyse, design, apply and evaluate XAI results, according to the authors.
- Students were generally positive about the range of techniques taught and about how well the course built their understanding of the differences between them, according to the authors.
- Two items asked whether the course was too theoretical or too practical. Both scored about 3, which the authors read as a good balance.
- The learning goal of evaluating XAI results had a slightly lower score than the others, and the authors say most students found analyzing and evaluating outputs the most challenging part.
Final project results
- All 16 students passed. The final project was open-ended, and grading looked at whether the code ran, whether the pipeline of data preparation, model training and model explanation was carried out reasonably well, and whether the arguments were substantial and based on the explanations.
- About 89% of students used at least 3 XAI techniques, although 2 were enough to meet the requirement. The authors read this as confidence in checking a model from several angles.
- About 87% of that group compared importance scores from SHAP with those from another technique called LIME.
- About 26% considered both a transparent model and a black box model, even though no one told them to.
- About 15% received a borderline pass because they did not make full use of the explanations when arguing for or against a model.
Open comments
- Eleven students answered the question about their favorite part. Five mentioned the tutorials and the hands-on workbooks, and five mentioned the recorded lectures and online discussions.
- Students also named open-ended questions, examples and assignment questions as helpful, and the comments were very positive overall.
The authors say the survey supports the claim that the material can teach XAI techniques, including to people with little or no earlier XAI knowledge.
Implications
The authors suggest a three-part framework for similar courses: about 30% of course time on concepts (such as the difference between transparent and opaque models), 50% on specific techniques, and 20% on practical integration through tutorials and a final project.
For instructors
- The authors recommend organizing content around types of explanations and stakeholder questions, not around the order in which techniques were invented.
- They recommend linking techniques to other fields and to ethics, and focusing assessment on interpretation and real use more than on math proofs.
- They say the course is modular, so one technique can be swapped for another, such as replacing Anchors with LIME.
- Because students found evaluating outputs hardest, they propose guided analysis templates, assignments that compare two techniques on the same data, and exercises that ask students to find problems in flawed explanations.
- They also suggest stakeholder persona templates and step-by-step scaffolding from guided tutorials to independent work.
For program leaders
The authors designed the course mainly for industry professionals, data scientists and students with a programming background. They say a version for MSc students could put more weight on the math.
Our reading (not the authors' recommendation): any program that adds an XAI course should plan time for students to practice reading and judging explanation outputs, since this was the weakest area in this group.
Our reading (not the authors' recommendation): because the evidence is a small survey, other instructors should collect their own feedback and results before copying the design in full.
Limitations
The authors say the questionnaire scores were self-reported, so they show how students felt about their own learning. They also note that only the MSc students' responses were analyzed, even though the course has also been taught to data science experts in banking, so the results may not apply to other groups or settings.
The paper does not mention, but only 16 students answered, so a few opinions can move the results a lot, and the paper does not say how many students were in the course in total or what share answered.
The paper does not mention, but there was no comparison group or before-and-after knowledge test, so the study cannot show how much students learned or whether another course would have worked as well.
The paper does not mention, but the course authors collected and reported the survey themselves, which can make results look more positive.
The paper does not mention, but the CEQ number of 12,050 is not explained in a way readers can check, and it does not say how the final project grading was done by more than one person.
Future Directions
The authors say they plan more surveys to see how well the course works for more experienced data science and ML experts who work in industry, since this paper analyzed only MSc student responses.
They also point to improvements for future versions of the course:
- Add structured interpretation exercises and analysis templates, because evaluating XAI outputs was the hardest part.
- Use datasets that match students' own work or research interests, since irrelevant datasets may have made evaluation harder.
- Add more practice analyzing XAI outputs.
- Update tutorials as Python libraries change.
Open questions the paper leaves: do students who take this course apply XAI more correctly at work than those who do not, and how do the results compare across different groups of learners?
The bottom line: This paper presents a course on explainable AI that mixes lectures, hands-on workbooks and a final project, and reports that 16 MSc students at the University of Edinburgh rated it highly and all passed. The evidence is limited: it is a small, self-reported survey with no comparison course. The design is a useful example for teachers who want to build a similar course, especially the advice to give students more practice interpreting outputs. Anyone adopting it should gather their own student feedback.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.