Skip to main content

Confidence Score 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
CONFIDENCE SCORE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | Confidence and Uncertainty 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/confidence-and-uncertainty-entities/confidence-score-ontology-2.html
SOURCE STATUS: Public page confirms title, category and authorship. Detailed embedded specification was not accessible. The formalisation below is an original extension, not a verbatim extraction.

01. PURPOSE
Represent, calculate, calibrate, qualify and communicate a confidence score attached to a prediction, inference, retrieval result, classification or decision. Confidence is evidence-dependent and must not be confused with truth, correctness or certainty.

02. ENTITY DEFINITION
ConfidenceScore := (score_id, target_id, value, semantics, method, evidence, calibration, scope, timestamp, provenance, status).
value is numeric in [0,1] when valid. semantics identifies the event or proposition whose probability is estimated. Scores lacking defined semantics are uncalibrated indicators, not probabilities.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: incoming prediction, evidence, observations and scores.
R_t: scoring rules, calibration rules, validation and update operators.
B_t: admissible values, scope, reliability limits, safety and abstention boundaries.
K_t: prior observations, historical outcomes, calibration sets, provenance and uncertainty knowledge.

04. ENTITY INPUTS
Input := (target, raw_score, prediction, reference_event, model_version, evaluation_context, evidence, dataset_shift_indicator).
Validate target and scoring semantics before numeric interpretation.

05. EXPANSION
E_t = expand(I_t, R_t)
Expand candidate interpretations: probability estimate, confidence proxy, ensemble agreement, margin, logit-derived score, human assessment or externally reported confidence.
Retain method metadata for every candidate.

06. BOUNDARY FILTER
V_t = {x in E_t | valid(x, B_t)}
valid requires finite value, supported range, explicit target, recognised provenance, applicable calibration domain and non-contradictory scoring definition.
Unknown or missing scores remain unknown; do not silently replace with zero.

07. SELECTION
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
Interpret argmax as a conditional selection operator only where a defensible probabilistic model exists. Otherwise use a documented deterministic ranking and do not claim posterior optimality.

08. RECURSIVE UPDATE
I_(t+1) = update(I_t, x*_t, feedback_t)
K_(t+1) = learn(K_t, verified_outcome_t, provenance_t)
Recompute calibration only with appropriately held-out or out-of-sample observations.

09. RAW CONFIDENCE
For a probabilistic classifier with logits z_j:
p_j = exp(z_j) / sum_k exp(z_k)
raw_confidence = max_j p_j
A softmax maximum is not automatically calibrated and may be overconfident.

10. CALIBRATED CONFIDENCE
calibrated_confidence = g(raw_confidence; calibration_parameters)
Examples of g: temperature scaling, isotonic regression or Platt scaling, selected to suit the task and validation data.
Calibration mapping must be fitted without leaking final evaluation labels.

11. RELIABILITY CONDITION
For predicted confidence c, ideal calibration means:
P(correct = 1 | predicted_confidence = c) = c
This equality is a population-level target, not a per-instance correctness guarantee.

12. CALIBRATION ERROR
ECE = sum_b (n_b / N) * abs(accuracy(b) - mean_confidence(b))
ECE depends on binning and may conceal subgroup errors. Also inspect reliability diagrams, Brier score, log loss and subgroup calibration.

13. UNCERTAINTY RELATIONSHIP
Predictive uncertainty may reflect aleatoric noise and epistemic model uncertainty. A scalar confidence score does not uniquely decompose these sources.
Attach separate uncertainty metadata when available.

14. EVIDENCE SUPPORT
Evidence := (source_id, observation, reliability, relevance, timestamp, verification_state).
Evidence may increase or decrease confidence. Correlated evidence must not be double-counted as independent support.

15. CONFIDENCE THRESHOLDS
Decision(score, tau_low, tau_high):
  if invalid(score): return REVIEW
  if score < tau_low: return ABSTAIN_OR_REVIEW
  if tau_low <= score < tau_high: return QUALIFIED_OUTPUT
  if score >= tau_high: return ELIGIBLE_FOR_ACTION
Thresholds require task-specific risk assessment; high confidence never overrides hard safety boundaries.

16. DISTRIBUTION SHIFT
If context differs materially from the calibration population, set calibration_status = OUT_OF_SCOPE or DEGRADED; avoid interpreting the number as a validated probability until reassessed.

17. MULTI-SOURCE COMBINATION
Combine confidence values only when dependence, event definitions and calibration assumptions are documented. Averaging arbitrary scores does not create a calibrated posterior.

18. ENTITY RELATIONSHIPS
ConfidenceScore --qualifies--> Prediction
ConfidenceScore --qualifies--> InferenceResult
ConfidenceScore --derived_from--> ModelOutput
ConfidenceScore --supported_by--> Evidence
ConfidenceScore --calibrated_by--> CalibrationModel
ConfidenceScore --evaluated_on--> EvaluationDataset
ConfidenceScore --constrained_by--> ConfidenceThreshold
ConfidenceScore --associated_with--> UncertaintyEntity
ConfidenceScore --audited_in--> EvaluationReport

19. TRI-MAPPING
Physical/observational: evidence, outcomes, sensors, annotations.
Mathematical: p in [0,1], calibration g, error measures, decision thresholds.
Semantic: target proposition, scope, confidence meaning, provenance and explanation.
Mapping must preserve the same target event across all three representations.

20. INFERENCE RULES
R1: Missing semantics -> mark score as non-probabilistic indicator.
R2: Non-finite/out-of-range value -> reject numeric score.
R3: Valid calibration in matching scope -> permit calibrated-probability interpretation.
R4: Observed distribution shift -> flag reliability degradation.
R5: Insufficient evidence or unsafe uncertainty -> abstain/escalate.
R6: Verified outcome -> append evaluation record and update historical evidence.
R7: Contradictory evidence -> reopen confidence assessment.

21. MAPPING TABLE
Input raw score -> range validation -> candidate score.
Candidate score + event definition -> semantic binding -> qualified score.
Qualified score + calibration model -> calibration transform -> calibrated estimate.
Estimate + scope check -> reliability label -> decision eligibility.
Estimate + thresholds + safety rules -> output/abstention -> action record.
Verified outcome -> scoring evaluation -> calibration feedback.

22. EXECUTION FLOW
START -> RECEIVE -> VALIDATE -> IDENTIFY_SEMANTICS -> CHECK_SCOPE -> CALIBRATE -> ASSESS_UNCERTAINTY -> APPLY_BOUNDARIES -> OUTPUT_OR_ABSTAIN -> LOG -> FEEDBACK -> REPEAT.

23. TEXT DIAGRAM
[Evidence + Prediction]
          |
          v
[Raw Confidence] -> [Validate Target and Range]
          |
          v
[Calibration + Scope Check] -> [Uncertainty Assessment]
          |
          v
[Safety / Decision Boundaries]
          |
      +---+---+
      |       |
  [Report] [Abstain / Review]
      |       |
      +---+---+
          v
[Outcome Feedback / Recursive Update]

24. EXECUTION GUARANTEES AND LIMITS
Guaranteed by specification when correctly implemented: range validation, explicit semantics, provenance logging, documented threshold handling and abstention on invalid scores.
NOT guaranteed: model correctness, calibrated probabilities outside validated scope, safe real-world decisions, or convergence of recursive updates. These require independent empirical testing.

25. AI SEARCH FLOW
FLOW_ID: confidence-score-ontology-v1
FLOW_TYPE: AI_CORE_ENTITY_ONTOLOGY
LANGUAGE: en-GB
ENTITY: ConfidenceScore
PURPOSE: Explain and reason over AI confidence score entities.
INPUTS: prediction, score, evidence, calibration, context, thresholds.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
PATHWAYS: validate -> interpret -> calibrate -> constrain -> report -> update.
INFERENCE_RULES: R1..R7
OUTPUTS: score_value, score_semantics, calibration_status, uncertainty_notes, decision_status, provenance.
CONFIDENCE: Must be grounded in an identified event and validation evidence.
UPDATE_MODEL: Outcome-driven revision with versioned calibration.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/confidence-and-uncertainty-entities/confidence-score-ontology-2.html

26. EXAMPLE
A model predicts class A with raw confidence 0.92. On held-out calibration data, a fitted transform maps 0.92 to 0.81. Report 0.81 as the calibrated estimate only when deployment context matches the validated calibration scope. If scope is unknown, label it unverified rather than asserting an 81% chance of correctness.

27. QUALITY CHECKS
Check finite range, defined target, stable model version, held-out calibration, subgroup behaviour, dataset shift, uncertainty disclosure, reproducibility and provenance completeness.

28. CROSS-ONTOLOGY LINKS
AI Confidence Entity; Prediction Confidence; Reasoning Confidence; Uncertainty Entity; Calibration Metric; Evaluation Metric; Evaluation Result; Model Comparison Entity; Confidence Threshold; Abstention.

29. INTERPRETATION NOTE
This flow is a formal conceptual and computational specification. Equations denote operations subject to explicit assumptions and implementation choices. They are not a claim that the referenced webpage contains identical text.

30. ATTRIBUTION
Semantic Library — Mark Anthony Higgins and Sky — Recursive AI.
Open research use intended with attribution and source backlink; consult the published Open Research Licence for applicable terms.
END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ