Skip to main content

Training Engine Ontology

Infrastructure Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — AI CORE / INFRASTRUCTURE ENTITIES
TRAINING ENGINE ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Date: 04 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/training-engine-ontology.html
Status: Original interpretative formalisation; not a verbatim extraction of embedded website code.

1. PURPOSE
A Training Engine is an infrastructure entity that orchestrates controlled updates to trainable model parameters using datasets, objectives, optimisation rules, execution resources and validation gates. It produces traceable training state transitions, checkpoints and evaluation evidence.

2. ENTITY AND STATE MODEL
E_train = (id, model, dataset, objective, optimiser, scheduler, resources, policy, run)
S_t = (I_t, R_t, B_t, K_t)
I_t = (batch_t, parameters_t, gradients_t, optimiser_state_t, metrics_t)
R_t = (training_rules, update_rules, validation_rules, checkpoint_rules)
B_t = (resource_limits, data_permissions, numerical_limits, safety_constraints)
K_t = (model_architecture, provenance, historical_metrics, run_configuration)
Training engine state Q_t ∈ {configured, ready, running, paused, validating, checkpointing, completed, failed, cancelled}.

3. FORMAL FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x ∈ E_t | satisfies(x, B_t) ∧ compatible(x, K_t)}
a_t = argmax_{x ∈ V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, a_t, observation_t)
S_(t+1) = transition(S_t, a_t, observation_t)
If V_t = ∅, choose a safe no-update state and emit a diagnostic event; do not infer a permissible parameter update.

4. TRAINING STEP
For an authorised batch b_t and parameters θ_t:
ŷ_t = model(θ_t, b_t.inputs)
L_t = objective(ŷ_t, b_t.targets, policy)
g_t = ∇_θ L_t (where differentiable and enabled)
(θ_(t+1), o_(t+1)) = optimiser_step(θ_t, g_t, o_t, schedule_t)
Commit θ_(t+1) only if finite(θ_(t+1)) ∧ resource_ok ∧ policy_ok ∧ update_valid.
For non-gradient learning, replace the gradient and optimiser step with the declared update operator; never assume differentiability.

5. IMPLEMENTS
INPUT: training configuration, authorised data, initial model state, execution policy.
PRECONDITIONS: valid model, accessible dataset, permitted resources, defined objective and update mechanism.
PROCESS: validate → initialise → sample batch → forward → evaluate loss → derive update → validate → commit → record → repeat.
OUTPUT: model checkpoint, training metrics, run provenance, diagnostic and completion records.
FAILURE: reject invalid inputs; preserve last valid checkpoint; record error and recovery eligibility.

6. HOW TO READ
I represents the current run inputs and observations; R the executable rules; B the operational boundaries; K the known model and run context. Expansion proposes candidate actions. Filtering excludes invalid actions. Selection chooses a permitted next step. Update records the resulting state.

7. TRI-MAPPING
SEMANTIC: TrainingEngine --trains--> AIModel; --consumes--> TrainingDataset; --uses--> Optimiser; --runsOn--> ComputeInfrastructure; --emits--> TrainingMetric; --produces--> ModelCheckpoint.
FORMAL: Entity E_train, state S_t, transition T(S_t, a_t), constraints B_t, evidence K_t.
EXECUTION: Scheduler → batch loader → model execution → loss computation → update engine → validation → checkpoint and telemetry.

8. RELATIONSHIP MAPPING TABLE
Training Engine | executes | Training Run | one-to-many
Training Run | trains | Model Version | many-to-one
Training Run | consumes | Training Dataset | many-to-many, provenance recorded
Training Run | applies | Learning Objective | one-to-many
Training Run | uses | Optimiser State | one-to-one per active optimiser instance
Training Run | allocates | Compute Resource | many-to-many
Training Run | emits | Monitoring Event | one-to-many
Training Run | produces | Model Checkpoint | one-to-many
Model Checkpoint | records | Parameter State | one-to-one per checkpoint
Training Run | isGovernedBy | Training Policy | one-to-many

9. INFERENCE RULES
R1: configured ∧ prerequisites_valid → ready.
R2: ready ∧ resources_allocated ∧ authorisation_valid → running.
R3: running ∧ valid_batch ∧ valid_update → next_training_step.
R4: running ∧ checkpoint_due → checkpointing → running, provided checkpoint succeeds.
R5: running ∧ validation_due → validating → running, if continuation permitted.
R6: running ∧ stop_criterion_met → completed.
R7: running ∧ recoverable_error → paused + diagnostic_record.
R8: running ∧ unrecoverable_error → failed + diagnostic_record.
R9: boundary_violation → reject_update + record_event.
R10: cancelled → no further training updates without a new authorised run.

10. MINI RECURSION ENGINE
REPEAT while Q_t = running AND t < max_steps:
  Observe run state and resource telemetry.
  Generate admissible training-step candidates.
  Filter by B_t and policy.
  Select permitted action; execute atomically where supported.
  Verify numerical integrity and commit state.
  Append immutable run-event reference and metrics.
  Check checkpoint, evaluation and stop conditions.
END.
The recursion is bounded by explicit stop conditions, resource limits and external cancellation.

11. FLOW DIAGRAM
[Configuration + Dataset + Model]
                |
                v
        [Policy Validation] --failure--> [Diagnostic / Reject]
                |
                v
       [Resource Allocation]
                |
                v
           [Load Batch]
                |
                v
     [Forward + Objective]
                |
                v
       [Update Proposal]
                |
                v
       [Boundary Filter] --reject--> [Pause / Diagnose]
                |
                v
      [Commit + Telemetry]
                |
                v
     [Validate / Checkpoint]
                |
                v
      [Continue or Finish]

12. EXECUTION GUARANTEE (CONDITIONAL)
Given valid configuration, authorised data, a defined update operator, available resources and successful boundary checks, each committed step preserves the declared state invariants and generates traceable evidence. This does not guarantee convergence, accuracy, generalisation, safety of the trained model or successful completion under hardware failure.

13. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.infrastructure.training-engine.v1
ENTITY: Training Engine
ENTITY_TYPE: AIInfrastructureEntity
PURPOSE: Controlled orchestration of model training and checkpoint generation.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: [TrainingEngine, TrainingRun, AIModel, Dataset, Optimiser, Objective, ComputeResource, Checkpoint, MonitoringEvent]
PATHWAYS: [configure, validate, allocate, train, evaluate, checkpoint, complete, recover]
MINI_RECURSION_ENGINE: bounded training-step state transition
INFERENCE_RULES: R1-R10
CONFIDENCE: conditional on verified run evidence; never asserted solely from ontology
SEMANTIC_EQUIVALENCE: training orchestration engine; model training runtime (context dependent)
FLOW_HASH: compute SHA-256 from published canonical UTF-8 file when deployed; not preasserted
UPDATE_MODEL: versioned changes with provenance and review
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/training-engine-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/training-engine-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI

14. NOTES
This file is a companion formalisation derived from the page title, its Infrastructure Entities classification, and general training-system semantics. The website's embedded code was not exposed in the accessible page text, so no claim of exact correspondence is made. Formal rules are a specification, not executable software or proof of actual training behaviour.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ