On this page

Pattern: Explanation Artefact

One explanation record per consequential decision, with pinned model, method and reason codes, tested for fidelity and reused for every explanation duty.

Layer 04 · Runtime Controls & Observability Layer 05 · Assurance & Continuous Compliance In the chapter 05 catalogue

Summary: For every consequential decision a system makes or supports about a person, write one structured explanation record at decision time: the model version, the explanation method with its version and baseline, the reason codes drawn from the factors the model actually scored, a valid counterfactual where one helps, the notice template and the contest route. Test the explanations for fidelity in CI, keep the records in the evidence store, and answer every explanation duty (an adverse-action notice, a data-subject access request, an AI Act explanation request, an internal appeal) from the same record.

Explanation Artefact A data-flow diagram generated by Archify. 01 / Decision (Layer 04) 02 / Record 03 / Checks (Layer 03) 04 / Evidence (Layer 05) 05 / Duties Decision · model version pinned · 01 / Decision (Layer 04) Decision model version pinned Explanation method · method and baseline · 01 / Decision (Layer 04) Explanation method method and baseline Explanation record · reason codes · 02 / Record Explanation record reason codes Fidelity suite · recompute a sample · 03 / Checks (Layer 03) Fidelity suite recompute a sample Evidence store · retained per duty · 04 / Evidence (Layer 05) Evidence store retained per duty Adverse notice · plain language · 05 / Duties Adverse notice plain language Access requests · GDPR and Art. 86 · 05 / Duties Access requests GDPR and Art. 86 Appeal · human review · 05 / Duties Appeal human review write pin test file render answer review Legend primary data data store data flow
Explanation ArtefactEach consequential decision writes an explanation record with model, method and reason codes pinned, which is tested for fidelity and reused for notices, access requests and appeals. Answer every explanation duty from the same record. Generated from the Body of Knowledge.Open interactive diagram (opens in a new tab)

Objectives

Make every explanation reproducible, checkable and reusable: reproducible because what produced it is pinned, checkable because its reasons can be recomputed and compared, and reusable because one record serves several legal and internal duties instead of each team writing its own letter.

Target users

AI governance engineer, ML engineer, product and operations teams that send notices, privacy and consumer-law counsel.

Impacted stakeholders

People subject to decisions and their representatives, operators and reviewers who rely on the explanation, deployers, auditors, data protection and market surveillance authorities.

Relevant principles

Instrument the build to produce its own proof; give every control teeth; start from a named failure mode or harm.

Context

A system that declines, prices, ranks, flags or scores people, where the person, an operator or an authority will ask why. The duties overlap. Under the EU AI Act, a person subject to a decision taken by a deployer on the basis of the output of an Annex III high-risk system (except point 2), with legal or similarly significant adverse effects, has the right to obtain “clear and meaningful explanations of the role of the AI system in the decision-making procedure and the main elements of the decision taken” (Art. 86(1)); deployers must inform people that they are subject to such a system (Art. 26(11)); and the instructions for use must describe, where applicable, the system’s capabilities “to provide information that is relevant to explain its output” (Art. 13(3)(b)(iv))1. The GDPR gives data subjects meaningful information about the logic involved in automated decisions (Art. 15(1)(h), Art. 22)2, which the Court of Justice read in C-203/22 as an explanation of “the procedure and principles actually applied”3. In US credit, Regulation B requires the specific principal reasons for adverse action, and they must relate to the factors actually considered or scored4.

Problem

Explanations are generated on the fly, sent and forgotten.

  • Forces. Post-hoc attribution methods can diverge from the model they explain, and they can be manipulated: a biased classifier can be wrapped so that LIME and SHAP report innocuous features5. Reasons written for the data scientist do not help the recipient. Each duty has its own audience and wording. Where stakes are high, an interpretable model can be its own explanation, and Rudin argues it should be preferred to explaining a black box after the fact6.
  • Failure mode. Nobody can reproduce the explanation a customer received last year, because the model, the method or the baseline changed. Reason codes name factors the model did not use. Every access request and every appeal becomes a forensic project, and the organisation cannot show that its explanations were accurate.

Solution

Treat the explanation as an artefact with a schema, a test and a retention rule.

  1. Decide the explanation per use case. An explanation policy (layer 01) states, per use case, the explanation types required (reason codes, a counterfactual, source citations for retrieval-based answers, a description of the procedure and principles applied), the audience and language, the method allowed, and whether an interpretable model is required.
  2. Write the record at decision time. The runtime (layer 04) writes one record per explained decision, keyed to the registry id and the decision id: model version; method, version and baseline; whether the output was determinative or advisory; reason codes from scored factors, ranked; a counterfactual that changes only mutable features, where helpful; the notice template, language, channel and delivery time; and the contest route. Pinning the method and baseline is what makes the record reproducible.
  3. Test the explanations. In CI (layer 03), an explanation suite checks fidelity (the reasons predict the model’s behaviour), stability (near-identical inputs get near-identical reasons), sanity (the method is sensitive to the model and the data) and reason-code consistency (every sampled reason is a scored factor). NIST names “explanation accuracy” as one of four principles of explainable AI7. Recompute a sample of stored records against the pinned model to catch drift or tampering.
  4. Reuse the record. The same record renders the adverse-action notice, answers an access request and an Art. 86 request, and gives a human reviewer the context for an appeal. In the UK, the safeguards for significant automated decisions include information about the decision, the chance to make representations, human intervention and a way to contest it8; the record carries what each of those steps needs.
  5. Retain and query. Records stream into the evidence store (layer 05) with a retention period set by the longest obligation they serve. Appeals and their outcomes are logged against the record and counted by group, which feeds the fairness monitoring.

The AI RMF asks that “the AI model is explained, validated, and documented” and its output “interpreted within its context” (MEASURE 2.9), and that transparency and accountability risks are “examined and documented” (MEASURE 2.8)9.

Illustrative explanation record for a declined credit-limit increase:

{
  "record_id": "exp-2026-09-21-118204",
  "decision_id": "cl-2026-09-21-118204",
  "subject": "credit-limit@4.2.1",
  "registry_id": "clm-07",
  "outcome": "limit_increase_declined",
  "decision_role": "determinative",
  "method": { "name": "treeshap", "version": "0.46", "baseline": "bg-sample.v14" },
  "fidelity_suite": { "suite_id": "explain.fidelity.v2", "result": "pass" },
  "reason_codes": [
    { "code": "R07", "text": "Debt-to-income ratio too high", "factor": "dti", "rank": 1 },
    { "code": "R12", "text": "Recent missed payments", "factor": "missed_payments_6m", "rank": 2 }
  ],
  "counterfactual": { "feature": "monthly_debt", "change": "-150", "result": "approve", "mutable_only": true },
  "notice": { "template": "adverse-action.en.v6", "language": "en", "channel": "app+letter",
              "delivered": "2026-09-21T10:04:51Z" },
  "contest_route": "appeal-flow.v3",
  "retention_until": "2031-09-21"
}

Consequences

Explanations become evidence: reproducible, testable and reusable across duties, with their accuracy checked rather than assumed. The costs: storage and retention for a record per decision; an explanation suite to maintain alongside the model; plain-language templates that need testing with real recipients; and, for complex models, the risk that no faithful explanation is simple enough, which is a design finding, not a documentation one.

Human-in-the-loop Gate; Fairness Eval Suite; Model Card as Control Evidence; Continuous Assurance Telemetry; Machine-Readable Evidence (OSCAL); Eval Gate in CI.

Maps to: EU AI Act Art. 86, Art. 26(11), Art. 13(3)(b)(iv) · GDPR Art. 15(1)(h), Art. 22 · Regulation B (12 CFR 1002.9) · ISO/IEC 42001 A.8.2 · NIST AI RMF (Measure 2.8, 2.9) · Layer 04 Runtime Controls & Observability / Layer 05 Assurance & Continuous Compliance.

Function and subcategory labels follow the NIST AI RMF9; ISO/IEC 42001 Annex A ids follow a published crosswalk, not the standard’s text10. Mappings are illustrative, not a claim of conformity.

Sources

  1. [1] Regulation (EU) 2024/1689 (AI Act): Art. 86(1) right to explanation of individual decision-making (Annex III systems except point 2); Art. 26(11) deployers inform natural persons subject to Annex III systems; Art. 13(3)(b)(iv) capabilities to provide information relevant to explain the output (text read on the Commission’s AI Act Service Desk, 2026-09-24). Publications Office of the EU (EUR-Lex). 2024-07-12. https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng (verified: primary)
  2. [2] Regulation (EU) 2016/679 (GDPR), Arts. 13(2)(f), 14(2)(g), 15(1)(h), 22 and Recital 71 (“an explanation of the decision reached”). Publications Office of the EU (EUR-Lex). 2016-04-27. https://eur-lex.europa.eu/eli/reg/2016/679/oj/eng (verified: primary)
  3. [3] CJEU, 27 February 2025, CK v Magistrat der Stadt Wien and Dun & Bradstreet Austria GmbH, C-203/22 (Art. 15(1)(h): explain “the procedure and principles actually applied”; a complex mathematical formula is not a sufficiently concise and intelligible explanation). JuLIA project case-law database. 2025-02-27. https://www.julia-project.eu/database/case-law/319 (verified: secondary)
  4. [4] 12 CFR 1002.9 (Regulation B, notifications; 1002.9(b)(2) specific principal reasons) and Supplement I, comment 9(b)(2) (reasons must relate to factors actually considered or scored). eCFR (text as of 2026-09-01). 2026-09-01. https://www.ecfr.gov/current/title-12/chapter-X/part-1002/section-1002.9 (verified: primary)
  5. [5] “Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methods” (D. Slack, S. Hilgard, E. Jia, S. Singh, H. Lakkaraju). arXiv 1911.02508. 2019-11-06. https://arxiv.org/abs/1911.02508 (verified: primary)
  6. [6] “Stop Explaining Black Box Machine Learning Models for High Stakes Decisions and Use Interpretable Models Instead” (C. Rudin; Nature Machine Intelligence 1:206-215, May 2019). arXiv 1811.10154. 2018-11-26. https://arxiv.org/abs/1811.10154 (verified: primary)
  7. [7] NIST IR 8312, Four Principles of Explainable Artificial Intelligence (explanation, meaningful, explanation accuracy, knowledge limits). NIST. 2021-09-29. https://doi.org/10.6028/NIST.IR.8312 (verified: primary)
  8. [8] Data (Use and Access) Act 2025, s. 80 (replaces UK GDPR Art. 22 with Arts. 22A–22D; Art. 22C safeguards: information, representations, human intervention, contest; in force 5 Feb 2026). legislation.gov.uk. 2025. https://www.legislation.gov.uk/ukpga/2025/18/section/80 (verified: primary)
  9. [9] Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1 (MEASURE 2.8 transparency and accountability risks “examined and documented”; MEASURE 2.9 model “explained, validated, and documented” and output “interpreted within its context”). NIST. 2023-01-26. https://doi.org/10.6028/NIST.AI.100-1 (verified: primary)
  10. [10] NIST AI RMF to ISO/IEC FDIS 42001 crosswalk (provider: Microsoft; lists the Annex B implementation-guidance clauses, whose numbers mirror the Annex A control ids, e.g. B.8.2 system documentation and information for users; the ISO text was not opened). NIST AI Resource Center. 2023. https://airc.nist.gov/docs/NIST_AI_RMF_to_ISO_IEC_42001_Crosswalk.pdf (verified: secondary)
Edit this page on GitHub
Cite this pattern

García Aibar, J. (2026). Pattern: Explanation Artefact. In AI Governance Engineering: The Thesis & Body of Knowledge (v0.5.0), chapter 05, Patterns. https://doi.org/10.5281/zenodo.22956197. https://aigovernanceengineer.com/patterns/explanation-artefact. CC BY 4.0

BibTeX

@misc{aige2026bok,
  author  = {Jorge García Aibar},
  title   = {{AI Governance Engineering: The Thesis \& Body of Knowledge}},
  chapter = {05. Patterns: Explanation Artefact},
  year    = {2026},
  version = {0.5.0},
  doi     = {10.5281/zenodo.22956197},
  url     = {https://aigovernanceengineer.com/patterns/explanation-artefact},
  note    = {Version 0.5.0}
}
Share on LinkedIn