What is Explainable AI? Methods and Limits
Published Updated
Explainable AI (XAI) is a set of methods for showing why an AI system produced an output in terms a person can check. For a prediction, that might mean showing which inputs moved a score. For an answer about company policy, it might mean showing the policy passage and how it supports the answer.
What is Explainable AI?
Explainable AI gives a person evidence they can use to check a particular result. Interpretability is how readily someone can understand the model’s inner workings. An explanation gives the reader a reason they can act on, such as a policy rule they can verify or an input they can correct.
A small decision tree can provide both. A reviewer can follow the branches the model took and tell the person which condition changed the outcome. A source citation can make a chatbot reply checkable even if the model’s inner workings are hard to follow. NIST’s principles for explainable AI
Explanation Methods for Traditional Models
Use feature importance to see what a model tends to rely on, a local attribution to examine one prediction or a simple model to show the decision path directly. A feature is an input the model uses, such as recent sales or stock on hand.
Feature Importance
Feature importance measures how much a model relies on an input under the chosen test. One method shuffles that input across test records and measures how much performance falls. In a hypothetical stock forecast, shuffling recent sales might hurt accuracy more than shuffling shelf location. That suggests the forecast relies more on recent sales in this test. Two inputs carrying similar information can mask each other’s importance.
SHAP Attributions
SHAP assigns each input a contribution to one prediction relative to a baseline. For a hypothetical repair queue, the baseline might be the average predicted chance of missing a deadline. A long parts lead time could push one job’s prediction up, while a technician already being assigned could pull it down.
A SHAP result describes the fitted model against a chosen reference. It does not establish that changing the real-world input would cause the outcome to change. Lundberg and Lee’s original SHAP paper
Simple Interpretable Models
A shallow decision tree lets a reviewer replay the conditions for one result. For example, it might send a work order to manual review if the expected repair exceeds a cost threshold, then assign the rest by the reported urgency. Compare the simple model with the more complex option on representative cases. Choose the simpler model when it meets your error limits and people need to reproduce the reasoning directly.
Explaining Generative AI Answers
Make a generative AI answer checkable by showing the evidence the system used. A large language model can produce a plausible account of its reasoning that leaves out a factor that affected its answer. In Anthropic’s experiments, models sometimes used a hint provided in the prompt without acknowledging it in their stated reasoning. Treat that reasoning as generated text. Anthropic’s study of reasoning faithfulness
Give a document assistant access to approved sources and show the passages it retrieved. Require a supporting citation for factual claims and route questions with missing or conflicting evidence to a person. Retrieval-augmented generation is one way to supply those passages at answer time.
Keep a record of the input and output, along with the source versions and passages sent to the model. A reviewer can then open the cited passage and check whether it supports the exact claim. They can also check whether the assistant missed an exception in a passage it received. That is a check on the answer and its evidence.
Interpretability research looks inside models as well. In one study, Anthropic identified patterns of internal activity tied to concepts that models did not always write down. The technique gave partial views in the models studied. It does not give a dependable explanation for every reply a business assistant produces. Anthropic’s study of internal model activity
When an Explanation is Required
Start with the decision and the rules that govern it. A person may ask why they were turned down for a job, denied a service or refused a loan. The rules on what they are entitled to receive depend on the decision and the applicable law or code.
When section 21P of the Privacy Act 1988 applies to a consumer credit refusal, the lender must give the applicant written notice. It must state that the refusal relied at least in part on credit eligibility information. One condition is that a credit reporting body gave the lender the relevant data to assess the application. Privacy Act 1988, section 21P
For retail claims covered by the General Insurance Code of Practice, subscribing insurers commit to giving written reasons if they reject a claim or pay it only in part.
Unsuccessful applicants can ask the Fair Work Ombudsman for feedback on its own recruitment decisions, although feedback may not always be available. For access to public support, consider a social security review decision. A notice under section 136 must set out the reasons under section 138 of the Social Security (Administration) Act 1999.
Australian Privacy Policy Disclosure
Under Australian Privacy Principle (APP) 1.7, an entity covered by the APPs must disclose certain uses of computer programs in its APP privacy policy. The entity must have arranged for the program to make a decision or perform a step substantially and directly related to making it. The program must use personal information about the individual to make that decision or perform that step. The decision must be one that could reasonably be expected to significantly affect the person’s rights or interests.
APP 1.8 requires the policy to identify the kinds of personal information used. It must describe separately the kinds of decisions the program makes on its own and the kinds for which it performs that step. APP 1.9 covers refusals or failures to make a decision or perform a step, and both beneficial and adverse effects. Privacy and Other Legislation Amendment Act 2024, Schedule 1 Part 15
The date of the decision determines whether the new provisions apply. They cover qualifying decisions made after commencement, even if the arrangement was already in place. The Office of the Australian Information Commissioner (OAIC) lists the commencement date in its APP 1 guideline.
These provisions require a policy disclosure about types of decisions. A duty to provide reasons for an individual outcome depends on the rules for that decision.
Designing AI Systems That Can Be Explained
Decide what evidence someone will need to check the output before you choose where to use the model. For a policy assistant, retrieve from approved versions of your documents and cite the exact passage. When an eligibility rule is fixed, run it in ordinary software and log the rule version and which condition fired. If an employee still needs to make a judgement, record their decision and reason.
Keep an audit record a reviewer can find. Store only the inputs and outputs needed for the review and control who can open the record. Record source versions so a later policy edit does not change the evidence for an earlier answer.
Example Explanation Record
In this hypothetical example, an internal assistant answers a question about the organisation’s purchase approval policy.
| Field | Recorded value |
|---|---|
| Question | Who approves an office equipment purchase above my team’s limit? |
| Sources retrieved | Purchase Approval Policy, version 4, section 3. Delegations Register, version 2, Finance entry. |
| Answer | Refer the purchase to the finance delegate before placing the order. The policy sets the approval rule and the register identifies the delegate. |
| Reviewer | Procurement lead. Confirmed that section 3 applies to office equipment and checked the delegate against the recorded register version. |
Letting a model interpret unusual cases gives it more flexibility, but makes it harder to reproduce the basis for a specific outcome. If a reviewer must show which facts satisfied a rule, use the model to find or organise evidence and have software or a person apply that rule. Before launch, give a reviewer a sample decision and ask them to reproduce its outcome using only the saved record.
Related reading
What is RAG in AI? Pipelines, Uses and Limits
Retrieval-augmented generation lets an AI model answer from your own documents. A RAG pipeline has weak points, and agentic RAG helps with some of them.
Automated Decision-Making Rules in Australia (2026)
Before your AI system approves, declines or ranks people, learn which automated decisions your privacy policy must disclose and how to find them.
AI Ethics: Bias, Fairness and Accountability
AI ethics only matters once it changes what your systems do. See how bias gets into AI, how to test for it and which responsible AI solutions help.
AI Observability: Tracing, Evaluation and Costs
How do you know your AI assistant or agent works once it is live? Learn what AI observability tracks, from traces and quality scores to cost and drift.
embeddings
Embeddings is an Australian AI consultancy. We design, build and run AI systems inside the software, documents and data organisations already use, from offices in Perth and Melbourne.
About Embeddings