Book a free call

Explainable AI Best Practices: Make Models Accountable

Explainable AI means a model can show its reasons in a form people can check. These practices cover picking a method, testing explanations and documenting them.

Hertiv engineering teamReviewed by a senior engineer
7 min read
Explainable AI Best Practices: Make Models Accountable
On this page

Short answer

Explainable AI best practices start with matching the explanation to the person who needs it: a short reason for a customer, a full factor breakdown for a reviewer, and a model-wide summary for an auditor. Test explanations with the people who will use them, keep them honest about uncertainty, and document them so a decision can be defended months later.

What are explainable AI best practices?

Explainable AI best practices are the habits that make a model's decisions understandable to the people affected by them. A model that approves a loan, flags a claim or ranks a job application should be able to show its reasons in a form a person can check, not just produce a score.

Explanations serve different people. A customer needs a short, plain reason. A reviewer needs the factors that pushed the decision one way or the other. An auditor needs to see that the process was consistent and fair across many cases. One explanation rarely fits all three, so the work starts by deciding who needs to understand what.

MethodWhat it showsBest for
Feature importanceWhich inputs mattered mostQuick checks by reviewers
Example-basedSimilar past casesCustomers and front-line staff
CounterfactualWhat would change the decisionAppeals and next steps
Simple modelsRules a person can readHigh-stakes, low-complexity jobs
Global summaryHow the model behaves overallAuditors and governance

An explanation is not a guarantee that the decision was right. It is a way to check the decision, challenge it and fix the model when the reasons do not hold up. For the basics, see what explainable AI is.

How do you pick an explanation method?

Pick an explanation method by starting with the audience and the stakes, not with the tool. For a customer-facing decision, an example-based or counterfactual explanation usually works best: it shows a similar case, or what would need to change for a different outcome. For a reviewer checking individual cases, feature importance is usually enough, because it names the inputs that pushed the decision.

For high-stakes decisions with a small number of inputs, consider a model that is simple enough to read directly, such as a short decision tree or a scored checklist. A simple model that everyone can follow beats a complex model with an explanation layered on top, when the job allows it.

Check that the method fits the model type. Some methods work well with tabular data and poorly with text or images, and some need access to the model's internals. Test the method on real cases before committing to it, and ask the people who will use the explanations whether they actually understand them.

How do you explain a single decision?

Explain a single decision by naming the handful of factors that mattered most, in plain language, with the numbers that support them. A good explanation for a rejected application might say which three factors counted against it, what their values were, and what would need to change for approval. It should not list twenty factors, because a list that long explains nothing.

Keep the explanation tied to the actual decision. An explanation that describes how the model works in general is not the same as an explanation of why this case got this outcome. Show the inputs for this case, the factors that pushed the score up or down, and the threshold it crossed.

Be honest about uncertainty. If two factors point in opposite directions, or the case sits close to the threshold, say so. An explanation that hides doubt is worse than no explanation, because it gives a false sense of certainty to the person deciding whether to accept the result.

How do you explain a model as a whole?

Explain a model as a whole by summarising how it behaves across many cases, not just one. A global summary shows which inputs matter most overall, how the model treats different groups of cases, and where its accuracy is weakest. That summary is what auditors and governance teams need, and it is also how you spot problems a single explanation would miss.

Check the model's behaviour across groups that matter: different customer segments, regions or product types. A model that is accurate on average can still be systematically wrong for one group, and only a grouped summary will show it. If a group is treated differently, find out whether the difference comes from the data or from the model, and record the finding.

Repeat the summary regularly. Models drift as data changes, and a summary from six months ago may no longer describe the model in production. A monthly or quarterly summary, stored with the model version it describes, is the record an auditor will ask for. For the governance side, see what responsible AI is.

How do you test whether explanations work?

You test whether explanations work by putting them in front of the people who will use them and checking whether they can act on what they read. A test that only checks the method's maths is not enough: an explanation can be technically correct and still useless to a reviewer.

  1. Pick real cases. Use past decisions, including the difficult ones, not tidy examples.
  2. Give them to the users. Show the explanation to reviewers, customers or auditors, depending on who it is for.
  3. Ask them to decide. Can they tell whether the decision was right? Can they spot a mistake?
  4. Check for consistency. Similar cases should get similar explanations. If they do not, the method is unstable.
  5. Measure and repeat. Track how often reviewers agree with the model and how often explanations change their mind.

Watch for explanations that look plausible but are wrong. A method can produce a neat story that does not match how the model actually decided, and reviewers will trust it anyway. Test by changing one input at a time and checking that the explanation changes in the way the model's output does.

How do you document explanations for audits?

Document explanations for audits by recording the method, the version and the output for each decision that matters. An auditor will ask three things: which explanation method was used, whether it was applied consistently, and whether the explanations were actually reviewed. The records should answer all three without a scramble.

Store the explanation alongside the decision, not in a separate system. For each consequential decision, keep the inputs, the model's output, the explanation shown, who reviewed it and what they decided. Keep the method version too, because an explanation method that changes silently makes old records hard to interpret.

Keep a register of known limits: cases the method handles poorly, groups where explanations are less reliable, and decisions that were overturned on review. A register that admits limits is more convincing than one that claims the system is always right. For the governance framework around this, AI governance covers the controls that matter.

Example (hypothetical): an insurer explains claim decisions

Example (hypothetical): an insurer processes 200 claims a week. A model approves 140 automatically and sends 60 to a human reviewer. Before explanations, each flagged claim took a reviewer about 15 minutes to decide, because the reviewer had to read the whole file to work out why the model had flagged it. That is 60 x 15 = 900 minutes, or 15 hours a week.

The team adds explanations that name the three factors behind each flag, with the values that triggered them. Review time falls to 8 minutes per claim, which is 60 x 8 = 480 minutes, or 8 hours a week, saving about 7 hours.

The reviewers also catch more errors: of the 60 flagged claims, 12 are overturned on review, which is 1 in every 5, and the explanations show that most overturns come from one factor that is often misread.

The team fixes the data behind that factor and the overturn rate falls. Without the explanations, the reviewers would have kept spending 15 minutes per claim and the faulty factor would have stayed hidden. The explanations paid for themselves twice: in time saved and in a problem found.

What are the common mistakes?

The most common explainable AI mistakes are explaining the model instead of the decision, giving explanations nobody can act on, and trusting explanations that look plausible but do not match the model's real reasoning.

  • Explaining the model, not the decision. A description of how the model works does not explain why this case got this outcome. Name the factors for this case.
  • Too many factors. Twenty factors explain nothing. Show the few that mattered most, in plain language.
  • Hiding uncertainty. A case close to the threshold should say so. False certainty is worse than no explanation.
  • Untested explanations. An explanation that reviewers cannot use is decoration. Test with the people who will rely on it.
  • No records. Explanations shown but not stored cannot be audited. Keep them with the decision.
  • Ignoring group differences. A model can be accurate on average and wrong for one group. Check behaviour by group.

An explanation earns its place when a reviewer can use it to check a decision, a customer can understand it, and an auditor can trace it. If it does none of those, it is not an explanation yet.

Key takeaways

  • Match the explanation to the audience: short reasons for customers, factors for reviewers, summaries for auditors
  • Explain the decision for this case, not how the model works in general
  • Show the few factors that mattered most and be honest about uncertainty
  • Test explanations with the people who will use them, and check similar cases get similar reasons
  • Store explanations with the decisions so an audit can trace them months later

Frequently asked questions

What is the difference between explainable AI and interpretable AI?

Interpretable AI usually means a model simple enough to read directly, such as a short decision tree. Explainable AI usually means adding an explanation method to a more complex model. Both aim at the same thing: decisions a person can check.

Which explanation method should I start with?

Start with the audience and the stakes. Feature importance suits reviewers, example-based or counterfactual explanations suit customers, and a global summary suits auditors. Test the method on real cases before committing to it.

How many factors should an explanation show?

Show the few that mattered most, usually three to five, in plain language with their values. A list of twenty factors explains nothing, and a single factor rarely tells the whole story.

Can an explanation be wrong?

Yes. A method can produce a plausible story that does not match how the model actually decided. Test by changing one input at a time and checking that the explanation changes the way the model's output does.

Do I need explanations for every decision?

No. Focus on decisions that affect people: approvals, rejections, flags and rankings. Routine low-stakes decisions need less, but the ones that change someone's outcome should always carry a clear reason.

How do I document explanations for an audit?

Store the explanation with the decision: inputs, model output, explanation shown, method version, who reviewed it and what they decided. Keep a register of known limits and repeat the model-wide summary regularly.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: AI and agent systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Need your models to explain themselves? Talk to Hertiv.

A senior engineer replies within one business day. Or see our AI Governance service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call