O&O ConsultingBook a free call

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.

O&O Consulting · · 2 min read

Scientific instruments used to examine a system

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.

Two routes to explanationIllustrative diagram, not data
Interpretable by designShort rule listsLinear scorecardsSmall decision treesExplained afterwardsLIMESHAP valuesHighlighted image regions
Interpretable by designShort rule listsLinear scorecardsSmall decision treesExplained afterwardsLIMESHAP valuesHighlighted imageregions

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

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.