Skip to main content

Explainability Metric Ontology

Evaluation Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
EXPLAINABILITY METRIC ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Evaluation Entities
Version: 1.0 | Date: 2026-11-03 | Language: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/evaluation-entities/explainability-metric-ontology.html
SOURCE STATUS: The public page identifies the ontology and authors but does not expose its full technical specification in accessible text. This document is an independently developed extended formalisation, not a transcription of hidden page content.
CITATION: Higgins, M. A. and Sky — Recursive AI, Explainability Metric Ontology — Flow Algebra, Semantic Library (2026). Cite source URL when reusing.

01. PURPOSE
Define explainability metrics as measurable properties of an explanation relative to a model, decision, target audience, evaluation dataset and declared explanation method. Distinguish explanation quality from predictive accuracy and from causal validity.

02. ENTITY DEFINITION
ExplainabilityMetric := (metric_id, definition, target, scope, estimator, scale, direction, assumptions, provenance, uncertainty, validity_domain).
Explanation := (explanation_id, model_id, input_id, output_id, method, attribution_or_rules, audience, timestamp).
EvaluationRecord := (run_id, metric_id, explanation_id, value, interval, status, evidence).

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: model predictions, input samples, explanations, perturbation trials and ground-truth evidence where available.
R_t: relations among model, explanation, input features, audience, metric and evaluation protocol.
B_t: bounds on perturbations, resources, privacy, valid features, sampling and interpretation.
K_t: metric definitions, model metadata, method assumptions, evaluation history and calibration evidence.

04. CORE RECURSIVE FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t : satisfies(x, B_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, observation_t)
NOTE: This is a selection/update schema, not proof that a candidate explanation is correct. Probability requires an explicit model and calibration.

05. EXPLAINABILITY DIMENSIONS
Faithfulness: explanation tracks model behaviour under valid interventions.
Stability: similar admissible inputs yield compatible explanations.
Sparsity: number or proportion of features cited.
Complexity: rule count, depth, length or description length.
Coverage: fraction of inputs where explanation applies.
Consistency: agreement across repeated runs or compatible models.
Comprehensibility: audience-specific understanding, measured through user studies.
Actionability: feasibility of suggested changes subject to causal and domain constraints.

06. FAITHFULNESS FLOW
Given model f, explanation g_x, admissible perturbation distribution Q_x:
F(x) = 1 - E_{z~Q_x}[d(f(z),g_x(z))]/D
where d is a specified discrepancy and D a positive normaliser.
If D is undefined, report unnormalised discrepancy; do not fabricate a bounded score. Local surrogate faithfulness applies only over Q_x.

07. STABILITY FLOW
For admissible neighbouring inputs x and x' with comparable predictions:
Stability(x,x') = 1 - min(1, d_E(e(x),e(x'))/C)
where C>0 is predeclared. Specify explanation alignment and metric d_E. Instability may be appropriate when the model crosses a real decision boundary.

08. SPARSITY AND COMPLEXITY
Sparsity(e) = 1 - |support(e)|/p for p>0, when support is well-defined.
Complexity(e) = alpha*rule_count + beta*rule_depth + gamma*description_length.
Weights and units must be declared; higher sparsity is not automatically more faithful.

09. COVERAGE AND CONSISTENCY
Coverage = valid_explanations / eligible_cases, when eligible_cases>0.
Consistency = agreement(explanations across specified seeds/runs), with agreement function documented.
Undefined denominators yield NOT_APPLICABLE, never a default zero.

10. HUMAN-CENTRED EXPLAINABILITY
Assess comprehension with task-specific questions, decision time, error rate and calibrated user confidence. Report participant sampling, accessibility accommodations and uncertainty. Human preference alone does not establish model faithfulness.

11. CAUSALITY BOUNDARY
Feature attribution or perturbation sensitivity does not prove causal influence in the real world. Counterfactual action recommendations require a causal model or independently justified feasibility constraints.

12. METRIC AGGREGATION
For n eligible cases, M = sum_i w_i*m_i / sum_i w_i, with w_i>=0 and sum_i w_i>0.
Report sample size, subgroup values, uncertainty intervals and missingness. Never combine incompatible scales without explicit normalisation and justification.

13. UNCERTAINTY
Separate model uncertainty, explanation-method randomness, perturbation sampling uncertainty and human-study uncertainty. Use bootstrap intervals or an appropriate estimator, respecting clustered or dependent samples.

14. METRIC SELECTION
Select metrics by intended use: debugging prioritises faithfulness; communication prioritises tested comprehension; regulated or high-impact settings require auditability and appropriate domain validation. Multi-objective selection must disclose trade-offs.

15. ENTITY RELATIONSHIPS
ExplainabilityMetric --evaluates--> Explanation
Explanation --describes--> ModelOutput
Explanation --generated_by--> ExplanationMethod
EvaluationRun --uses--> EvaluationDataset
EvaluationResult --records--> MetricValue
MetricValue --qualified_by--> UncertaintyEstimate
MetricDefinition --bounded_by--> ValidityDomain
Explanation --intended_for--> Audience

16. TRI-MAPPING
Ontology layer: entities, predicates, constraints, provenance.
Mathematical layer: metric functions, estimators, intervals and admissibility sets.
Execution layer: inputs -> validation -> explanation generation -> scoring -> aggregation -> reporting.

17. MAPPING TABLE
ENTITY                 STATE / VARIABLE           EXECUTION
Model                  f                          load immutable model version
Input                  x                          validate input and provenance
Explanation            e(x)                       generate with method and seed
Metric                 m                          evaluate defined formula
Boundary               B                          reject invalid trials
Uncertainty            U                          estimate interval and caveats
Result                 r                          publish with reproducibility data

18. INFERENCE RULES
IF explanation lacks model/version reference THEN status=INVALID_PROVENANCE.
IF perturbation violates B THEN exclude trial and record exclusion.
IF metric denominator is zero THEN status=NOT_APPLICABLE.
IF human comprehensibility is asserted without human evidence THEN status=UNVERIFIED.
IF causal interpretation is asserted from attribution alone THEN flag=CAUSAL_OVERCLAIM.
IF metric definition changes THEN invalidate direct historical comparison until harmonised.

19. VALIDATION CONDITIONS
Verify metric direction and range; deterministic seeds where feasible; model and dataset versions; feature alignment; leakage controls; perturbation validity; sample adequacy; subgroup reporting; reproducible computation.

20. RECURSIVE EVALUATION LOOP
1 Define question and audience.
2 Choose metric and validity domain.
3 Freeze model, dataset and explanation method versions.
4 Generate explanations and admissible trials.
5 Score, aggregate and estimate uncertainty.
6 Inspect failure cases and subgroup differences.
7 Revise protocol or method with versioned change record.
8 Repeat on held-out evidence; stop at budget or stability criterion.

21. EXECUTION GUARANTEE — CONDITIONAL
If all inputs are valid, formulas are defined and execution completes, the system guarantees a traceable metric result under the declared protocol. It does NOT guarantee faithful explanations, causal truth, fairness, user comprehension or deployment safety.

22. SAFETY AND ETHICAL BOUNDARIES
Avoid exposing private features, sensitive records or security-relevant model internals unnecessarily. Explanations must not be used as sole justification for high-stakes decisions. Document limitations, affected populations and contestability.

23. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: source URL above
PURPOSE: retrieve and reason about explainability metric definitions and validation.
ENTITIES: ExplainabilityMetric, Explanation, Model, EvaluationRun, EvaluationResult, UncertaintyEstimate.
PATHWAYS: definition -> assumptions -> calculation -> evidence -> interpretation -> limits.
MINI_RECURSION_ENGINE: expand -> filter -> score -> update -> audit.
INFERENCE_RULES: see section 18.
CONFIDENCE: empirical and protocol-dependent; no universal confidence value.
SEMANTIC_EQUIVALENCE: interpretability != explainability != faithfulness != causality.
FLOW_HASH: compute SHA-256 of canonical published file bytes at deployment; not preassigned.
UPDATE_MODEL: semantic versioning, timestamped change log, source provenance.

24. TEXT DIAGRAM
[Model + Dataset + Explanation Method]
                  |
                  v
          [Generate Explanation]
                  |
                  v
       [Boundary / Validity Check]
             /           \
         invalid         valid
           |               |
       [Record]       [Score Metrics]
                           |
                           v
                  [Estimate Uncertainty]
                           |
                           v
                    [Audit + Report]
                           |
                           v
                 [Versioned Feedback]

25. HOW TO READ
Each metric is a protocol-bound measurement, not an intrinsic guarantee of explanation quality. Read the state model first, then metric definitions, validity boundaries and conditional execution semantics.

26. EXAMPLE
A classifier explanation cites three of twenty features: sparsity = 1 - 3/20 = 0.85. This establishes only a feature-count property; faithfulness must be measured separately using valid perturbations and an explicit discrepancy function.

27. LIMITATIONS
Different explanation methods can yield incomparable outputs; correlated features complicate attribution; human comprehension varies by population; distribution shift can invalidate previous findings. Never present a single score as comprehensive explainability.

28. REPRODUCIBILITY RECORD
Record model hash, dataset hash, metric version, method configuration, random seed, evaluation date, software environment, excluded cases and confidence interval methodology.

29. SEMANTIC CROSS-LINKS
Evaluation Metric; Evaluation Task; Evaluation Run; Evaluation Result; Robustness Metric; Fairness Metric; Safety Metric; Calibration Metric; AI Model; Model Output; Inference Entity.

30. LICENCE AND ATTRIBUTION
Prepared for the Semantic Library open research workflow. Reuse subject to the published Kireth Research Open Research Licence; verify licence terms at source. Citation requested: Higgins and Sky — Recursive AI, with the original ontology URL.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ