The home of AI
Ask a bank why it declined your loan application and you expect a reason: insufficient credit history, a missed payment, an affordability calculation. Ask the same bank why the machine learning model that actually made the decision turned you down, and until recently the honest answer might have been “we can show you the code, but we cannot show you the reason.” Explainable AI — usually shortened to XAI — exists to close that gap. It is the body of methods and practices that make the behaviour of automated systems intelligible to the people who use them, regulate them, or are affected by them.
The most capable models in use today — deep neural networks, gradient-boosted ensembles, large language models — build their predictions from millions or billions of internal parameters. No engineer writes down the rule “if the applicant has three late payments and a thin file, decline.” The rule emerges from patterns in the training data, and the resulting model can be genuinely difficult to retrace, even for the team that built it. That opacity creates four practical costs:
XAI is not the same as opening the source code. Reading the weights of a network is not an explanation a human being can act on. Good explainability answers a specific question for a specific audience: which factors mattered most in this one decision, how would the outcome change if one input changed, and how reliable is the model across similar cases.
There are broadly two routes to explainability.
Build models that are interpretable by design. Linear regression, logistic models, decision trees, rule lists and generalised additive models can be inspected directly. Their trade-off is expressive power: they may underperform on complex data such as images, audio or free text. For many regulated decisions — credit scoring, insurance pricing, eligibility checks — a carefully engineered interpretable model is still the soundest choice, and the loss in accuracy is often smaller than teams expect.
Post-hoc explanation of complex models. When performance genuinely requires a black box, explanation techniques are applied after training. Feature-attribution methods such as SHAP assign each input a contribution to a single prediction, while LIME builds a simple local approximation around one case. Counterfactual explanations answer the human question directly — “what would need to change for a different outcome?” Saliency and attention maps show which parts of an image or passage drove a result. Surrogate models approximate a complex system with a simple one so that its global behaviour can be sketched.
Each method has limits. Attributions can be unstable, correlated features can split credit arbitrarily, and an explanation that satisfies a data scientist may be useless to a customer. Practical XAI programmes therefore combine technical tools with plain-language reporting, model documentation and human review.
Explainability has moved from academic interest to legal expectation. Europe’s GDPR gives individuals a right to meaningful information about automated decisions with significant effects, and the EU AI Act places documentation, transparency and human-oversight duties on providers of higher-risk systems. Sector regulators in finance and healthcare have long required firms to be able to justify decisions to a supervisor. In practice this means an explanation capability has to be designed in, retained and auditable — not reconstructed under pressure after a complaint arrives.
Treat explainability as a product requirement rather than a research project. Begin by mapping every automated decision that affects a person, then ask who needs to understand it and what form that understanding must take. Log the inputs and model version behind each decision so that any case can be reconstructed months later. Test explanations with the people who will rely on them — a caseworker, a compliance officer, a customer — and treat confused reactions as defects. Monitor for drift and for proxy bias, and give a named human the authority to override the system.
The honest framing is that explainable AI does not make models simple. It makes their behaviour contestable, which is what trust in a powerful tool actually requires. A system whose reasoning can be inspected, questioned and corrected is one an organisation can defend — and one the public has some reason to accept.