Skip to main content

Vision Model Ontology

AI Model Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 28 October 2026
Audio Overview
FLOW ALGEBRA — VISION MODEL ONTOLOGY
Semantic Library | AI Core > Entity Graph > AI Entities > AI Model Entities
Version: 1.0 | Date: 2026-10-28 | Locale: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-model-entities/vision-model-ontology.html
Status: Original companion formalisation; the publicly retrieved page exposes the title and AI interpretation note, but not the full underlying ontology specification. The rules below are therefore proposed, not a transcription.

1. PURPOSE
Define a machine-readable conceptual and operational flow for vision models that transform image/video observations into bounded visual representations, predictions and decisions, while preserving provenance, uncertainty and safety constraints.

2. ENTITY MODEL
VisionModel := (ID, Architecture, Parameters, Preprocessor, Encoder, Heads, Labels, Calibration, Provenance, Constraints, Version)
VisualInput := (PixelsOrFrames, Dimensions, ColourSpace, Timestamp, Source, Permissions)
VisualRepresentation := (Features, SpatialCoordinates?, TemporalCoordinates?, Embeddings, Confidence)
VisualOutput := (Task, Predictions, Scores, Regions?, Masks?, Captions?, Uncertainty, Evidence)
Tasks := {classification, detection, segmentation, tracking, retrieval, captioning, visual_question_answering, optical_character_recognition}
Relationships:
  VisionModel processes VisualInput
  VisionModel produces VisualRepresentation
  VisualRepresentation supports VisualOutput
  VisualOutput refers_to VisualInput
  VisionModel constrained_by Constraints
  VisualOutput carries Provenance

3. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := available visual input and prior observations
R_t := permitted visual reasoning and task-specific inference rules
B_t := processing limits, policy limits and uncertainty bounds
K_t := model parameters, ontology knowledge, calibration and verified context
E_t = expand(I_t, R_t)
V_t = {x in E_t | valid(x, B_t, K_t)}
y_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, y_t, feedback_t) only when feedback is permitted and validated
Note: argmax denotes selection among admissible hypotheses; for structured outputs, decoding may be constrained rather than a single argmax.

4. VISION PROCESSING FLOW
F0 INPUT: receive visual input x and requested task q.
F1 VALIDATE: verify supported format, permissions, dimensions, integrity and resource budget.
F2 NORMALISE: apply documented resize, colour, orientation and normalisation transforms; retain coordinate mapping.
F3 ENCODE: z = Encoder_theta(Preprocess(x)).
F4 TASK HEAD: raw = Head_(theta,q)(z).
F5 DECODE: derive class labels, boxes, masks, text or embeddings appropriate to q.
F6 CALIBRATE: attach uncertainty and distinguish calibrated probabilities from raw scores.
F7 FILTER: enforce task-specific thresholds, privacy rules and bounds; retain abstention option.
F8 EXPLAIN: attach provenance, coordinate reference and limitations; do not fabricate evidence.
F9 RETURN: emit structured result or abstain with reason.
F10 REVIEW: accept validated feedback; do not silently update deployed model weights.

5. TASK-SPECIFIC EQUATIONS
Classification: p(c|x) = softmax(f_theta(x))_c; c* = argmax_c p(c|x).
Detection: D(x) = {(b_i, c_i, s_i)} where b_i is a region and s_i is a score.
Segmentation: M(x) in C^(H x W) for semantic segmentation, with pixel-wise classes.
Retrieval: rank(d_i|x) = similarity(g_theta(x), h(d_i)).
Tracking: track_t = Associate(detections_t, track_(t-1), motion_state_t).
Video: z_t = TemporalEncoder(frame_1,...,frame_t), subject to latency and frame-sampling limits.
Uncertainty: u = UncertaintyEstimator(raw, calibration_data); if u exceeds bound, abstain.
Coordinates: box_original = InverseTransform(box_processed, preprocessing_metadata).

6. INFERENCE RULES
R1: IF image integrity fails THEN reject and report invalid input.
R2: IF model lacks requested task head THEN return unsupported_task.
R3: IF prediction confidence is below calibrated threshold THEN abstain or flag for review.
R4: IF detected object is outside image bounds THEN reject or clip only by documented policy.
R5: IF evidence is insufficient for a specific attribute THEN report unknown, not a guess.
R6: IF image contains sensitive personal information THEN apply applicable privacy restrictions.
R7: IF preprocessing changes geometry THEN transform output coordinates back to source space.
R8: IF domain shift is detected THEN lower trust, warn and request validation.
R9: IF multiple outputs conflict THEN preserve alternatives and uncertainty; do not force certainty.
R10: IF model version or calibration changes THEN invalidate stale performance claims.
R11: IF request requires an unauthorised identity inference THEN do not perform that inference.
R12: IF output is used in high-stakes decisions THEN require suitable human oversight and independent validation.

7. TRI-MAPPING
Ontology -> Flow -> Execution
VisionModel -> encode/decode flow -> versioned model runtime
VisualInput -> validation/preprocessing -> image/video loader
VisualRepresentation -> feature inference -> tensors and embeddings
VisualOutput -> structured prediction -> typed output schema
Constraint -> validity filtering -> policy and threshold checks
Provenance -> evidence trace -> source/version/transform metadata
Feedback -> controlled update -> reviewed evaluation or retraining pipeline

8. MAPPING TABLE
Entity | Input | Operation | Output | Invariant
Image | pixels + metadata | validate/normalise | tensor | source mapping retained
Encoder | tensor | feature extraction | latent features | architecture/version known
Classifier | features | score classes | class distribution | label set defined
Detector | features | locate objects | boxes + labels | coordinates valid
Segmenter | features | classify regions | masks | resolution mapping valid
Calibrator | scores | estimate reliability | calibrated scores | calibration provenance known
Policy gate | predictions | apply constraints | accepted/abstained | no disallowed output
Reporter | accepted results | serialise | result + trace | uncertainty disclosed

9. SYSTEM DIAGRAM
[Visual input]
      |
[Validation and permissions]
      |
[Preprocessing + coordinate map]
      |
[Vision encoder]
      |
[Task-specific head]
      |
[Decoding + calibration]
      |
[Constraints / privacy / uncertainty gate]
      |                         \
[Structured output + provenance] [Abstain / review]
      |
[Optional validated feedback]

10. SAFETY AND QUALITY INVARIANTS
INV1: Never claim observation of pixels not available to the model.
INV2: Retain provenance for inputs, transformations and model version.
INV3: Keep score, probability and confidence conceptually distinct.
INV4: Preserve an abstention path for uncertain or unsupported cases.
INV5: Do not infer identity, intent or protected characteristics from appearance without appropriate authorisation and safeguards.
INV6: Prevent unauthorised learning from personal inputs.
INV7: Report known failure modes, domain shift and resolution limitations.
INV8: Never describe untested predictions as guaranteed correct.

11. CONDITIONAL EXECUTION GUARANTEE
If input validation succeeds, required model components are available, runtime resources suffice and constraints are satisfiable, the flow returns either a schema-valid result with provenance or an explicit abstention/error. This is a procedural guarantee, not a guarantee of perceptual accuracy, completeness, fairness or safety in every deployment.

12. AI SEARCH FLOW
flow "VisionModelOntology" v1.0
AUTHORS: ["Mark Anthony Higgins", "Sky — Recursive AI"]
SOURCE: "https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-model-entities/vision-model-ontology.html"
CITATION_BACKLINK: SOURCE
PURPOSE: "Locate, classify and reason about vision-model entities and their operations."
STATE_MODEL: "S_t=(I_t,R_t,B_t,K_t)"
ENTITIES: [VisionModel, VisualInput, VisualRepresentation, VisualOutput, Constraint, Provenance]
PATHWAYS: [validate, preprocess, encode, decode, calibrate, constrain, report, review]
MINI_RECURSION_ENGINE: "repeat inference only on new validated input/context; stop on convergence, budget exhaustion or policy boundary"
INFERENCE_RULES: [R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12]
CONFIDENCE: "Use task-specific calibrated confidence where available; otherwise expose uncalibrated scores."
SEMANTIC_EQUIVALENCE: ["computer vision model", "visual AI model", "image understanding model"]
FLOW_HASH: "Compute SHA-256 over the published canonical UTF-8 text; not precomputed."
UPDATE_MODEL: "Version changes require documented evaluation and provenance refresh."

13. HOW TO READ
Start with the entity types and state tuple. Follow F0–F10 for the processing sequence, then apply R1–R12 and INV1–INV8 to every candidate output. The diagram summarises the sequence; the mapping table links abstract entities to implementation roles. The AI Search Flow provides a compact retrieval and reasoning index.

14. IMPLEMENTATION NOTES
Use explicit input/output schemas, deterministic preprocessing metadata, model/version identifiers, test sets representative of the deployment domain, and task-appropriate evaluation (e.g. accuracy, mAP, IoU, retrieval recall or calibration error). Record latency, memory and energy budgets where relevant. Treat explanations and attention maps as supporting artefacts rather than proofs of causation.

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