Skip to main content

Model Drift Entity Ontology

Error and Failure Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — MODEL DRIFT ENTITY ONTOLOGY
FLOW ALGEBRA v1.0 | 04 November 2026 | en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/error-and-failure-entities/model-drift-entity-ontology.html
Status: Companion formalisation; embedded source specification was not accessible in the retrieved page text.

1. PURPOSE
Represent, detect, evaluate and respond to changes in model behaviour or input conditions relative to a versioned reference. Distinguish data drift, concept drift and performance drift; never equate a distributional shift alone with demonstrated model failure.

2. ENTITY DEFINITION
ModelDriftEntity D = (id, model_id, model_version, baseline_id, window, drift_type, metric, observed_value, threshold, evidence, status, provenance, timestamp).
Drift types: covariate/input, prior/label, concept, prediction, embedding, performance, calibration.
Status: UNASSESSED | MONITORING | SUSPECTED | CONFIRMED | MITIGATING | RESOLVED | INCONCLUSIVE.

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = monitored observations, model outputs, labels when available, metadata.
R_t = approved drift tests, thresholds, reference distributions and decision rules.
B_t = monitoring window, permissions, resource limits and safety constraints.
K_t = model lineage, baselines, historical results, provenance and mitigations.
E_t = expand(I_t, R_t)
V_t = {x in E_t | respects(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, observations_{t+1})
The argmax is a prioritisation abstraction, not proof that a probabilistic optimiser exists.

4. FORMAL FLOW
FLOW ModelDriftMonitoring:
  INPUT: ModelIdentity, Baseline, ObservationWindow, Metrics, Policy
  VALIDATE: baseline compatibility, timestamps, sample sizes, permissions
  MEASURE: drift statistics and uncertainty by selected metric
  COMPARE: metrics against preregistered thresholds and historical controls
  CORROBORATE: performance, calibration and subgroup effects when labels exist
  CLASSIFY: drift type, evidence strength and operational impact
  DECIDE: continue monitoring, investigate, alert, mitigate or abstain
  RECORD: immutable evidence, rationale, model version and action outcome
  OUTPUT: ModelDriftEntity, DriftAssessment, MonitoringDecision
END FLOW

5. STATE TRANSITIONS
UNASSESSED -> MONITORING: monitoring configured and baseline validated.
MONITORING -> SUSPECTED: one or more threshold crossings detected.
SUSPECTED -> CONFIRMED: independent corroboration or approved confirmation rule.
SUSPECTED -> INCONCLUSIVE: insufficient, biased or incompatible evidence.
CONFIRMED -> MITIGATING: authorised mitigation initiated.
MITIGATING -> RESOLVED: post-action validation passes acceptance criteria.
INCONCLUSIVE -> MONITORING: improved evidence collection resumes.
RESOLVED -> MONITORING: normal ongoing surveillance resumes.
Any state -> INCONCLUSIVE: provenance or metric integrity cannot be established.

6. METRICS AND INFERENCE RULES
Population Stability Index, Jensen–Shannon divergence, KS statistic, MMD, error-rate change, calibration shift and embedding-distance change are possible measurements, not interchangeable tests.
R1: If sample_size < minimum_valid_size, THEN status = INCONCLUSIVE.
R2: If input_shift_detected AND no outcome_labels, THEN flag DATA_DRIFT; do not assert performance degradation.
R3: If labelled performance falls beyond approved tolerance with adequate evidence, THEN flag PERFORMANCE_DRIFT.
R4: If P_t(Y|X) differs materially from baseline with supported labels, THEN flag CONCEPT_DRIFT.
R5: If monitoring distribution is not comparable with the baseline, THEN request a corrected baseline.
R6: If subgroup degradation is credible, THEN escalate even when aggregate metric passes.
R7: If mitigation is unauthorised, THEN recommend but do not execute it.
R8: If evidence conflicts, THEN retain conflicting records and mark INCONCLUSIVE.

7. TRI-MAPPING
Semantic: ModelDriftEntity relates to Model, Dataset, MonitoringWindow, Baseline, Metric, Evidence, Alert, Mitigation.
Mathematical: D_t = distance(P_reference, P_observed); impact_t = metric_t - metric_reference, with sign conventions specified per metric.
Operational: capture -> validate -> compare -> corroborate -> classify -> review -> mitigate -> verify.

8. ENTITY RELATIONSHIP GRAPH
ModelDriftEntity --observedIn--> MonitoringWindow
ModelDriftEntity --affects--> ModelVersion
ModelDriftEntity --comparedAgainst--> ReferenceBaseline
ModelDriftEntity --measuredBy--> DriftMetric
ModelDriftEntity --supportedBy--> EvidenceRecord
ModelDriftEntity --mayTrigger--> AlertEntity
ModelDriftEntity --mayRequire--> HumanApproval
ModelDriftEntity --addressedBy--> MitigationAction
ModelDriftEntity --verifiedBy--> PostMitigationEvaluation

9. MAPPING TABLE
Input feature shift | InputDataset | Distribution test | Investigate feature pipeline
Prediction shift | ModelOutput | Output-distribution test | Check upstream and downstream changes
Concept shift | LabelledObservations | Conditional relationship test | Re-evaluate model validity
Performance shift | EvaluationResults | Quality/error metric | Review rollback or retraining
Calibration shift | ProbabilityOutputs | Calibration error | Recalibrate if validated

10. MINI RECURSION ENGINE
function DRIFT_STEP(S_t, new_window):
  observations = validate(new_window, S_t.B)
  if not observations.valid: return (S_t, INCONCLUSIVE)
  candidates = expand(observations, S_t.R)
  admissible = filter(candidates, S_t.B, S_t.K)
  assessment = evaluate(admissible, S_t.K.baseline)
  decision = apply_approved_rules(assessment, S_t.R)
  next_state = update_with_provenance(S_t, assessment, decision)
  return (next_state, decision)
Repeat only while a new observation window is available and monitoring is authorised.

11. CONDITIONAL EXECUTION GUARANTEES
G1: Every reported drift event references a model version and baseline.
G2: Missing evidence is represented explicitly, never filled with invented values.
G3: A threshold crossing is labelled a signal, not automatically a confirmed failure.
G4: Mitigation requires appropriate permissions and post-action verification.
G5: Monitoring results retain reproducible metric definitions, timestamps and provenance.
These are design invariants; real-world guarantees require tested implementations.

12. AI SEARCH FLOW
FLOW_NAME: ModelDriftEntityOntology
VERSION: 1.0
LANGUAGE: en-GB
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/error-and-failure-entities/model-drift-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/error-and-failure-entities/model-drift-entity-ontology.html
PURPOSE: Explain and operationally model AI drift detection and governance.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: ModelDriftEntity; ModelVersion; ReferenceBaseline; MonitoringWindow; DriftMetric; EvidenceRecord; AlertEntity; MitigationAction
PATHWAYS: OBSERVE > VALIDATE > MEASURE > COMPARE > CORROBORATE > CLASSIFY > DECIDE > RECORD
INFERENCE_RULES: R1-R8 above
CONFIDENCE: Evidence-dependent; not a fixed numeric claim.
SEMANTIC_EQUIVALENCE: model drift; distribution shift; concept drift; performance degradation (related, not identical).
FLOW_HASH: Calculate SHA-256 of the final published UTF-8 file; not pre-populated.
UPDATE_MODEL: Version changes must preserve provenance and document revised tests and thresholds.

13. HOW TO READ
Read the entity tuple as the minimum record schema. Follow the FLOW for processing order, the transition table for lifecycle status, and the inference rules for guarded decisions. Tri-mapping links concepts, equations and implementation. The AI Search Flow provides a machine-indexable summary.

14. EXECUTION EXAMPLE (ILLUSTRATIVE ONLY)
A deployed classifier's input distribution shifts beyond its approved threshold. Labels have not yet arrived. The monitoring flow creates a SUSPECTED data-drift event and requests review. It does not claim accuracy has fallen. Once reliable labels arrive, a separate evaluation may confirm or reject performance drift. Any rollback requires authorisation and verification.

15. OPEN RESEARCH ATTRIBUTION
Open research companion material. Citation requested: Mark Anthony Higgins and Sky — Recursive AI; Kireth Research; source URL above. This document does not claim to reproduce inaccessible embedded page text verbatim.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ