Skip to main content

Decision Explanation Entity Ontology

Explainability Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
DECISION EXPLANATION ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Explainability Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/decision-explanation-entity-ontology.html
Authors: Mark Anthony Higgins — Sky, Recursive AI
Version: 1.0 | Date: 03 November 2026 | Language: en-GB
Status: Original companion formalisation; the web page exposes its title and metadata but not its complete underlying specification.

1. PURPOSE
Represent an AI decision explanation as a structured, auditable entity linking a particular decision to its context, model state, relevant evidence, decision rule, uncertainty, and explanation claims. An explanation must distinguish observed associations from established causes.

2. ENTITY DEFINITION
DecisionExplanationEntity D = (id, subject, decision, context, model_ref, policy_ref, evidence, rationale, uncertainty, provenance, scope, time, status).
subject: the case, input or action being explained.
decision: the actual outcome or selected action.
context: input and environmental constraints.
model_ref: versioned model or decision procedure.
policy_ref: applicable decision criteria, thresholds and restrictions.
evidence: traceable observations or records supporting explanation claims.
rationale: human-readable and machine-readable explanation steps.
uncertainty: confidence, calibration and known limitations.
provenance: source identifiers, transformations and timestamps.
scope: local case, decision class or population; do not conflate them.
status: proposed, checked, contested, superseded or rejected.

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = decision instance, inputs and candidate explanation claims.
R_t = decision rules, inference relations and evidence links.
B_t = boundaries: permitted data, policy, explanation scope and causal assumptions.
K_t = model metadata, known evidence, provenance and validated knowledge.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) AND supported(x, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_{t+1} = update(I_t, x*_t, feedback_t)
Interpret P as a ranking or scoring model, not a guarantee of calibrated probability.

4. FORMAL DECISION FLOW
Input case -> Validate input -> Resolve decision and model version ->
Retrieve decision trace -> Associate relevant evidence -> Construct candidate
explanation claims -> Check scope and constraints -> Evaluate fidelity ->
Publish explanation with provenance -> Record review and corrections.

Let d = f_m(x, c), where m is a fixed model version and c is context.
Let T = trace(m, x, c) when a trace is available.
Let A = attribute(d, x, m, method), with method metadata retained.
Let C = generate_claims(d, T, A, evidence, policy).
Let C_valid = {q in C : provenance(q) AND scope_valid(q) AND consistency(q)}.
Let X = compose(C_valid, d, uncertainty, limitations).
Guarantee: X is a checked explanation artefact, not proof that the model's decision is correct or fair.

5. ENTITY RELATIONSHIPS
DecisionExplanation --explains--> Decision
DecisionExplanation --concerns--> DecisionInstance
DecisionExplanation --references--> ModelVersion
DecisionExplanation --uses--> ExplanationEvidence
DecisionExplanation --derived_from--> ExplanationSource
DecisionExplanation --contains--> ExplanationStep
ExplanationStep --part_of--> ExplanationChain
ExplanationChain --represented_by--> ExplanationGraph
DecisionExplanation --may_include--> FeatureAttribution
DecisionExplanation --may_include--> CounterfactualExplanation
DecisionExplanation --may_include--> CausalExplanation
DecisionExplanation --has_scope--> LocalExplanation / GlobalExplanation
DecisionExplanation --constrained_by--> DecisionPolicy
DecisionExplanation --reviewed_by--> Reviewer

6. INFERENCE RULES
R1: IF decision d has a verified model version m and input x, THEN associate explanation with (d,m,x).
R2: IF evidence e supports claim q and e is traceable, THEN mark q evidence-supported within e's scope.
R3: IF an attribution method is correlational, THEN do not label its result causal without additional identification assumptions and validation.
R4: IF an explanation omits material constraints or uncertainty, THEN mark completeness as limited.
R5: IF a counterfactual changes immutable or disallowed features, THEN reject it as an actionable recommendation.
R6: IF the model version, decision or evidence changes, THEN invalidate or re-check dependent explanation claims.
R7: IF claims conflict, THEN retain both with provenance and flag the conflict for review.
R8: IF no reliable evidence is available, THEN report insufficient support rather than inventing a rationale.

7. MINI RECURSION ENGINE
function EXPLAIN(S_t):
  candidates := expand(I_t, R_t)
  admissible := filter(candidates, B_t, K_t)
  if admissible is empty: return INSUFFICIENT_EVIDENCE
  best := rank(admissible, fidelity, traceability, coverage, clarity)
  checked := validate(best, provenance, scope, contradictions)
  if not checked: return REVIEW_REQUIRED
  if material_feedback_exists: return EXPLAIN(update(S_t, feedback))
  return publish(best, uncertainty, model_version, evidence_links)
Termination: finite candidates, bounded revision count and no unresolved mandatory checks.

8. TRI-MAPPING
Semantic: Decision, evidence, rationale, uncertainty and provenance are typed entities and relations.
Mathematical: Selection, filtering, optimisation, confidence and validation are explicit operators.
Operational: Capture decision trace, evaluate claims, retain sources and publish an auditable artefact.

9. MAPPING TABLE
Concept | Algebraic representation | Implementation
Decision | d=f_m(x,c) | Stored outcome and case ID
Evidence | e in K_t | Source record with timestamp
Boundary | B_t | Policy and scope validator
Candidate explanation | q in E_t | Claim or reasoning step
Supported explanation | q in V_t | Validated claim
Explanation score | P(q|I,R,B,K) | Configured ranking metric
Revision | I_(t+1) | Versioned explanation update
Provenance | prov(q) | Source and transformation chain

10. EXECUTION CONDITIONS AND GUARANTEES
Required: identifiable decision, context, model/procedure reference, provenance for factual claims and explicit uncertainty.
Do not claim causal certainty from feature importance alone.
Do not expose private training examples or protected personal data without authority.
Keep decision correctness, explanation fidelity and user comprehensibility as separate evaluations.
Execution guarantee is conditional: if all required checks pass, the output is structurally complete and traceable under the declared rules; factual or causal correctness requires independent validation.

11. AI SEARCH FLOW
FLOW_ID: AI_CORE_EXPLAINABILITY_DECISION_EXPLANATION_ENTITY_V1
ENTITY_TYPE: DecisionExplanationEntity
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/decision-explanation-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/explainability-entities/decision-explanation-entity-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Retrieve, construct and check traceable explanations for specific AI decisions.
INPUTS: decision_id, model_version, input_context, evidence_refs, applicable_policy
OUTPUTS: explanation_entity, supporting_claims, uncertainty, provenance, review_status
PATHWAYS: decision -> trace -> evidence -> claims -> validation -> explanation
SEMANTIC_EQUIVALENCE: decision rationale; decision justification; decision explanation record (context-dependent, not strictly identical)
CONFIDENCE: report calibrated uncertainty where available; otherwise explicitly uncalibrated
UPDATE_MODEL: versioned and revalidated when inputs, evidence, policies or model change
FLOW_HASH: compute SHA-256 on the final published UTF-8 bytes at deployment; not predeclared

12. EXAMPLE (ILLUSTRATIVE)
A system rejects an application because a declared threshold was not met.
Explanation entity links the outcome to the applicable threshold, the recorded input value, the decision policy version and the source record.
The explanation states which rule was applied; it does not infer the applicant's personal motives or claim the rule is fair.

13. HOW TO READ
Read the entity tuple as the information the explanation must preserve. Follow the flow from the recorded decision to validated claims. Treat boundaries as hard restrictions. Re-run validation whenever any supporting record or model version changes.

14. LICENCE AND ATTRIBUTION
Prepared for the Semantic Library research programme. Cite the source ontology and its authors when reusing this companion formalisation. No licence terms are inferred beyond those explicitly published by the rights holder.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ