Skip to main content

AI Training Time Ontology

Temporal AI Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
AI TRAINING TIME ENTITY — FLOW ALGEBRA
Semantic Library | Temporal AI Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/temporal-ai-entities/ai-training-time-ontology.html
Generated: 2026-11-05
Status: Companion formalisation; not a verbatim transcription of hidden page specifications.

01. PURPOSE
Represent, measure, compare and reason about the time consumed by an AI training process, including interruptions, parallel workers, checkpoints and uncertainty.

02. ENTITY DEFINITION
TrainingTime := (run_id, clock_basis, intervals, elapsed, active, paused, compute, provenance, uncertainty, state).
Training time is a temporal measurement attached to a training run, not the model's knowledge or the training dataset itself.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := observed events, timestamps, worker logs, checkpoint records and training metadata.
R_t := ordering, duration, aggregation, consistency and validation relations.
B_t := run scope, clock definitions, permissions, resource and data boundaries.
K_t := verified facts, computed durations, uncertainty and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and valid(x, K_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_{t+1} = update(I_t, x*_t, observed_evidence)
Note: argmax is a selection formalism; probability estimates require an explicit calibrated model.

04. ENTITY RELATIONSHIPS
TrainingTime --measures--> TrainingRun
TrainingTime --derived_from--> TrainingStart / TrainingEnd
TrainingTime --aggregates--> TrainingStep / Epoch / Batch
TrainingTime --references--> Timestamp / Duration / Interval
TrainingTime --affected_by--> Pause / Resume / Failure / Recovery
TrainingTime --compared_with--> ExecutionTime / InferenceTime
TrainingTime --evidenced_by--> EventLog / Checkpoint / MonitoringRecord
TrainingTime --bounded_by--> ClockBasis / TimeZone / RunIdentifier

05. CANONICAL VARIABLES
r := training run; t_s := start timestamp; t_e := end timestamp.
W := set of worker processes; A := set of active time intervals.
P := set of paused intervals; F := set of failure intervals.
Delta(a,b) := monotonic elapsed duration between compatible instants.
wall_time(r) := Delta(t_s,t_e) for a completed run.
active_time(r) := measure(union(A)) within [t_s,t_e].
paused_time(r) := measure(union(P)) within [t_s,t_e].
worker_time(r) := sum over w in W of measure(active_intervals(w)).
worker_time may exceed wall_time because workers run concurrently.

06. TEMPORAL CONSTRAINTS
C1: Each event belongs to a uniquely identified training run.
C2: Comparable timestamps share a documented clock basis.
C3: For completed runs, t_e >= t_s.
C4: For every interval [a,b), b >= a.
C5: Overlapping intervals must be merged for elapsed active wall time.
C6: Parallel worker durations must not be mistaken for elapsed wall time.
C7: Missing events produce unknown or bounded durations, not invented values.
C8: A running process has no final completion duration.
C9: Clock skew and synchronisation errors must be recorded.
C10: Historical corrections retain the original observation and provenance.

07. LIFECYCLE STATES
planned -> initialising -> running -> paused -> running -> completed
running -> failed -> recovering -> running
running -> cancelled
completed, failed and cancelled are terminal unless a new run identity is issued.
A resumed run may retain the same identity if its tracking policy explicitly allows it.

08. FLOW ALGEBRA — OBSERVATION
F01: ingest(run_id, event, timestamp, source)
F02: verify_source(event, source)
F03: normalise_timestamp(timestamp, clock_basis)
F04: order_events(run_id, timestamp, sequence_id)
F05: reconstruct_intervals(events)
F06: classify_intervals(active, paused, failed, idle)
F07: aggregate_durations(intervals)
F08: validate_constraints(aggregates, evidence)
F09: publish_measurement(value, unit, uncertainty, provenance)
F10: revise_measurement(new_evidence, revision_record)

09. FLOW ALGEBRA — TRANSITIONS
T01: planned + start_event -> initialising
T02: initialising + training_step_started -> running
T03: running + pause_event -> paused
T04: paused + resume_event -> running
T05: running + successful_end -> completed
T06: running + failure_event -> failed
T07: failed + recovery_event -> recovering
T08: recovering + verified_resume -> running
T09: nonterminal + cancel_event -> cancelled
Invalid or contradictory transitions -> validation_exception.

10. TRAINING TIME CALCULATIONS
D_wall = t_e - t_s, only where both endpoints are valid.
D_active = measure(union of active intervals).
D_pause = measure(union of paused intervals).
D_worker = sum(worker active durations).
D_unclassified = D_wall - measure(union of classified intervals).
If D_unclassified < 0, flag overlapping classifications or inconsistent clocks.
Throughput = completed_training_units / D_active, when D_active > 0.
ETA = remaining_units / estimated_throughput, only when the estimate is justified.
Training units may be steps, tokens, samples or epochs; never mix them without conversion.

11. RECURSIVE UPDATE MODEL
At each newly observed event e_t:
I_{t+1} := I_t union {e_t}
A_{t+1} := reconstruct_intervals(I_{t+1})
K_{t+1} := validate(aggregate(A_{t+1}), R_t, B_t)
Continue until terminal state or observation horizon.
Recursion terminates for finite event sets; streaming monitoring continues as events arrive.

12. INFERENCE RULES
R01: valid_start and valid_end -> computable_wall_time.
R02: active_interval_observed -> contributes_to_active_time.
R03: overlapping_active_intervals -> merge_before_wall_aggregation.
R04: parallel_worker_intervals -> compute_worker_time_separately.
R05: missing_end_event -> final_duration_unknown.
R06: inconsistent_clock_basis -> duration_not_verified.
R07: checkpoint_timestamp -> evidence_of_progress, not proof of completion.
R08: measured_duration + supported_rate_model -> provisional_remaining_time.
R09: failure_gap + no activity evidence -> classify_as_unknown, not automatically paused.
R10: source_revision -> recompute_affected_measurements.

13. TRI-MAPPING
ENTITY: TrainingTime -> temporal measurement linked to a TrainingRun.
RELATION: start/end/step/pause/resume/worker/checkpoint event edges.
FLOW: ingest -> normalise -> order -> reconstruct -> aggregate -> validate -> publish.
Mapping is valid only when entity identifiers and event provenance are preserved.

14. UNCERTAINTY AND EVIDENCE
Record timestamp resolution, sampling frequency, clock drift and missing logs.
Where exact boundaries are unknown, report [lower_bound, upper_bound].
Confidence is evidence-dependent and must not be assigned an arbitrary numeric value.
Distinguish observed, inferred, estimated and unknown quantities.
Each published duration must include units and measurement basis.

15. SAFETY AND BOUNDARIES
Do not expose private training data, credentials or internal logs without permission.
Do not infer compute cost or energy consumption from time alone.
Do not equate training duration with model capability, quality or safety.
Prevent forged events from altering trusted measurements.
Maintain auditability for revised and discarded observations.

16. EXECUTION GUARANTEE — CONDITIONAL
Given finite, correctly ordered events; compatible clocks; a documented interval policy;
and valid start/end observations, the flow deterministically computes the specified durations.
It does not guarantee accurate results where event data are missing, clocks conflict,
or interval classifications are ambiguous. Such cases return unknown, bounded or flagged results.

17. EXAMPLE
Run R1: start 09:00, pause 09:20, resume 09:30, finish 10:00 (same clock).
Wall time = 60 minutes.
Paused time = 10 minutes.
Active time = 50 minutes, assuming no other gaps or overlaps.
Two parallel workers could accumulate more than 50 worker-minutes.

18. OUTPUT CONTRACT
OUTPUT := {run_id, state, wall_time, active_time, paused_time, worker_time,
           units, clock_basis, uncertainty, evidence_refs, validation_flags, revision_id}
Any unavailable measurement is explicitly null/unknown, never silently set to zero.

19. CITATION
Source ontology: AI Training Time Ontology, Kireth Research.
Authors: Mark Anthony Higgins — Sky Recursive AI.
Open Research Licence: attribution and citation required; consult source for full terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ