Risk and rules

What is explainable AI (XAI)?

In short

Explainable AI (XAI) is about making it understandable why an AI system reached a particular result, such as which factors drove a credit decision. It helps people check AI, find errors and bias, and explain decisions to those affected.

Many AI models, especially large neural networks, are black boxes: billions of numbers with no readable rules. Explainability methods show which inputs mattered most, cite the sources used, or let the model describe its reasoning, so a person can judge whether to trust it.

Mini course

3 short lessons, about 2 minutes in total

  1. Opening the black box
  2. Explanations people can use
  3. When it is required

Lesson 1

Opening the black box

A spreadsheet formula can be read line by line. A neural network cannot. Its knowledge is spread across millions or billions of numbers. Explainability is the set of methods that make its decisions understandable anyway: showing which input factors weighed most, which documents an answer came from, or which similar past cases it resembles.

Case
Reasons and sources
Next to its decision, the AI shows the main reasons and sources, so a person can check it and the affected person can understand it

Tap a box to open that concept

The goal is not to understand every number, but to understand enough to trust or question a result.

Lesson 2

Explanations people can use

Different people need different explanations. A developer wants to see which features drive the model. A case worker wants the two or three main reasons for this decision. The affected customer wants to know why, and what they could do differently.

For language model tools, the most useful explanation is often simply: show the sources.

Lesson 3

When it is required

Where AI helps decide on credit, jobs, insurance, benefits or education, explainability is not optional. GDPR gives rights around solely automated decisions, and the EU AI Act sets transparency and human oversight duties for high-risk systems.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerExplainable AIGDPR and AIEU AI ActAI guardrails
Where Explainable AI sits in a company's AI setup

Plan for it from the start: it is much harder to add explanations to a system after it is built.

An everyday example

A loan system shows that a rejection was driven mainly by a short employment history and high existing debt, so the adviser can explain it and the customer knows what to change.

How companies use it

Companies need explainability where AI affects people, such as lending, hiring and insurance, where GDPR gives a right to meaningful information about automated decisions, and where the EU AI Act requires transparency.

Frequently asked questions

Can large language models explain themselves?

Large language models can describe a reasoning and cite sources, which helps explain them. But that description may not fully match what happened inside the model.

Is a simpler model sometimes better?

A simpler AI model is sometimes better. For high-stakes decisions, a slightly less accurate model that can be explained is often the better choice.

What does GDPR say?

People subject to decisions based solely on automated processing with significant effects have rights to meaningful information about the logic involved and to human review.

In depth: Explainable AI

The full picture, about 4 minutes of reading

Knowing why an AI reached its result

Explainable AI, often shortened to XAI, is about making it understandable why an AI system reached a particular result. Why was this loan application rated high risk? Why did the system flag this invoice as suspicious? Which documents did the assistant base its answer on?

An explanation does not need to describe every calculation inside the system. It needs to give the right person enough insight to judge whether the result makes sense, to spot errors and unfair patterns, and to explain the outcome to the person it affects.

Why AI is hard to explain

A traditional program follows rules someone wrote, and you can read them line by line. Many AI models do not work that way. A neural network, the kind of model behind most modern AI, stores what it has learned as millions or billions of numbers called parameters. No single number means anything on its own, and no readable rule says "reject if debt is above this level". That is why such models are often called black boxes.

Large language models, the AI behind tools such as ChatGPT and Claude, add another layer. They can write a fluent explanation of their own reasoning, but research shows that this written explanation does not always match what actually drove the answer inside the model. A convincing explanation is not the same as a true one.

How explanations are produced

Several methods exist, and they answer different questions. Feature importance shows which inputs weighed most for a decision, such as "short employment history and high existing debt drove this rating". It can be shown for one case or for the model as a whole.

Example-based explanations show past cases that the model treats as similar, which helps people judge whether the comparison is fair. Counterfactual explanations say what would have had to be different for another outcome, such as "with lower existing debt, the application would have been approved". That is often the most useful form for the affected person.

For language model tools, the most practical explanation is usually to show sources: which documents or passages the answer was built on, so a person can check them. And sometimes the best path is a simpler model that can be read directly, such as a small set of clear rules or a scorecard, accepting slightly lower accuracy in return for full transparency.

Different people need different explanations

A developer wants to know which inputs drive the model overall, to find bugs and unwanted patterns. A case worker wants the two or three main reasons behind this one decision, in plain words, to decide whether to trust it. The customer or employee affected wants to know why, and what they could do differently.

Good explanations are written for their reader. A chart of feature weights is useful to a data team and useless to a loan applicant. An explanation that no one reads, or that nobody acts on, adds little.

When explanations are required

Where AI affects people in important ways, explainability is not just good practice. GDPR, the EU data protection regulation, gives people rights when a decision with significant effects is based solely on automated processing, including the right to meaningful information about the logic involved and the right to have a person review the decision.

The EU AI Act adds duties for high-risk AI systems, such as those used in hiring, credit scoring, education and access to essential services. Those systems must be transparent enough for users to understand and use their output, must allow human oversight, and people affected by decisions based on them have a right to an explanation. Planning for this from the start is much easier than adding it after a system is built.

What it means for a small business

Most small businesses will not build systems that make high-stakes decisions about people. But many will use AI tools that influence decisions: which leads to call, which applicants to interview, which invoices to question. In those cases, ask the supplier how the tool explains its results, and prefer tools that show reasons or sources.

For everyday AI assistants, a simple rule goes a long way: the assistant should show where its answer came from, and a person should be able to check it. Where AI helps decide anything about a customer or an employee, keep a person responsible for the final decision, and make sure that person can explain it in their own words.

Sources: GDPR (Regulation (EU) 2016/679), Articles 15 and 22, EU AI Act (Regulation (EU) 2024/1689), Articles 13, 14 and 86, Turpin et al., Language Models Don't Always Say What They Think (arXiv 2305.04388)

Curious what this could mean for your company? Book a call.

Book a call