Skip to main content

Feature Map Ontology

Latent Representation Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — FEATURE MAP ONTOLOGY
FLOW ALGEBRA COMPANION | VERSION 1.0 | 2026-11-02
AUTHORS: Mark Anthony Higgins — Sky, Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/latent-representation-entities/feature-map-ontology.html
STATUS: Independently authored formalisation; source-page contents not verified.

01. PURPOSE AND SCOPE
A feature map is a structured activation representation produced by applying a feature-extraction operator to an input or intermediate representation. It may be spatial, temporal, token-indexed, or otherwise axis-indexed. This ontology models shape, channels, provenance, transformations, and interpretation without assuming that a single activation has an intrinsic human-readable meaning.

02. ENTITY DEFINITIONS
FeatureMap F: tensor-valued representation plus metadata.
Input X: source image, signal, token sequence, or intermediate tensor.
Extractor E_theta: parameterised operator producing F.
Axis A: named coordinate dimension (batch, channel, height, width, time, token).
Channel C: indexed collection of activations.
Activation a: scalar or vector value at an index.
Layer L: processing stage producing F.
Transformation T: map from one representation to another.
Provenance P: source, model version, layer, processing time and transformation history.

03. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current input and feature-map representations.
R_t: relationships among source, layer, channel, coordinates and derived features.
B_t: boundaries including permitted tensor shapes, valid operations, access controls and resource limits.
K_t: model architecture, parameter version, semantic metadata and evidence.
E_t = expand(I_t, R_t)
V_t = {x in E_t : valid(x, B_t, 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)
Note: the argmax is a selection rule for admissible interpretations or operations, not an assertion that neural feature extraction itself is probabilistic.

04. CORE FLOW ALGEBRA
F_l = E_(theta,l)(X_l)
F_l in R^(d_1 x ... x d_n)
X_(l+1) = T_l(F_l)
shape(F_l) = (d_1, ..., d_n)
valid(F_l) iff rank(F_l) = n AND all(d_i > 0) AND finite_or_declared(F_l)
map_id = hash(model_version, layer_id, source_id, transform_spec, shape)
For convolutional image models, a common layout is [batch, channels, height, width]; other layouts are legitimate.

05. FLOW — INPUT TO FEATURE MAP
Input -> preprocessing -> feature extractor -> activation tensor -> shape and range checks -> metadata binding -> downstream transformation -> output representation.
Each arrow denotes a typed operation with recorded preconditions and outputs.

06. IMPLEMENTS / OPERATIONAL CONTRACT
INPUTS: X, model_id, model_version, layer_id, preprocessing_spec.
PRECONDITIONS: compatible input schema, loaded model parameters, valid tensor dimensions.
PROCESS: evaluate E_theta(X); capture axes and tensor metadata; check validity; record provenance.
OUTPUTS: feature map F, schema, validation status, provenance record.
FAILURES: shape mismatch, unavailable layer, non-finite values, unsupported dtype, missing model version.

07. TRI-MAPPING
Entity: FeatureMap -> Mathematical: tensor F -> Computational: layer activation object.
Entity: Channel -> Mathematical: indexed slice F[:,c,...] -> Computational: channel selection.
Entity: SpatialPosition -> Mathematical: coordinate (h,w) -> Computational: tensor index.
Entity: Transformation -> Mathematical: T(F) -> Computational: pooling/projection/normalisation.
Entity: Provenance -> Mathematical: dependency relation -> Computational: versioned metadata record.

08. RELATIONSHIP GRAPH
Input --processed_by--> Extractor
Extractor --belongs_to--> Layer
Layer --produces--> FeatureMap
FeatureMap --has_axis--> Axis
FeatureMap --contains--> Activation
FeatureMap --has_channel--> Channel
FeatureMap --transformed_by--> Transformation
FeatureMap --derived_from--> Input
FeatureMap --records--> Provenance

09. MAPPING TABLE
SOURCE INPUT | Extractor input | X
FEATURE MAP | Tensor output | F_l
FEATURE CHANNEL | Tensor slice | F_l[:,c,...]
FEATURE POSITION | Tensor index | i
TRANSFORM | Function | T_l
VALIDITY | Predicate | valid(F_l)
PROVENANCE | Metadata relation | P(F_l)

10. MINI RECURSION ENGINE
state := (X, layer=0, history=[])
while layer < layer_limit:
    F := E_theta[layer](state.X)
    if not valid(F): return error_record(layer, reason)
    append history with (layer, shape(F), provenance(F))
    if stopping_condition(F, history): break
    state.X := T_layer(F)
    layer := layer + 1
return (F, history)
Termination requires finite layer_limit or an independently enforced stopping condition.

11. INFERENCE RULES
R1: produces(L,F) AND belongs_to(L,M) -> generated_by_model(F,M).
R2: derived_from(F,X) AND derived_from(X,Y) -> transitively_derived_from(F,Y).
R3: shape(F) != expected_shape(L) -> invalid_for_layer(F,L).
R4: model_version(F) != model_version(G) -> comparison_requires_alignment(F,G).
R5: high_activation(F,c,i) does NOT by itself imply a unique semantic concept.

12. VALIDATION AND EXECUTION GUARANTEES
Guaranteed by a conforming implementation: schema checks, recorded provenance, deterministic index interpretation for a fixed layout, explicit error states, and termination under a finite recursion bound.
Not guaranteed: interpretability, causal explanation, semantic stability across models, reproducibility without controlled execution, or correctness of downstream predictions.
Tests: rank/shape checks; dtype checks; finite-value checks; source-layer matching; version matching; metadata completeness; boundary compliance.

13. AI SEARCH FLOW
PURPOSE: retrieve and explain feature-map entities and their relationships.
ENTITIES: FeatureMap, Input, Extractor, Layer, Channel, Axis, Activation, Transformation, Provenance.
PATHWAYS: query -> entity resolution -> relationship expansion -> boundary filter -> evidence ranking -> answer.
SEMANTIC_EQUIVALENCE: activation map, intermediate feature tensor (context-dependent, not universally identical).
CONFIDENCE: based on source quality, model-version match, tensor validation and provenance completeness; not an uncalibrated assertion of certainty.
UPDATE_MODEL: new model version or layer definition -> invalidate incompatible comparisons -> rebuild derived records.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/latent-representation-entities/feature-map-ontology.html
FLOW_HASH: compute from canonicalised published file bytes at deployment; no fabricated hash supplied.

LICENCE NOTE: Intended as a companion to the Kireth Research open research corpus; check the published licence terms for redistribution and attribution.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ