Explaining Machine Learning Models Microlearning Course

This Microlearning provides an introduction to some techniques that are frequently used to help users and developers of machine learning (ML) models gain a greater understanding of how a model works. Our goal is to improve our ability to explain ML models so that we can benefit from their potential for higher accuracy, while mitigating some of the risks associated with their higher complexity and lower interpretability.

Learning Objectives
This Microlearning is subdivided into three lessons, each of which corresponds to a different learning objective:

  • Identify the predictors in a machine learning model having the greatest influence on the model’s overall performance, and recommend actions based on this information.
  • Describe the overall relationship between the value of a predictor variable and a machine learning model’s prediction, and recommend actions based on this information.
  • Explain the factors driving an individual prediction from a machine learning model.
Each lesson corresponds to an approximately ten-minute video, which has been split up into 2-3 minute chunks. The lessons also contain some brief interactive content to assist with reviewing and reinforcing the content in the videos.

Pre-requisites
This content assumes familiarity with Generalized Lineal Models (GLMs) and general terminology related to predictive modelling. For example, the content in the CAS Monograph Generalized Linear Models for Insurance Rating (from the Exam 8 syllabus) would provide sufficient background.

Although the examples refer to a Gradient Boosted Machine (GBM) there is no need to understand this method in detail. (In fact, the premise of this Microlearning is that you do not need to understand granular details of a complex model in order to explain what it does.) For the purpose of this Microlearning, it is sufficient to know that the fitting process for a GBM involves minimal analyst intervention (variable selection, interaction detection, and curve fitting are automated), and that the algorithm for calculating a GBM prediction is sufficiently complex that even knowing the full formula would provide little insight into what the model is doing.

Intended Audience
This content was design with two audiences in mind:

  • For users of models built by others, the videos and interactive elements between the videos provide a high-level overview of how to interpret explainability metrics, what they can be used for, and their limitations. The level of detail should be sufficient to enable effective communication between you and the model developer.

  • For developers of models, in addition to the content aimed at model users, there is an optional R Markdown demonstrating how to implement the approaches described in the Microlearning. This contains sample code to generate the exhibits used in the Microlearning. Please see the next lesson for more details.