Explainability
Study guide: ATPA
Explainability is the ability to explain why a model produces the outputs it does, in terms that a particular stakeholder, such as a regulator, an underwriter or a policyholder, can understand and act on. It differs from interpretability, which describes how far a person can follow the model's own mechanics, while explainability describes whether its outputs can be justified to an audience.
A Generalized Linear Model explains itself through its relativities. A gradient boosting machine or a neural network has to be explained after fitting, with a tool chosen for the question the audience asks:
| Question the audience asks | Scope | Tool |
|---|---|---|
| Which variables drive the model? | Whole model | Variable importance |
| How does the prediction move with one variable? | Whole model | Partial dependence plot |
| Does that movement differ by record? | Each record | ICE curves |
| Why did this record get this prediction? | One record | Shapley values |
| How well does the model rank risks? | Whole model | Lift and gain charts |
A variable importance plot says how much a variable matters and nothing about which way it moves the prediction. The direction and shape of the effect come from a partial dependence plot or from Shapley values. Each tool describes what the model does with a variable, not that the variable causes losses. The tool also has to suit the audience: a SHAP summary plot explains a model to a modeler, not to a policyholder.
Global and local explanations
A global explanation describes the model across the whole portfolio, such as which variables matter most and the shape of each effect. A local explanation describes one prediction, which is usually what a policyholder or an adjuster needs. A local explanation splits the prediction for record \mathbf{x} into contributions, so the prediction is
\hat{f}(\mathbf{x}) = \phi_0 + \sum_{j=1}^{p} \phi_j(\mathbf{x})
\phi_0is the average prediction over the data.\phi_j(\mathbf{x})is the part of the difference from the average attributed to predictorj.pis the number of predictors.
A GLM with an identity link gives these contributions directly as \beta_j(x_j - \bar{x}_j). For a tree ensemble they are computed as Shapley values.
Do these Shapley values account for the whole prediction, and how could an underwriter explain them to the customer? A boosted claim-frequency model predicts 0.135 claims a year for a driver, against an average prediction of 0.080 over the portfolio. The Shapley values for this driver are
+0.040for being under 25,+0.020for an urban territory and-0.005for a car with a collision-avoidance system.Answer
- The average prediction and the Shapley values add up to
0.080 + 0.040 + 0.020 - 0.005 = 0.135, the prediction, so nothing is left unexplained.- A plain-language version reads: "We expect 0.135 claims a year on your policy, against 0.080 for an average driver we insure. Being under 25 adds 0.040, and keeping the car in the city adds 0.020. The car's collision-avoidance system takes off 0.005."
- The explanation names each reason for the difference in the customer's terms, and it describes what the model does without claiming that each factor causes claims.
Explainability and ethics
Regulators reviewing a rate filing expect the effect of each rating variable to be justified, and underwriters and claims staff act on a model's output only when they trust it. Standards of practice point the same way. In the U.S., ASOP No. 41 asks that an actuarial communication be clear and appropriate to its intended users, and ASOP No. 56 asks an actuary who uses or relies on a model to understand it, including its limitations.
An explanation is how a modeler finds out that a variable is standing in for a protected characteristic, so a model that cannot be explained cannot be fully checked for proxy discrimination. Bias in Actuarial Practice describes accuracy, fairness and explainability as three goals that pull against each other, and a more complex model usually gains the first at some cost to the other two. In choosing a model, explainability is weighed against accuracy in the business context, along with stability, analytical effort, computational efficiency and table importability.
When a lack of explainability may be acceptable
A model that is hard to explain can be acceptable when a single prediction carries little at stake, when a person reviews each output before acting, or when the model only ranks work, as a fraud score that orders claims for investigators does. It is much harder to accept when the output sets a filed rate or decides whether a person is offered coverage, because the insurer must then be able to justify each result to the regulator and to the customer.
Which of these two uses of a GBM needs more explainability, and what would make each acceptable? In the first proposal, a GBM would replace the personal auto GLM whose relativities are filed with the regulator, cutting hold-out deviance by 3%. In the second, a GBM would order the queue of incoming claims for the special investigation unit, whose investigators decide every case themselves.
Answer
- The rating model needs far more, because its output is a filed premium whose every rating variable the regulator reviews.
- It would need partial dependence plots for every variable, Shapley values for individual quotes, fairness tests and probably a translation into rating tables, and a 3% gain may not justify that work.
- The triage model can accept less, because it only ranks claims, a person makes each decision with the file in hand, and a poor ranking costs investigators' time rather than setting a wrong price.
- Its outputs still need testing across groups, because an unfair ranking would send some groups' claims for investigation more often than others'.
Using explainability and interpretability as synonyms A question about the difference expects the two to be kept apart. Interpretability concerns the model's mechanics and explainability concerns justifying its outputs to an audience, so writing them as synonyms answers neither half.