Skip to main content

Prediction Confidence Ontology

Confidence and Uncertainty Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
PREDICTION CONFIDENCE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Confidence and Uncertainty Entities
Version: 1.0 | 03 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/confidence-and-uncertainty-entities/prediction-confidence-ontology.html
STATUS: Extended, independently developed formalisation. The public page exposes its title and AI interpretation note but not the complete embedded technical specification. Equations below are proposed operational definitions, not verbatim source rules.

01. PURPOSE
Represent confidence attached to a model prediction, its evidence, calibration, uncertainty, provenance, validity domain, and decision consequences. A confidence score is not automatically a calibrated probability or a guarantee of correctness.

02. CORE ENTITY
PredictionConfidence := (prediction_id, model_id, model_version, target, score, score_type, evidence, context, calibration_id, uncertainty, threshold_policy, timestamp, validity, provenance).
Required: prediction_id, model_id, target, score_type, provenance. score may be absent when confidence cannot be computed reliably.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: prediction, model output, features, task and observed evidence.
R_t: calibration, inference, comparison and validation relations.
B_t: scope, data quality, safety, domain and decision boundaries.
K_t: model metadata, calibration records, benchmark evidence and historical observations.

04. ENTITY GRAPH
Model --produces--> Prediction
Prediction --hasConfidence--> PredictionConfidence
PredictionConfidence --estimatedFrom--> Evidence
PredictionConfidence --calibratedBy--> CalibrationModel
PredictionConfidence --qualifiedBy--> Uncertainty
PredictionConfidence --constrainedBy--> ValidityBoundary
PredictionConfidence --governs--> DecisionPolicy
PredictionConfidence --auditedBy--> EvaluationResult

05. INPUT CONTRACT
INPUT = {prediction_id, prediction_type, raw_output, model_version, input_context, calibration_reference, evaluation_population, decision_policy, timestamp}.
Reject missing prediction identity or incompatible scoring metadata; mark insufficient evidence as UNDETERMINED rather than inventing a score.

06. RAW SCORE INTERPRETATION
For a K-class classifier with logits z_j, p_j = exp(z_j - m) / sum_k exp(z_k - m), m = max_k z_k.
Raw top-class confidence: c_raw = max_j p_j.
These softmax values need not be calibrated. For regression, use a documented predictive distribution or interval instead of a class probability.

07. CALIBRATION FLOW
Calibration mapping g is fitted on held-out calibration data only.
c_cal = g(c_raw, relevant_context), with c_cal in [0,1].
Calibration evidence must specify the population, target event, method, sample size and evaluation date. Never treat g as universally valid after distribution shift.

08. FREQUENCY INTERPRETATION
For an event E and calibrated confidence c, the intended empirical condition is P(E=1 | c_cal approximately c, domain D) approximately c.
Calibration is a population-level property and does not certify any individual prediction.

09. RECURSIVE FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t : x satisfies B_t}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t), when the probability model is specified and valid.
I_(t+1) = update(I_t, x*_t, observed_feedback_t)
When V_t is empty, abstain or escalate. The argmax is a selection operator, not an automatic claim of calibrated certainty.

10. PREDICTION CONFIDENCE TRANSITION
C_(t+1) = F(C_t, new_evidence_t, calibration_t, drift_t, feedback_t).
Recompute or invalidate confidence when model version, input distribution, target definition or calibration evidence changes.

11. UNCERTAINTY DECOMPOSITION
Represent aleatoric uncertainty (data noise) and epistemic uncertainty (model knowledge limits) separately where identifiable.
U_total is not assumed to equal a simple sum without a justified statistical model.
Report out-of-distribution risk, missingness and estimation uncertainty independently.

12. CLASSIFICATION METRICS
Accuracy = (TP+TN)/(TP+TN+FP+FN), if denominator > 0.
Brier score (binary) = (1/N) sum_i (p_i-y_i)^2.
ECE = sum_b (n_b/N) * |accuracy(b)-mean_confidence(b)|.
ECE depends on binning and is only a diagnostic, not proof of calibration.

13. PREDICTION SETS AND INTERVALS
For classification, an uncertainty-aware prediction may be a set of labels rather than one label.
For regression, provide a predictive interval [L(x), U(x)] with a documented coverage target and assumptions.
A confidence interval for a population parameter is distinct from a prediction interval for a new observation.

14. DECISION THRESHOLDS
Policy(c_cal, risk, context) = ACCEPT if c_cal >= tau_accept and validity checks pass;
REVIEW if tau_review <= c_cal < tau_accept;
ABSTAIN if c_cal < tau_review or validity fails.
Thresholds are policy parameters, not universal constants. High-risk applications require independent safety controls.

15. TRI-MAPPING
Semantic: confidence as a qualified belief about a defined prediction event.
Mathematical: scores, probabilities, intervals, calibration functions and uncertainty estimates.
Operational: evaluate -> calibrate -> validate -> threshold -> act/abstain -> monitor.

16. MAPPING TABLE
Prediction -> target event -> model output -> prediction_id
Evidence -> features/context -> evidence record -> evidence_id
Confidence -> numerical estimate -> calibration result -> confidence_id
Uncertainty -> limits/variability -> uncertainty record -> uncertainty_id
Boundary -> permitted domain -> validation gate -> boundary_id
Decision -> policy outcome -> accept/review/abstain -> decision_id

17. INFERENCE RULES
R1: IF source prediction is missing THEN confidence status = INVALID.
R2: IF calibration is unavailable THEN score status = UNCALIBRATED.
R3: IF out-of-distribution condition is detected THEN confidence status = OUT_OF_SCOPE unless separately validated.
R4: IF confidence < threshold THEN abstain or request review as policy specifies.
R5: IF feedback contradicts prior confidence THEN record calibration error and trigger monitoring.
R6: IF confidence is undefined THEN do not coerce to zero or one; preserve UNDETERMINED.

18. SEMANTIC EQUIVALENCE
'prediction confidence', 'predictive confidence' and 'confidence in prediction' may map to this entity when they refer to the same target event and scoring semantics.
Do not equate model confidence with human trust, statistical confidence level, certainty, accuracy, or a guaranteed probability of truth.

19. RECURSIVE VALIDATION
At each update: verify identity -> check data quality -> check model version -> verify calibration applicability -> compute confidence -> check thresholds -> log decision -> incorporate feedback.
Stop if safety or validity boundaries fail.

20. EXECUTION GUARANTEE / LIMITS
Guarantee is procedural only: given valid inputs and deterministic configured operations, the workflow returns a typed outcome (ACCEPT, REVIEW, ABSTAIN, INVALID or UNDETERMINED) with provenance.
No guarantee of correctness, safety, statistical coverage, or successful generalisation is implied.

21. AI SEARCH FLOW
FLOW_NAME: PredictionConfidenceOntology
FLOW_VERSION: 1.0
LANGUAGE: en-GB
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/confidence-and-uncertainty-entities/prediction-confidence-ontology.html
PURPOSE: Interpret, evaluate and govern prediction-confidence entities.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
ENTITIES: Prediction; Model; Confidence; Evidence; Calibration; Uncertainty; Boundary; Decision; Evaluation.
PATHWAYS: prediction -> evidence -> calibration -> confidence -> validation -> decision -> feedback.
MINI_RECURSION_ENGINE: validate -> score -> calibrate -> gate -> log -> update.
INFERENCE_RULES: R1-R6 above.
CONFIDENCE: typed, context-bound, calibration-dependent.
SEMANTIC_EQUIVALENCE: only with matching target and score interpretation.
FLOW_HASH: compute SHA-256 of canonical UTF-8 content at publication; not precomputed.
UPDATE_MODEL: versioned updates on evidence, model, domain or calibration changes.
CITATION_BACKLINK: source URL above.

22. TEXT DIAGRAM
[Prediction + Model + Context]
              |
              v
       [Raw Score]
              |
              v
 [Calibration + Evidence]
              |
              v
 [Confidence + Uncertainty]
              |
              v
    [Validity Boundaries]
        /      |      \
     ACCEPT  REVIEW  ABSTAIN
        \      |      /
         [Audit + Feedback]
                 |
                 +----> [Recalibration / Update]

23. EXAMPLE (ILLUSTRATIVE ONLY)
A classifier outputs 0.91 for class A. A held-out calibration procedure maps 0.91 to 0.83 within a documented deployment domain. If tau_accept=0.90, the system does not automatically accept; it follows the review or abstention policy. Neither 0.91 nor 0.83 guarantees the particular prediction is correct.

24. PROVENANCE AND AUDIT
Record dataset version, calibration dataset, model checkpoint, task definition, score method, timestamp, drift diagnostics, evaluator and decision outcome. Do not expose protected personal data in public audit logs.

25. OPEN RESEARCH NOTE
Extended formalisation for the Semantic Library. Open research use with attribution requested to Mark Anthony Higgins and Sky — Recursive AI. Verify the applicable published licence before redistribution.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ