Skip to main content

AI Inference 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 INFERENCE 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-inference-time-ontology.html
Created: 2026-11-05
Status: Companion formalisation; source page exposes its title and interpretation note but not the complete embedded specification.

01. PURPOSE
Represent, measure, reason about and validate the temporal properties of an AI inference operation. Distinguish wall-clock latency, active computation, queueing, network transfer and output generation.

02. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = inference request, event timestamps, model and runtime observations.
R_t = temporal ordering, measurement and inference rules.
B_t = clock validity, permissions, resource and deadline boundaries.
K_t = verified context, prior timing evidence and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and supported(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, observations_t)
If V_t is empty, return UNKNOWN or INVALID rather than fabricate a duration.

03. ENTITY DEFINITION
InferenceTimeEntity = (id, run_id, model_id, start, end, clock, phases, metrics, evidence, status)
Required: run_id, clock provenance, start/end or explicit incomplete status.
Optional: request_id, batch_id, token counts, hardware, precision, warm/cold classification.
All timestamps have explicit units, time basis and provenance.

04. RELATIONSHIPS
InferenceTime -> measures -> InferenceRun
InferenceTime -> associatedWith -> ModelVersion
InferenceTime -> measuredOn -> RuntimeEnvironment
InferenceTime -> boundedBy -> StartEvent / EndEvent
InferenceTime -> decomposesInto -> PhaseDuration
InferenceTime -> constrainedBy -> Deadline / ServiceLevelObjective
InferenceTime -> supportedBy -> MeasurementEvidence
InferenceTime -> comparedWith -> BaselineInferenceTime
InferenceTime -> reportedIn -> EvaluationResult

05. TEMPORAL PHASES
P0 request receipt; P1 admission/queue; P2 preprocessing; P3 model execution;
P4 decoding/generation; P5 postprocessing; P6 response transmission; P7 completion.
Phases are implementation-dependent; missing phases must not be silently assumed zero.
Streaming systems may overlap phases and produce first-output and final-output events.

06. FORMAL MEASUREMENTS
For valid monotonic timestamps t_start and t_end:
T_total = t_end - t_start, subject to t_end >= t_start.
T_queue = t_admit - t_received when both events exist.
T_first = t_first_output - t_received when a first-output event exists.
T_generate = t_last_output - t_first_output when both exist.
T_active = measure(union of active-compute intervals).
T_idle = T_total - measure(union of tracked active intervals) only when coverage is complete.
For disjoint sequential phases: T_total = sum_i T_phase_i.
For overlapping phases: T_total != sum_i T_phase_i in general.
Throughput = N_generated_tokens / T_generate if T_generate > 0.
All calculations carry measurement units and uncertainty.

07. CLOCK AND ORDERING RULES
R1: Prefer a monotonic clock for elapsed time on one host.
R2: Never subtract timestamps from unsynchronised clocks without an offset/error model.
R3: Convert wall-clock timestamps to a common time basis before comparison.
R4: Record resolution, jitter and synchronisation uncertainty.
R5: If end precedes start beyond clock tolerance, mark INVALID.
R6: Missing end timestamp implies RUNNING, TIMED_OUT or UNKNOWN, not zero latency.
R7: Separate observed latency from predicted latency.
R8: Distinguish request latency from per-token latency and batch throughput.
R9: Record cold-start, cache state and concurrency when comparing measurements.
R10: Do not infer causation from timing correlation alone.

08. LIFECYCLE
CREATED -> QUEUED -> STARTED -> RUNNING -> COMPLETED -> VALIDATED
Alternative terminal states: FAILED, CANCELLED, TIMED_OUT.
Validation may yield VERIFIED, PARTIAL or INVALID.
Transitions must be timestamped and preserve the event history.

09. FLOW ALGEBRA PATHWAY
F0 = receive(inference_request)
F1 = validate(identity, authority, clock, measurement_schema)
F2 = capture(start_event, context)
F3 = observe(phase_events, token_events, resource_events)
F4 = capture(end_event or terminal_failure)
F5 = normalise(timestamps, units, time_basis)
F6 = derive(latencies, phase_durations, throughput, uncertainty)
F7 = verify(ordering, completeness, provenance, constraints)
F8 = classify(VERIFIED | PARTIAL | INVALID | UNKNOWN)
F9 = emit(temporal_record, evidence, status)
Composition: F = F9 o F8 o F7 o F6 o F5 o F4 o F3 o F2 o F1 o F0.

10. RECURSIVE VALIDATION
At iteration n: K_(n+1) = K_n union verified(observations_n).
If a contradiction is found, re-evaluate dependent derived metrics.
Terminate when no new verified evidence is available, limits are reached,
or the result meets declared completeness and uncertainty thresholds.
No recursive step may replace an observed value without retaining provenance.

11. UNCERTAINTY
A measured timestamp t is represented as (estimate, tolerance, source).
For independent timing errors, propagate uncertainty using the selected statistical model.
Without independence evidence, use conservative interval bounds.
Report confidence only when calibrated against a stated procedure or dataset.
Do not treat nominal clock precision as guaranteed measurement accuracy.

12. TRI-MAPPING
Entity map: InferenceTime -> InferenceRun -> Model -> Runtime -> Evidence.
Relationship map: startsAt, endsAt, hasPhase, measuredBy, constrainedBy.
Execution map: request -> capture -> normalise -> calculate -> verify -> report.
Each mapping must preserve identifiers, units, provenance and state.

13. EXAMPLE
Request received at monotonic 100.000 s; first output at 100.250 s;
completion at 101.000 s; 60 generated tokens.
T_first = 0.250 s; T_total = 1.000 s;
T_generate = 0.750 s; throughput = 80 tokens/s.
These illustrative values are not measurements from the source page.

14. EXECUTION GUARANTEE — CONDITIONAL
If inputs are well-formed, clocks are comparable, events are complete,
measurement rules are consistent and validation succeeds, the flow returns
reproducible derived metrics for the supplied evidence.
Otherwise it returns an explicit PARTIAL, INVALID or UNKNOWN state.
This is a specification-level conditional guarantee, not proof of runtime performance.

15. PROVENANCE AND LICENCE
Source ontology: AI Inference Time Ontology, Kireth Research.
Formalisation: companion Flow Algebra for Semantic Library.
Attribution: Mark Anthony Higgins — Sky Recursive AI.
Reuse subject to the applicable Kireth Research Open Research Licence and citation requirements.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ