Key takeaway
- Auto insurance claim prediction with explainable AI: SHAP, PDP, ICE and Anchors, a worked example, NAIC and EU AI Act rules, and a governance checklist.
Auto insurance claim prediction uses machine learning to estimate how likely a policyholder is to claim and how much the claim will cost. The business value is only realised when the insurer can explain the result to the customer, the claims handler and the regulator. A model that cannot say why it rejected or reduced a claim creates complaints, disputes and audit findings.
This guide explains which explainability method answers which question (SHAP, PDP and ICE, Anchors, defragTrees), what a worked example looks like, what the NAIC bulletin and EU AI Act say, and how to govern the model in production. For the wider picture, read our guides on explainable AI in the insurance industry and data analytics in insurance.
What is auto insurance claim prediction and why does it need explanations?
Claim prediction models usually do two jobs. A classification model estimates the probability that a policyholder will have a crash or file a claim. A regression model estimates the cost if they do. Both feed pricing, triage and fraud checks.
Customers ask plain questions when a claim is rejected or reduced: which factors counted against me, what would change the result, and why did someone with almost the same profile get a different outcome. Claims handlers and model risk teams ask a different set: which model was chosen, how much accuracy was traded for explainability, and what rule the model follows. Explainable AI gives a method for each question.
Which explainability method answers which question?
| Stakeholder question | Method | What it shows | Limit to know |
|---|---|---|---|
| Which features influence the model most? | SHAP summary and bar plots | Features ranked by their contribution to predictions, with direction of impact | Explains the model, not cause and effect |
| Why did this one claim get this result? | SHAP waterfall plot | How each feature moved one prediction from the average to the final output | Needs a sensible background dataset |
| What happens if one feature changes? | PDP and ICE | PDP shows the average response; ICE shows one line per sample | Assume features are independent, which is often not true |
| What rule is the model following? | Anchors (Alibi); defragTrees for random forests | Readable if-then rules for a prediction, or a simplified rule set for a tree ensemble | Rules describe local or approximate behaviour |
| Is explainability costing accuracy? | Accuracy vs explainability comparison | Performance of simpler and complex models side by side | Needs a fixed test set and agreed metric |
SHAP (SHapley Additive exPlanations) is described by its maintainers as "a game theoretic approach to explain the output of any machine learning model" (SHAP documentation). Anchors are "high-precision rules" that explain model behaviour, with precision and coverage measured for each rule (Alibi documentation). defragTrees is Python code for tree ensemble interpretation (project README).

What does a worked example look like?
The example below comes from the demonstration XenonStack used when this guide was first written: a classification model that predicts whether a car was in a crash and a regression model that predicts the claim amount. The dataset and model are not published here, so treat the findings as an illustration of how explanations read, not as industry evidence.
Which feature drives the crash prediction?
A SHAP summary ranks features by importance. In the example the area type (rural or urban) had the strongest influence, with urban driving linked to a higher predicted crash risk. Prior claims also pushed the prediction up, so a longer claim history raised the probability.
What happens if past claims change?
A partial dependence plot varies one feature, here the value of past claims, and averages over the others. ICE then draws one line per policyholder to show whether individuals respond differently to the same change. This answers the customer question about how many claims are acceptable before the application is rejected.
Why were two similar policyholders treated differently?
Two policyholders had almost identical profiles, but one was predicted to crash and the other was not. Comparing their SHAP waterfall plots showed that the area type was the feature that tipped the decision. The same comparison explained claim amounts: for two policyholders with similar attributes, the vehicle value accounted for the difference, and higher car prices led to higher predicted claim amounts.
This is a useful check for fairness reviews. If the feature that tips a decision is a proxy for a protected characteristic, the explanation exposes it before a regulator or complainant does.
What do regulators expect from AI in claims and pricing?
| Rule | What it says | Fit for motor claims prediction |
|---|---|---|
| NAIC Model Bulletin on AI (adopted 4 December 2023) | Decisions made by insurers must not be "inaccurate, arbitrary, capricious, or unfairly discriminatory". Expects documentation of model development and use, methods to detect errors and unfair discrimination, and third-party due diligence with audit rights where appropriate. | Applies to AI used in insurance decisions in adopting states. The NAIC adoption map of 3 November 2026 lists 29 jurisdictions, and California, Colorado, New York and Texas have separate insurance-specific rules or guidance. |
| EU AI Act, Annex III point 5(c) | Lists AI systems for risk assessment and pricing of natural persons "in the case of life and health insurance" as high risk. | Motor claims prediction is not named in point 5(c). Check the actual use case with counsel; Article 86 gives affected persons a right to explanation only for decisions based on Annex III high-risk systems. |
The practical test is the same in both regimes: can the insurer show how the model was built, what data it used, who approved it and why a given customer received a given result. Fraud flags need the same care, because a false fraud referral is also an adverse outcome. For fraud patterns and data needs, see our guides on insurance analytics and fraud detection and blockchain for insurance.
How should insurers govern a claims prediction model in production?
- Inventory and tier the model. Record the owner, purpose, data sources, vendor components and the decisions it influences.
- Choose the explanation set. Fix which SHAP, PDP, ICE or Anchors outputs are stored for every rejection, reduction or referral.
- Test for unfair discrimination. Review the features that tip decisions and compare outcomes across similar policyholders.
- Add human review. Route rejections and fraud flags to a handler who sees the explanation and the policy terms.
- Keep an audit record. Store the input data, model version, explanation, reviewer and outcome together.
- Monitor drift and bias. Re-run the checks when data or behaviour changes and retrain under approval.
ElixirData Context OS keeps governed context, versioned policy and decision traces in one decision layer above AI agents, so the explanation, policy version and approval for each claim decision sit together. Its Decision Review Agent reviews AI decisions before execution, routes them to approvers and stores decision lineage, and the Audit Agent assembles decision lineage, policy versions, approvals and authority chains for compliance teams.
Video: an ElixirClaw walkthrough of an AI governance dashboard detecting bias drift and containing it under control.
What are the trade-offs and when should you not rely on these methods?
| Situation | Risk | Safer approach |
|---|---|---|
| Correlated features such as area, vehicle value and claim history | scikit-learn warns that PDP and ICE assume independence and can "create absurd data points" when features are correlated | Read PDP with care, cross-check with SHAP, and test on realistic cases |
| Averages hide individual behaviour | PDPs "can obscure a heterogeneous relationship created by interactions" | Use ICE lines for sampled policyholders |
| Explanation given to a customer without policy context | A feature contribution is not a reason under the policy terms | Pair the explanation with the policy clause and a named human reviewer |
| Model used on a new market or product | Learned patterns may not transfer | Re-validate and re-tier the model before use |
Explanations describe how the model behaves. They do not prove that a feature causes crashes, so use them to review decisions, not to justify them after the fact.
To map one claims decision your agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.
Frequently asked questions
Can an insurer explain why a claim was rejected by a machine learning model?
Yes, if the model is built with explanation in mind. SHAP waterfall plots show how each feature moved one prediction away from the average, and Anchors give an if-then rule for that case. The insurer must still add the policy terms and the human decision to give the customer a complete reason.
What is the difference between SHAP and a partial dependence plot?
SHAP explains the output of a model feature by feature, for a single prediction or across many. A partial dependence plot shows the average effect of one feature on the prediction while marginalising over the others. ICE plots show the same dependence per sample, one line each.
Does the EU AI Act classify motor claims prediction as high risk?
Annex III names AI systems used for risk assessment and pricing for natural persons in life and health insurance. Motor claims prediction is not named there, but the answer depends on the use case, so legal review is needed before assuming the model is out of scope.
What does the NAIC AI Model Bulletin require from insurers using AI?
The NAIC bulletin, adopted on 4 December 2023, says decisions made by insurers must not be inaccurate, arbitrary, capricious or unfairly discriminatory. It expects documentation of model development and use, controls to detect errors and unfair discrimination, and due diligence and audit rights over third-party AI and data.
Which explainability method should we start with?
Start with SHAP for global feature importance and per-claim waterfall explanations, because they answer the first two questions customers and regulators ask. Add PDP and ICE for what-if questions on one feature, and Anchors or defragTrees when you need a readable rule.
When should a human review the model's claim decision?
Whenever the prediction leads to a rejection, a reduced amount or a fraud referral. The reviewer needs the explanation, the policy terms and the data used, and the review outcome should be stored with the decision for audit.
Related reading
Ready to put AI agents to work? Explore ElixirClaw, the agentic OS platform to build, orchestrate and govern AI agents.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE
Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.