AI & Machine Learning

Explainable AI (XAI)

Also known as: XAI, model explainability, AI transparency, interpretable AI

Explainable AI (XAI) refers to a set of methods, techniques, and design principles that make the outputs and decision-making processes of AI systems understandable to the humans who use, oversee, or are affected by them.

Traditional machine learning models (particularly deep learning) are often 'black boxes': they produce accurate predictions but cannot easily explain why they reached a particular conclusion. XAI techniques produce explanations that accompany AI outputs, such as 'this loan application was declined because the debt-to-income ratio was the most important factor' or 'this image was classified as a cat primarily because of features in this region of the image'.

Explainable AI (XAI), explained at three levels

At home

Explainable AI is about making sure people can understand why an AI made a particular decision. If an AI model rejects your loan application, you have a right to know why, and 'because the AI said so' is not an acceptable answer. Explainable AI adds the ability for the system to tell you: 'Your application was declined mainly because of a missed payment in the last 12 months and a high debt-to-income ratio.' The explanation gives you something concrete to understand and potentially challenge.

At work

Explainable AI is important in any context where AI decisions affect people and need to be auditable. Regulated industries (healthcare, finance, insurance, and criminal justice) are increasingly requiring AI systems to be able to explain their outputs. Beyond compliance, explanations help system operators detect when a model is making decisions for the wrong reasons (e.g., using a proxy variable correlated with a protected characteristic), and help end users understand and trust AI recommendations.

Real-world examples

At home

Marcus applied for a mortgage and was declined. The lender's AI model was required to provide an explanation. He received a letter stating that the three most important factors were: his employment length (under 2 years at current employer), his loan-to-value ratio (above 90%), and a missed utility payment from 14 months ago. The explanation allowed him to understand what to address before reapplying.

At work

A health insurer deployed an AI model to support underwriting decisions. Their compliance team required every model output to include a SHAP-based explanation identifying the top three contributing factors, displayed in plain language alongside the decision in the underwriter's workflow. A model audit found the top factor in 12% of high-risk classifications was postcode, which correlated with demographic characteristics. The model was retrained to remove postcode as an input.

How it compares

FeatureExplainable AI (XAI)Interpretable AIBlack-Box AI
What it meansComplex models with post-hoc explanation methods addedInherently simple models whose logic can be read directlyComplex models with no explanation capability
ExamplesNeural network + SHAP, gradient boosting + LIMEDecision tree, linear regression, rule-based systemLarge deep learning model with no explanation layer
AccuracyTypically high (complex base model)May be lower for complex tasksTypically highest
Explainability qualityApproximate: explanation is an interpretation of the modelExact: the model's own logic is the explanationNone
Regulatory useSatisfies many XAI requirements in practicePreferred where perfect explainability is requiredIncreasingly restricted in regulated decision contexts

Interpretable models are transparent by design but may sacrifice accuracy. Explainable AI adds explanation capability to complex models but explanations are approximations. Black-box AI maximises accuracy but faces growing regulatory and ethical barriers in consequential decision contexts.

For analysts

In BA artefacts, XAI requirements appear wherever AI makes or supports decisions that affect people. Specify the explanation audience (consumer-facing vs. regulator-facing vs. model-operator-facing) and the required explanation format and granularity for each. GDPR NFR: 'For any automated decision with significant effect on a data subject, the system must generate a human-readable explanation identifying the top three factors influencing the decision, expressed in plain language without technical jargon, and must provide a mechanism for the data subject to contest the decision.' Note: explanation and contestation are separate requirements: specify both.

History & origin

The desire to explain AI decisions predates modern machine learning: rule-based expert systems (1970s-1990s) were inherently explainable because every decision could be traced to an explicit rule. The problem became acute as deep neural networks replaced interpretable models in the 2010s. DARPA launched a formal XAI research program in 2016, funding projects to develop explanation capabilities for deep learning systems. LIME (Local Interpretable Model-Agnostic Explanations, 2016) and SHAP (SHapley Additive exPlanations, 2017) emerged as widely adopted explanation techniques. GDPR (2018) added regulatory urgency: people subject to significant automated decisions are entitled to meaningful information about the logic involved, often described as a 'right to explanation'.