Skip to main content

Foundation 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
FOUNDATION MODEL ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core > Entity Graph > AI Entities > AI Model Entities
Version: 1.0 | 28 October 2026 | Locale: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-model-entities/foundation-model-ontology.html
Status: Original companion formalisation; source page heading and metadata verified, full ontology body not exposed by page retrieval.

1. PURPOSE
Represent a foundation model as a reusable, broadly pretrained computational model whose learned parameters support adaptation to multiple downstream tasks. Distinguish model, training process, deployment, adaptation, evaluation and governance.

2. ENTITY SCHEMA
FoundationModel := (id, architecture, modality_set, theta, tokenizer_or_encoder, pretraining_objective, training_provenance, capabilities, limitations, interfaces, version, governance)
Task := (task_id, input_schema, output_schema, evaluation_metric, constraints)
Adaptation := (method, data, parameter_delta, configuration, validation)
Deployment := (runtime, hardware, access_policy, monitoring, rollback)
Evidence := (source, date, measurement, confidence, scope)

3. RELATIONS
is_a(FoundationModel, AIModel)
pretrained_on(FoundationModel, DatasetCollection)
optimised_by(FoundationModel, TrainingProcedure)
supports(FoundationModel, Task) [requires evidence]
adapted_into(FoundationModel, TaskSpecificModel)
evaluated_on(FoundationModel, Benchmark)
deployed_as(FoundationModel, ModelService)
version_of(ModelVersion, FoundationModel)
governed_by(Deployment, Policy)

4. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := current task inputs, prompts, context and observations
R_t := authorised inference, retrieval, adaptation and validation rules
B_t := resource, policy, safety, privacy and latency boundaries
K_t := model metadata, parameters or parameter references, provenance and validated knowledge
Candidate expansion: E_t = expand(I_t, R_t, K_t)
Valid set: V_t = {x in E_t | satisfies(x, B_t) and type_valid(x)}
Selection: x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
Update: I_(t+1) = observe(x*_t, feedback_t)
No candidate may be selected if V_t is empty: return abstain/error and reason.
Probability scores are model-dependent and need calibration before comparison across systems.

5. PRETRAINING FLOW
D_raw -> provenance_check -> filtering -> deduplication -> split -> encoding
-> training objective -> parameter optimisation -> checkpoint
-> evaluation -> documented foundation model version.
Training is an offline lifecycle operation, not implied by each inference call.

6. INFERENCE FLOW
Request -> authenticate -> validate input -> apply policy -> encode
-> infer with frozen deployed model -> decode -> verify constraints
-> optional tool/retrieval grounding -> postprocess -> respond -> log permitted telemetry.

7. ADAPTATION FLOW
Base model -> select method (prompting, retrieval augmentation, adapters, fine-tuning)
-> obtain authorised task data -> train/configure as appropriate
-> evaluate against base and safety baselines -> approve -> version -> deploy.
Prompting and retrieval do not necessarily alter model parameters.

8. INFERENCE RULES
R1: if pretraining spans reusable representations and multiple downstream tasks are supported, classify as foundation-model candidate.
R2: if task-specific tuning occurs, preserve lineage to immutable base version.
R3: if claimed capability lacks validated evidence, mark unverified rather than assert support.
R4: if inputs violate policy or type constraints, reject before model execution.
R5: if generated output violates hard constraints, suppress or revise; never treat high model confidence as policy exemption.
R6: if evidence distribution differs materially from deployment data, flag domain shift and require reassessment.
R7: if adaptation worsens critical safety metrics, block promotion.
R8: if version or provenance is unknown, reduce trust and prevent unsupported reproducibility claims.
R9: if model output is stochastic, distinguish repeatability under fixed controls from absolute determinism.
R10: if external tools are used, validate permissions, arguments and returned evidence independently.

9. TRI-MAPPING
Entity: FoundationModel
  -> Structure: architecture, parameters, modalities, metadata, lineage
  -> Process: pretraining, inference, adaptation, evaluation, deployment
  -> Meaning: reusable learned representation with bounded, evidence-based capabilities
Entity: ModelVersion
  -> Structure: checkpoint, configuration, hashes
  -> Process: registration, evaluation, release, rollback
  -> Meaning: auditable and distinguishable model state
Entity: TaskAdaptation
  -> Structure: task specification, adaptation artefacts, validation results
  -> Process: configure/train, test, approve
  -> Meaning: task-specific behaviour derived from a foundation model

10. MAPPING TABLE
Concept | Input | Transformation | Output | Invariant
Pretraining | curated data | optimise objective | base checkpoint | provenance retained
Inference | valid request | bounded model computation | candidate response | policy enforced
Adaptation | base + task evidence | configure or update | adapted variant | lineage retained
Evaluation | model + test set | measure metrics | evidence report | no fabricated scores
Deployment | approved version | provision and monitor | service | rollback path retained

11. SYSTEM DIAGRAM (TEXT)
                  [Governance / Policies]
                           |
[Data] -> [Pretraining] -> [Foundation Model Registry]
                                 |          |
                            [Evaluation] [Adaptation]
                                 |          |
                                 +----[Approved Version]
                                            |
[Request] -> [Validation] -> [Inference] -> [Output Checks] -> [Response]
                                            |
                                     [Monitoring / Feedback]

12. SAFETY AND QUALITY INVARIANTS
INV1: model identity and version are traceable.
INV2: no deployment is approved without relevant evaluation.
INV3: restricted information is processed only with proper authority.
INV4: training/evaluation data leakage is checked where feasible.
INV5: model predictions are not automatically factual evidence.
INV6: adaptation must not silently replace the registered base checkpoint.
INV7: high-risk actions require external authorisation and validation.
INV8: unsupported guarantees of correctness, fairness or safety are prohibited.

13. CONDITIONAL EXECUTION GUARANTEE
Given valid typed inputs, accessible model artefacts, terminating bounded inference,
consistent policy checks and available compute, the flow returns either an output
passing the specified validators or a declared failure/abstention. It does NOT
guarantee factual accuracy, universal safety, or completion under resource failure.

14. AI SEARCH FLOW
flow "FoundationModelOntology" v1.0
AUTHORS: ["Mark Anthony Higgins", "Sky — Recursive AI"]
SOURCE: "https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-model-entities/foundation-model-ontology.html"
CITATION_BACKLINK: SOURCE
PURPOSE: "Resolve foundation-model entities, versions, adaptations and validated capabilities."
STATE_MODEL: "S_t=(I_t,R_t,B_t,K_t)"
ENTITIES: [FoundationModel, ModelVersion, TrainingDataset, TrainingProcedure, Task, Adaptation, Evaluation, Deployment, Policy]
PATHWAYS: [identify, classify, inspect_provenance, evaluate, adapt, deploy, monitor]
MINI_RECURSION_ENGINE: "observe -> generate -> validate -> select -> update; bounded by policy and budget"
INFERENCE_RULES: [R1,R2,R3,R4,R5,R6,R7,R8,R9,R10]
CONFIDENCE: "Evidence-dependent; do not invent numeric confidence."
SEMANTIC_EQUIVALENCE: "foundation model ~ broadly pretrained reusable base model; not necessarily identical to a deployed chatbot"
FLOW_HASH: "Compute SHA-256 of published canonical UTF-8 file at deployment; not prefilled."
UPDATE_MODEL: "Version changes require new provenance, evaluation and revision record."

15. HOW TO READ
Read each entity as a typed node, each relation as an auditable edge, and each flow
as a guarded transition. A foundation model is not interchangeable with an application,
agent, service or fine-tuned derivative. Claims about capability require measured evidence.

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