Skip to main content

Neural Inference Entity Ontology

Inference Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
NEURAL INFERENCE ENTITY ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Inference Entities
Version: 1.0 | 2026-11-02 | Language: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI (supplementary formalisation)
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/neural-inference-entity-ontology.html
Status: Supplementary formalisation; not a verified transcription of the source page.
Licence: Open research use with attribution requested; check source for governing terms.

1. PURPOSE
Represent a neural inference entity as a typed, provenance-aware process that maps input representations through a parameterised neural model to outputs, with explicit constraints, confidence interpretation, and traceable execution.

2. ENTITY DEFINITION
NIE = (ID, I, R, B, K, M, theta, O, P, T)
ID = persistent inference entity identifier.
I = input data and features.
R = inference relations and model transformations.
B = operating boundaries and safety constraints.
K = task context, knowledge and calibration metadata.
M = neural architecture and version.
theta = frozen parameters used during inference.
O = output predictions or representations.
P = provenance and evidence record.
T = execution trace and timestamps.

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t, M_t, theta_t, P_t)
Valid(S_t) := TypeCheck(I_t) AND ModelAvailable(M_t,theta_t) AND ConstraintsHold(B_t)
During ordinary inference theta_(t+1) = theta_t; training or adaptation is a separate authorised process.

4. FORMAL FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t | B_t(x) = true}
Z_t = Encode(V_t, M_t, theta_t)
Y_t = Forward(Z_t, M_t, theta_t)
O_t = Decode(Y_t, K_t)
Q_t = Assess(O_t, K_t, P_t)
A_t = SelectOrAbstain(O_t, Q_t, B_t)
S_(t+1) = UpdateTrace(S_t, A_t, Q_t)

Compact flow:
INPUT -> VALIDATE -> ENCODE -> NEURAL FORWARD PASS -> DECODE -> ASSESS -> CONSTRAIN -> OUTPUT/ABSTAIN -> TRACE

5. HOW TO READ
Inputs enter under typed constraints. The neural model computes an output from fixed parameters. Post-processing and assessment apply task context and available calibration. A boundary gate may withhold or flag the output. Provenance records the model version, inputs, transformation and decision.

6. TRI-MAPPING
ENTITY: NeuralInferenceEntity -> model, inputs, outputs, evidence.
RELATIONSHIP: consumes(Input), uses(Model), applies(ParameterSet), produces(Output), supportedBy(Evidence), constrainedBy(Boundary).
PROCESS: validate -> transform -> infer -> assess -> gate -> record.

7. RELATIONSHIP GRAPH
InputEntity --consumedBy--> NeuralInferenceEntity
NeuralInferenceEntity --usesModel--> NeuralModel
NeuralModel --hasParameters--> ParameterSet
NeuralInferenceEntity --produces--> InferenceResult
InferenceResult --hasAssessment--> ConfidenceAssessment
InferenceResult --hasProvenance--> EvidenceRecord
NeuralInferenceEntity --subjectTo--> BoundaryConstraint

8. MAPPING TABLE
InputEntity | I | typed input observations or tokens
InferenceRelations | R | transformations and dependency edges
BoundaryConstraint | B | permissible domains, thresholds and rules
KnowledgeContext | K | task instructions and calibration references
NeuralModel | M | architecture and version identifier
ParameterSet | theta | immutable inference weights
InferenceResult | O | prediction, class, score or representation
EvidenceRecord | P | source, preprocessing and provenance
ExecutionTrace | T | stage results and decision metadata

9. MINI RECURSION ENGINE
For t = 0..N-1:
  validate(S_t)
  candidate_t = Infer(S_t)
  if BoundaryPass(candidate_t) AND StopCondition(candidate_t): return candidate_t
  if not Progress(candidate_t) OR BudgetExceeded(t): return ABSTAIN
  S_(t+1) = ReviseContext(S_t, candidate_t)
No claim of convergence is made without additional assumptions.

10. INFERENCE RULES
R1: IF inputs are invalid THEN reject inference.
R2: IF model/parameter versions mismatch THEN stop and flag.
R3: IF output violates boundaries THEN abstain or escalate.
R4: IF calibrated uncertainty exceeds the task threshold THEN flag uncertainty or abstain.
R5: IF evidence is incomplete THEN label the inference as unverified.
R6: IF a result is accepted THEN preserve provenance and model version.

11. CONFIDENCE AND EVIDENCE
Raw neural scores are not automatically calibrated probabilities. Confidence requires task-appropriate validation and calibration; out-of-distribution detection and data-quality checks may be necessary. Evidence records support auditability but do not independently establish truth.

12. EXECUTION GUARANTEE (CONDITIONAL)
Given valid inputs, available deterministic model operations, fixed parameters, finite computational budget and enforced boundaries, the process terminates with a typed output, an explicit failure or abstention, and an execution record. This does NOT guarantee correctness, soundness, completeness, safety or statistical calibration.

13. AI SEARCH FLOW
FLOW_ID: AI-ENTITY-NEURAL-INFERENCE-001
FLOW_TYPE: Ontology / Neural Inference / Entity Graph
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/neural-inference-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/inference-entities/neural-inference-entity-ontology.html
PURPOSE: Identify, relate and evaluate neural inference entities.
STATE_MODEL: S=(I,R,B,K,M,theta,P)
ENTITIES: NeuralInferenceEntity, NeuralModel, ParameterSet, InputEntity, InferenceResult, EvidenceRecord, BoundaryConstraint
PATHWAYS: input > validation > forward pass > interpretation > assessment > gate > trace
MINI_RECURSION_ENGINE: bounded re-evaluation with progress and stop checks
INFERENCE_RULES: R1-R6 above
CONFIDENCE: calibrated when evidence exists; otherwise explicitly uncalibrated
SEMANTIC_EQUIVALENCE: neural prediction != verified fact; score != calibrated probability
FLOW_HASH: not assigned; calculate after publication from canonical UTF-8 bytes
UPDATE_MODEL: versioned changes with source and timestamp preservation

14. EXAMPLE
A text classifier receives a document, tokenises it, runs a frozen neural model, and emits class scores. If calibration is available, the scores are converted into calibrated estimates; otherwise they remain model scores. A low-quality or out-of-domain input may trigger abstention. The trace records model version, preprocessing and decision.

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