Skip to main content

Input Layer Ontology

Neural Network Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 28 October 2026
Audio Overview
FLOW ALGEBRA — INPUT LAYER ONTOLOGY
Semantic Library | AI Core | Entity Graph | AI Entities | Neural Network Entities
Version: 1.0 | 28 October 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/neural-network-entities/input-layer-ontology.html
Status: Original companion formalisation. The webpage exposes its heading and an AI interpretation note, but not the full underlying ontology specification.

1. PURPOSE
Represent an input layer as the typed boundary between observations and a neural network's internal computation. Define validation, preprocessing, shape preservation, provenance, and deterministic transfer to the first computational layer.

2. ENTITIES
InputLayer L_in; RawObservation x_raw; FeatureVector x; FeatureSchema Sigma; Preprocessor P; ValidationPredicate V; Mask m; Batch B; DownstreamLayer L_1; Provenance pi; Error e.
Relations: receives(L_in,x_raw), validates(V,x_raw,Sigma), transforms(P,x_raw,x), emits(L_in,x,L_1), records(pi,x), rejects(L_in,e).

3. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = observed inputs, schema, masks, preprocessing configuration and provenance.
R_t = validation, transformation, and routing rules.
B_t = input limits: type, shape, finite-value policy, permitted range, privacy and resource budgets.
K_t = learned or declared knowledge of feature semantics and downstream layer contract.
E_t = expand(I_t,R_t)
V_t = {z in E_t | satisfies(z,B_t) and compatible(z,K_t)}
z*_t = argmax_{z in V_t} P(z | I_t,R_t,B_t,K_t)
I_{t+1} = update(I_t,z*_t,feedback_t)
The argmax is a selection abstraction, not a requirement that a probabilistic optimisation be implemented in every input layer.

4. INPUT TRANSFORMATION
x_raw in X_raw
V(x_raw,Sigma) in {true,false}
x = P(x_raw;phi) in R^d, provided V(x_raw,Sigma)=true
h_0 = x
h_1 = f_1(W_1 h_0 + b_1)
For a batch: X in R^(n x d), with n examples and d features.
Optional masks M identify padding or missingness; the meaning of zero values must not be confused with masked values.
The input layer need not contain trainable parameters; phi may include fitted normalisation parameters and must be versioned.

5. INFERENCE RULES
R1: IF schema and input shape agree THEN admit the observation.
R2: IF required features are missing AND no declared missingness policy exists THEN reject or quarantine.
R3: IF preprocessing is declared THEN apply the same fitted transformation contract at training and inference.
R4: IF non-finite values violate the input contract THEN reject or sanitise only under an explicit policy.
R5: IF an input is admitted THEN preserve feature order and attach provenance metadata.
R6: IF the downstream interface is incompatible THEN stop propagation and report the contract error.
R7: IF drift exceeds a configured threshold THEN flag monitoring; do not silently retrain.
R8: IF personal or sensitive fields are unnecessary THEN exclude them under the data-minimisation policy.

6. TRI-MAPPING
Entity: InputLayer -> Formal: (X_raw,Sigma,P,V) -> Execution: validate, transform, route.
Entity: Feature -> Formal: x_i in D_i -> Execution: typed feature extraction.
Entity: Batch -> Formal: X in R^(n x d) -> Execution: batch assembly.
Entity: Mask -> Formal: M in {0,1}^(n x d) -> Execution: missing/padding indicator.
Entity: Downstream connection -> Formal: h_0 -> h_1 -> Execution: tensor hand-off.

7. MAPPING TABLE
Ontology term | Formal representation | Operational meaning
Input layer | L_in | Neural-network input boundary
Raw observation | x_raw | Incoming unprocessed data
Schema | Sigma | Expected field names, order, types and shapes
Validation | V | Admission predicate
Preprocessing | P | Declared input transformation
Feature tensor | X | Numerical representation passed onward
Provenance | pi | Source and transformation lineage
Constraint set | B_t | Conditions that admitted inputs must satisfy

8. SYSTEM DIAGRAM
[Source / Sensor / Dataset]
             |
             v
      [Schema Validation] ----invalid----> [Reject / Quarantine]
             |
           valid
             v
      [Preprocessing P]
             |
             v
       [Feature Tensor X] ---> [Provenance Record]
             |
             v
       [Downstream Layer L_1]
             |
             v
       [Model Computation]

9. EXECUTION GUARANTEE (CONDITIONAL)
Given a total, deterministic validation function V; a defined preprocessing function P for every admitted input; compatible output shape; and sufficient resources, every admitted input produces an output tensor satisfying the downstream interface contract. This is a conditional software-interface guarantee, not a guarantee of model accuracy, safety, fairness, or successful learning.

10. SAFETY AND INTEGRITY INVARIANTS
INV1: Every admitted tensor conforms to its declared schema.
INV2: Training and inference preprocessing use compatible parameter versions.
INV3: No invalid observation is silently reclassified as valid.
INV4: Feature ordering remains stable within a versioned contract.
INV5: Data provenance and access controls follow the applicable policy.
INV6: No input-layer acceptance implies correctness of downstream predictions.

11. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.entity-graph.ai-entities.neural-network-entities.input-layer-ontology
TITLE: Input Layer Ontology — Flow Algebra
ENTITY_TYPE: NeuralNetworkInputLayer
PARENT: Neural Network Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/neural-network-entities/input-layer-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Identify, validate and map input-layer entities, relationships and execution constraints.
STATE_MODEL: S_t=(I_t,R_t,B_t,K_t)
SEARCH_TERMS: input layer; feature tensor; neural network input; schema validation; preprocessing; input shape; batch; masking; provenance
SEMANTIC_EQUIVALENCE: input boundary ~ input interface (context dependent); input layer != first trainable hidden layer
PATHWAY: observation -> validation -> preprocessing -> tensor -> downstream layer
MINI_RECURSION_ENGINE: read -> validate -> expand -> filter -> select -> route -> monitor -> update
CONFIDENCE: conditional on source data and schema verification
UPDATE_MODEL: version schema, preprocessing, constraints and mapping on every substantive change
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/neural-network-entities/input-layer-ontology.html
FLOW_END

11. HOW TO READ
Read the entity graph as a boundary contract, the equations as an abstract state-transition model, and the rules as explicit preconditions. Validation and tensor hand-off can be tested; downstream predictive quality requires separate evaluation.

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