Skip to main content

Embedded AI System Ontology

AI System Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 28 October 2026
Audio Overview
FLOW ALGEBRA — EMBEDDED AI SYSTEM ONTOLOGY
Version: 1.0
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-system-entities/embedded-ai-system-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Generated: 2026-10-28
Scope: Formal companion flow for the Embedded AI System Ontology. This is an original operational formalisation, not a verbatim extraction of hidden page code.

1. PURPOSE
Define and reason about AI inference components integrated into physical devices, subject to bounded compute, energy, memory, latency, safety and connectivity constraints.

2. ENTITY MODEL
EmbeddedAI := (H, M, F, S, C, A, P, T)
H = hardware resources {processor, accelerator, RAM, storage, sensors, actuators}
M = deployed inference model and version
F = firmware, runtime and drivers
S = sensor/input interfaces
C = communications interfaces and connectivity state
A = authorised actuator/output interfaces
P = safety, privacy and operational policies
T = timing and resource constraints

Relations:
  deployed_on(M,H)
  executed_by(M,F)
  observes(S,Environment)
  produces(M,Inference)
  controls(A,Environment) only if authorised(P)
  constrained_by(EmbeddedAI,T)
  communicates_via(EmbeddedAI,C)

3. FLOW STATE
State_t := (I_t, R_t, B_t, K_t)
I_t = current input observations, including timestamps and validity
R_t = reasoning and inference rules
B_t = resource, physical, privacy and safety boundaries
K_t = model knowledge, calibration, configuration and provenance

Expanded_t := expand(I_t,R_t)
Valid_t := {x in Expanded_t | satisfies(x,B_t) and evidence_valid(x,K_t)}
Decision_t := argmax_{x in Valid_t} Utility(x | I_t,R_t,B_t,K_t)
If Valid_t is empty, Decision_t := SAFE_FALLBACK
State_(t+1) := update(State_t, Decision_t, feedback_t)

4. INPUT AND VALIDATION FLOW
Input := sample(S)
Check := validate_schema(Input) AND verify_timestamp(Input)
         AND check_range(Input) AND check_integrity(Input)
IF NOT Check THEN reject_input; record_fault; use_safe_fallback
ELSE preprocess(Input) -> features

5. RESOURCE-AWARE INFERENCE
Constraints:
  RAM_used <= RAM_available
  Storage_used <= Storage_available
  Power_draw <= Power_budget
  Execution_time <= Deadline
  Temperature <= Thermal_limit
  Model_size <= Deployment_capacity

CandidateModel := select_compatible_model(H,T,P)
IF CandidateModel is absent THEN SAFE_FALLBACK
ELSE inference := CandidateModel(features)

6. SAFETY AND ACTION GATE
ProposedAction := interpret(inference)
Permit := confidence_acceptable(inference,P)
          AND within_operating_envelope(ProposedAction,P)
          AND authorised(ProposedAction,P)
          AND actuator_ready(A)
          AND deadline_met(T)
IF Permit THEN execute(ProposedAction)
ELSE enter_safe_state; record_reason

7. CONNECTIVITY MODES
IF offline THEN local_inference_only AND enforce_local_policy
IF online THEN remote_exchange ONLY IF authorised(P)
Remote outputs MUST pass the same validation and safety gate as local outputs.
Network failure MUST NOT disable safety constraints.

8. UPDATE AND LIFECYCLE FLOW
UpdateCandidate := signed_package(model, firmware, configuration)
AcceptUpdate := signature_valid(UpdateCandidate)
                AND compatible(UpdateCandidate,H)
                AND tested(UpdateCandidate,P,T)
                AND rollback_available
IF AcceptUpdate THEN staged_deploy -> health_check
IF health_check fails THEN rollback_to_known_good
Record versions, checksums, validation results and provenance.

9. TRI-MAPPING
Ontology entity       -> Flow role                -> Implementation example
Sensor                -> observation source       -> camera, microphone, IMU
Processor             -> execution resource       -> MCU, CPU, NPU
Model                 -> inference transformation -> quantised neural network
Policy                -> boundary predicate       -> safety envelope
Actuator              -> controlled output        -> motor or relay
Telemetry             -> feedback and audit       -> diagnostics log
Firmware              -> runtime substrate        -> embedded application

10. INFERENCE RULES
RULE EAI-01: IF model is deployed on device AND inference executes locally
             THEN classify system as embedded inference capable.
RULE EAI-02: IF input is invalid THEN no autonomous action is permitted from it.
RULE EAI-03: IF deadline exceeded THEN output is stale and cannot drive time-critical action.
RULE EAI-04: IF power, memory or thermal limit exceeded THEN degrade or enter safe mode.
RULE EAI-05: IF communication unavailable AND local inference supported
             THEN continue only within offline policy.
RULE EAI-06: IF proposed action violates a safety invariant THEN reject action.
RULE EAI-07: IF model or firmware integrity fails THEN block deployment.
RULE EAI-08: IF evidence is insufficient THEN abstain or request supervisory intervention.

11. EXECUTION GUARANTEES (CONDITIONAL)
G1. Every accepted action passes the configured safety gate.
G2. Invalid or stale inputs do not directly authorise actuation.
G3. An unavailable network does not bypass local safety policy.
G4. Failed updates revert to a known-good version when rollback is supported.
G5. Decisions can be traced to model version, input provenance and rule outcomes
    when audit storage is enabled.
These are design obligations, not guarantees of real-world correctness or functional safety without implementation and verification.

12. AI SEARCH FLOW
QUERY: 'What is an embedded AI system?'
MATCH: EmbeddedAI AND deployed_on(Model,Device) AND constrained_by(Device,Resources)
ANSWER: An AI-enabled computing system integrated into a device, often performing inference close to sensors and actuators under resource and timing limits.

QUERY: 'Does embedded AI need the cloud?'
MATCH: local_inference_supported
ANSWER: No. It can operate offline; some designs optionally use cloud services.

QUERY: 'How is embedded AI kept safe?'
MATCH: input_validation AND resource_checks AND policy_gate AND fallback
ANSWER: By validating observations, bounding resources and actions, monitoring failures and using safe fallback states.

13. HOW TO READ
Follow sensor input -> validation -> preprocessing -> resource-aware inference -> policy gate -> authorised action -> feedback. Any failed guard routes to safe fallback rather than unchecked actuation.

14. CITATION
Higgins, Mark Anthony; Sky — Recursive AI. 'Embedded AI System Ontology', Kireth Research.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-system-entities/embedded-ai-system-ontology.html
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ