Home / Insights / AI Risk and Governance
Explainable AI: Opening the Black Box
What explanation methods can tell you, and why an explanation is not the same as understanding.
When a model affects someone, "why?" is a fair question. Large models do not answer it readily.
Two routes
One is to use models that can be read directly, such as a short list of rules or a scoring table. The other is to keep a complex model and add a method that explains its outputs.
Zachary Lipton has pointed out that "interpretability" bundles different goals, including trust, debugging, fairness checks and legal explanation, and a method serving one may not serve another.
Diagram by O&O Consulting.
Common methods
LIME perturbs an input and fits a simple model to mimic the complex one nearby. SHAP assigns each feature a share of the prediction using Shapley values from cooperative game theory, which have attractive consistency properties. For images, saliency maps highlight influential pixels.
Cautions
A local approximation describes behaviour near one point, not the whole model. Results can change with settings. Research has shown that some saliency methods produce similar-looking maps even when the model's weights are randomised, meaning they were not explaining the model. Explanations can also be manipulated to conceal reliance on a sensitive feature.
With correlated inputs, credit may be divided in ways that confuse. And a statement of what influenced a prediction is not a claim about what causes the outcome in the world.
Making explanations useful
Match them to the reader. A developer needs to find errors. A customer needs the main reasons and what could change the result. A regulator needs documentation of the process. Test whether people actually make better decisions with the explanation, since a persuasive one can increase trust without improving judgement.
Limitations and open questions
For language models, research that studies internal representations is advancing but does not yet provide complete accounts of behaviour. A model's own written explanation should not be treated as a verified one.
References
- Ribeiro, M., Singh, S. and Guestrin, C. (2016). "Why Should I Trust You? Explaining the Predictions of Any Classifier." arxiv.org/abs/1602.04938
- Adebayo, J. et al. (2018). "Sanity Checks for Saliency Maps." arxiv.org/abs/1810.03292
- Lipton, Z. (2016). "The Mythos of Model Interpretability." arxiv.org/abs/1606.03490
This article is general information, not financial, legal or investment advice. AI research and rules change quickly; check the cited sources for the current position.