Skip to main content

Model Comparison Entity Ontology

Evaluation Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
MODEL COMPARISON ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Evaluation Entities
Version: 1.0 | Prepared: 03 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/evaluation-entities/model-comparison-entity-ontology.html
Status: Extended formalisation; the complete embedded source specification was not visible in the accessible HTML. This document is an original companion model, not a verbatim transcription.

01. PURPOSE
Represent a reproducible comparison of two or more AI models under a declared evaluation protocol, common task definition, appropriate datasets and metrics, with uncertainty and decision constraints made explicit.

02. ENTITY DEFINITION
ModelComparison := (comparison_id, candidates, task, dataset, protocol, metrics, runs, results, provenance, decision).
Each candidate is identified by model_id, version, configuration, checkpoint_hash and evaluation timestamp. A comparison requires at least two candidates.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: candidate models, observations, predictions, reference labels, metric outputs.
R_t: scoring, aggregation, pairing, ranking and validation relations.
B_t: task scope, dataset split, time, resources, safety and statistical boundaries.
K_t: known model configurations, provenance, baseline expectations and prior evaluation evidence.

04. FLOW ALGEBRA CORE
E_t = expand(I_t, R_t)
V_t = {x in E_t | constraints(x, B_t) = true}
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)
These expressions define a candidate reasoning workflow, not an automatically calibrated probability or proof of model superiority.

05. INPUT CONTRACT
Required: candidate identities, common task, dataset version, metric definitions, protocol version and per-model predictions or reproducible run records.
Optional: reference labels, human judgements, subgroup attributes, latency, memory, cost, energy, deployment constraints.
Reject absent candidate versioning, incompatible task definitions and undisclosed test contamination.

06. COMPARISON PRECONDITIONS
Same target construct, compatible data distribution and evaluation splits.
Identical scoring definitions and treatment of missing predictions.
Where feasible, use paired examples and repeated seeds.
Disclose unequal inference budgets, prompt templates, hardware and tool access.

07. ENTITY RELATIONSHIPS
ModelComparison --compares--> ModelEntity (2..n)
ModelComparison --evaluates_on--> EvaluationDatasetEntity
ModelComparison --implements--> EvaluationTask
ModelComparison --uses--> EvaluationMetric
ModelComparison --contains--> EvaluationRun
EvaluationRun --produces--> EvaluationResult
EvaluationResult --has--> BenchmarkScore
ModelComparison --references--> BaselineModel
ModelComparison --records--> UncertaintyEstimate
ModelComparison --supports--> DecisionRecord

08. EXECUTION FLOW
F0: Register candidates and immutable configurations.
F1: Validate common task, dataset, splits and protocol.
F2: Run or load predictions under declared budgets.
F3: Compute per-example scores and failures.
F4: Aggregate metric values using specified weights.
F5: Estimate uncertainty with appropriate paired methods.
F6: Check subgroup behaviour, robustness and safety gates.
F7: Evaluate trade-offs and eligible rankings.
F8: Publish result, limitations, hashes and audit trail.
F9: Repeat on a new dataset or protocol version when required.

09. METRIC ALGEBRA
For model m and examples i = 1..N, score s(m,i):
M(m) = sum_i w_i * s(m,i) / sum_i w_i, provided sum_i w_i > 0.
Pairwise difference: Delta(A,B) = M(A) - M(B).
Metric direction d in {+1,-1}: improvement(A,B) = d * Delta(A,B).
Never combine metrics of incompatible scales without an explicit normalisation and weighting policy.

10. PAIRED COMPARISON
For shared example i: delta_i = s(A,i) - s(B,i).
Mean paired difference = sum_i delta_i / N.
Compute uncertainty using a method appropriate to dependence and sampling, such as a paired bootstrap over independent sampling units.
A confidence interval that includes zero is not proof of equivalence.

11. MULTI-OBJECTIVE DECISION
U(m) = sum_j alpha_j * normalise_j(M_j(m)) - penalties(m).
Constraints: safety(m) >= threshold, latency(m) <= budget, cost(m) <= budget.
Weights alpha_j must be declared before ranking; a Pareto frontier may be more appropriate than a single winner.

12. RECURSIVE UPDATE
C_(t+1) = Compare(Validate(UpdateEvidence(C_t, new_runs)), protocol_t).
If task, metric or dataset changes materially, increment comparison_version and do not silently overwrite historical results.
Stop when the evaluation budget is exhausted or the predeclared decision criterion is met.

13. TRI-MAPPING
Semantic: Model A, Model B, task, evidence, metric, baseline, outcome.
Formal: candidates M, dataset D, metric functions f_j, constraints B, decision rule g.
Operational: registry -> evaluation runner -> score store -> statistical analysis -> report.

14. MAPPING TABLE
Candidate -> model_id/version/hash -> model registry
Task -> task_id/target -> task catalogue
Dataset -> dataset_id/split/hash -> immutable data store
Metric -> metric_id/direction/unit -> metric registry
Run -> seed/config/timestamp -> execution log
Result -> score/interval/failure cases -> result store
Decision -> rule/threshold/rationale -> audit record

15. INFERENCE RULES
IF task definitions differ THEN prohibit direct superiority claim.
IF metric direction differs THEN orient all improvements consistently.
IF candidate test examples differ THEN mark comparison unpaired.
IF evaluation data overlap training data THEN flag leakage risk.
IF confidence interval is broad THEN mark ranking uncertain.
IF safety gate fails THEN candidate is ineligible regardless of aggregate score.
IF evidence is incomplete THEN output INSUFFICIENT_EVIDENCE rather than a fabricated winner.

16. UNCERTAINTY
Track sampling error, run-to-run variation, label noise, evaluator disagreement, distribution shift and measurement uncertainty separately where possible.
Report sample size, intervals, seed count and statistical assumptions.
Do not interpret uncalibrated model confidence as a valid uncertainty interval.

17. FAIRNESS AND SUBGROUP VALIDITY
Where lawful and appropriate, compare subgroup outcomes and confidence intervals.
Check small-group sample sizes, intersectional gaps and differences in error costs.
An aggregate improvement does not guarantee improvement for every subgroup.

18. ROBUSTNESS
Evaluate perturbations, out-of-distribution inputs, missing data and prompt sensitivity where relevant.
Keep robustness tests distinct from the primary held-out test to avoid post-hoc optimisation.

19. SAFETY BOUNDARIES
Do not deploy solely on benchmark ranking.
Require domain-specific validation, human review where warranted, and relevant operational safeguards.
Maintain privacy protections and do not publish identifiable test records.

20. REPRODUCIBILITY
Record code revision, environment, random seeds, dataset and checkpoint hashes, prompt/tool configuration, metric implementation and evaluator versions.
A reproduced score requires equivalent inputs, execution assumptions and metric implementation.

21. EXECUTION CONDITIONS
VALID if all required identities, task definitions, scoring rules and provenance checks pass.
PARTIAL if optional robustness or subgroup evidence is missing, with omissions disclosed.
INVALID if candidate identities, reference labels or metrics cannot be reconciled.

22. EXECUTION GUARANTEE (CONDITIONAL)
Given deterministic metric functions, immutable inputs and identical execution environment, metric aggregation is reproducible.
This does not guarantee identical stochastic model outputs, generalisation, causal conclusions or real-world safety.

23. TEXT DIAGRAM
[Model Registry] ----+
                     +--> [Protocol Validator] --> [Evaluation Runs]
[Dataset Registry] --+                             |
                                                   v
[Metric Registry] ----------------------------> [Score Engine]
                                                   |
                                                   v
                                           [Uncertainty Checks]
                                                   |
                                                   v
                                         [Safety/Fairness Gates]
                                                   |
                                                   v
                                          [Comparison Decision]
                                                   |
                                                   v
                                         [Provenance & Report]

24. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/evaluation-entities/model-comparison-entity-ontology.html
CITATION_BACKLINK: source URL above
PURPOSE: Resolve and explain model comparison entities and their evaluation relations.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: ModelComparison, ModelEntity, EvaluationTask, EvaluationDataset, EvaluationRun, EvaluationMetric, EvaluationResult, BenchmarkScore.
PATHWAYS: define -> validate -> evaluate -> aggregate -> quantify uncertainty -> apply constraints -> compare -> publish.
MINI_RECURSION_ENGINE: update evidence and re-evaluate only under explicit versioning.
INFERENCE_RULES: as in section 15.
CONFIDENCE: empirical, context-specific; report evidence rather than an invented scalar.
SEMANTIC_EQUIVALENCE: model comparison; comparative model evaluation; AI system benchmarking (related, not always identical).
FLOW_HASH: compute SHA-256 from canonical UTF-8 bytes at publication; not pre-filled.
UPDATE_MODEL: immutable versioned revisions with source, timestamp and change log.

25. HOW TO READ
The entity graph describes what is being compared; the algebra describes how admissible comparisons are constructed; the execution flow describes reproducible operations. A ranking is valid only within its declared task, data, metrics and constraints.

26. EXAMPLE
On 1,000 shared examples, A scores 0.84 and B scores 0.82 on a higher-is-better metric.
Delta(A,B)=0.02. Without paired uncertainty, subgroup and protocol checks, report an observed 0.02 difference rather than declaring universal superiority.

27. FAILURE MODES
Data leakage; cherry-picked benchmarks; inconsistent prompts; incompatible budgets; metric gaming; invalid aggregation; unreported failed runs; unstable seeds; distribution shift; overclaiming statistical significance.

28. QUALITY CHECKS
Verify candidate count >= 2; unique model identifiers; task compatibility; positive weight sum; metric direction; held-out split integrity; complete provenance; no missing-value concealment; explicit uncertainty and limitation statements.

29. CROSS-ONTOLOGY LINKS
AI Evaluation Entity; Evaluation Task; Evaluation Dataset Entity; Evaluation Example; Evaluation Run; Evaluation Result; Evaluation Metric; Benchmark; Benchmark Task; Benchmark Score; Accuracy; Precision; Recall; F1 Score; Calibration; Robustness; Safety; Fairness; Explainability.

30. SOURCE AND LICENCE NOTE
Source page identifies 'Model Comparison Entity Ontology', credits Mark Anthony Higgins and Sky Recursive AI, and labels the page as Evaluation Entities. The accessible HTML did not expose the full technical rules. This companion Flow Algebra is a proposed formalisation, not a claim of verbatim extraction or empirical validation. Cite the source URL and authors when reusing this material; verify the applicable published licence terms separately.

END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ