Skip to content

Understand

Attribution

Why did the system recommend this?

Shows the top factors behind the system’s assessment in plain language, and whether each one helped or hurt it.

Version 2.0 · Published · Updated

Serves EU AI Act: Article 13 · Article 86

In practice · Who is looking?

In practice

Without the pattern: “Application declined” and nothing else.

Credit application #4821 · Your decision

Application declined

Decided by a caseworker on 29 September: declined because employment records were not received by the deadline.

Why the system recommended a decline

1

← Toward decline · Toward approval →

2
  1. Debt compared to income Hurt
  2. Time in current job Hurt
  3. Payment history Helped
    3

Missing Employment records. Requested 22 September, not received. Not counted as a factor.

Data Provenance & Lineage
See all 8 factors
4

These factors were most strongly associated with the system’s recommendation. They are not proven causes.

5

Some of these factors can change.

What could change this?
6

What the applicant can tell now

Enough to judge whether it was fair, and what to do next.

  1. “Debt compared to income”, not debt_to_income_ratio_12mo.
  2. Each factor says whether it hurt or helped.
  3. Payment history helped, so it’s shown too.
  4. Three factors first. All eight are one click away.
  5. “Associated with”, not “caused”.
  6. A next step, not a dead end.

Mock data. Credit case #4821 also appears in other pattern examples.

Overview

Without reasons, decisions can look arbitrary.

After a declined application, a flagged post or a risk score, the first question is usually why. Without an answer, people can’t judge whether the reasoning was sound, whether their data was read correctly, or whether they could do anything about it.

Attribution is the foundational pattern. It doesn’t expose model internals. It answers a human question in human terms: these are the things that mattered most.

Use it when

  • The system makes or supports a consequential decision about a person
  • People need to judge whether the reasoning fits their situation
  • Several factors contributed and their weight matters

Skip it when

  • The model is too unstable to attribute reliably
  • The factors include sensitive attributes or close proxies: review the model first instead of hiding the explanation
  • The system is generative: use Retrieved Source Attribution or Grounding indicators instead

Design

How do I apply it?

Six rules for showing the factors behind a decision. The example above uses all of them.

  1. Use plain language.

    The model says debt_to_income_ratio_12mo. The interface says “Debt compared to income”.

  2. Show direction, not just weight.

    Did it help or hurt?

  3. Show what helped, too.

    After a bad outcome, people need the full picture.

  4. Start with the top three to five.

    Keep the full list one step away.

  5. Never present it as cause.

    “Associated with” is honest. “Caused” is not.

  6. Pair it with a way forward.

    Alone, it reads like a verdict. Link to Actionable Recourse or Counterfactual Explanation.

For your technical team

SHAP and LIME estimate how much each factor contributed to the model’s output. LIME is always an approximation; SHAP values can be computed exactly for tree models, and for linear models if features are assumed independent; for other models they are estimated. The values depend on the method and its settings, such as the reference data, and they are not causes in the world. Check that attributions stay stable across repeated runs and for similar inputs.

How can I show it?

Quick to read More detail
  • Used above

    Inline Signal / Microcopy

    Caveat microcopy

    A short note: associations, not proven causes.

    A short, non-dismissive note explaining that factors shown are the most influential associations the model identified, not confirmed causes. Helps reduce misreading. Test whether people notice it.

  • Used above

    Content Block / Summary

    Top 3 summary

    The three strongest factors, with “see all”.

    A compact default state showing only the top 3 contributing factors with a “see all factors” expansion. Reduces cognitive load for users who need a quick read.

  • Content Block / List

    Ranked factor list

    An ordered list of factors in plain words.

    A simpler alternative to a chart: a numbered or ordered list of factors with brief plain-language descriptions. Appropriate when the number of factors is small (3 to 5) and the audience needs speed over precision.

  • Used above

    Content Block / Card

    Factor cards

    One card per factor, with direction and detail.

    Individual cards per factor, each containing: a plain-language label, a short explanation of what it means, the direction of influence (helped / hurt), and an optional “learn more” expansion. Supports progressive disclosure.

  • Data Visualization / Highlight

    Input highlight

    Marks the fields in the person’s own data that mattered.

    For interfaces where the original input is visible (a form, a document, an image), highlight or annotate the specific fields or regions that were most influential. Grounds the explanation in the user’s own data.

  • Content Block / Explanation Card

    Contrastive explanation (“why not X?”)

    Why this outcome instead of another one.

    A variant of attribution that answers not “why did this happen?” but “why did this happen instead of a specific alternative?” For example: “Why did the system recommend a decline rather than further review?” Show only the factors that distinguish the actual outcome from the named alternative, not every factor that influenced it. Connect to Counterfactual Explanation for the inverse question: what would have changed the outcome.

  • Used above

    Data Visualization / Chart

    Contribution bar chart (diverging)

    Bars to the left hurt, bars to the right helped.

    A common format; readable when there are few bars with plain-language labels. Factors are shown as horizontal bars extending left (hurt the outcome) or right (helped). Bar length represents relative contribution. Labels use plain language, not feature variable names.

Caveat microcopy goes with any of the others.

What are the trade-offs?

  • Clarity vs. accuracy

    A clean bar chart looks precise, but the values are estimates that depend on the method and its settings. The simpler the display, the more certain it looks.

    So: pair every chart with the caveat, and drop numbers the model can’t back up.

  • Transparency vs. gaming

    Once people see which factors count, some will optimize them without changing anything real, for example by paying down a card just before applying and running it up again after.

    So: where gaming is a risk, show direction and plain-language factors, not exact weights.

  • Model vs. human reasoning

    When a caseworker decides, the factors on screen explain the system’s recommendation, not the outcome. The applicant can see one reason and have been decided by another.

    So: say whose reasoning is shown, and show the caseworker’s reason next to it.

Connections

Works with other patterns

Sources (4)

Sounds familiar?

People say your decisions feel arbitrary.

Or a regulator has asked what drove a specific outcome. That’s where this pattern starts. Let’s look at your interface together.

Work with me