Skip to main content

Latent Vector Ontology

Embedding Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — LATENT VECTOR ONTOLOGY
FLOW ALGEBRA COMPANION v1.0
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/embedding-entities/latent-vector-ontology.html
Status: Independently authored formalisation; embedded source specification not exposed in accessible page text.

01. PURPOSE
Represent a latent vector as a model-dependent numerical state encoding features inferred from observations, with explicit provenance, dimensionality, uncertainty and permissible operations.

02. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observed input or preceding representation.
R_t: encoding, transformation and decoding relations.
B_t: constraints on dimension, model version, normalisation and authorised use.
K_t: model parameters, training context, metadata and provenance.
Z_t = Enc_theta(I_t) in R^d.

03. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {z in E_t : satisfies(z, B_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, evidence_t)
These expressions are a conceptual selection formalism, not a claim that every encoder computes a probability distribution or performs argmax.

04. LATENT VECTOR OPERATIONS
encode(x, theta) -> z
project(z, W, b) -> Wz + b
normalise(z) -> z / ||z||_2, provided ||z||_2 > 0
similarity(z_a,z_b) -> (z_a dot z_b) / (||z_a||_2 ||z_b||_2), when both norms are nonzero
decode(z, phi) -> x_hat, when a compatible decoder exists
sample(p_theta(z)) -> z_sample, when a generative prior is defined
Distance or similarity comparisons require compatible representation spaces and preprocessing.

05. ENTITY GRAPH
LatentVector --isProducedBy--> Encoder
LatentVector --hasDimension--> Dimension
LatentVector --belongsTo--> LatentSpace
LatentVector --usesModelVersion--> ModelVersion
LatentVector --derivedFrom--> InputEntity
LatentVector --mayBeDecodedBy--> Decoder
LatentVector --hasProvenance--> ProvenanceRecord
LatentVector --hasUncertainty--> UncertaintyEstimate

06. TRI-MAPPING
Physical/observational: measured signal, image, text, audio or other input.
Mathematical: z in R^d, transformations, distances and distributions.
Semantic: learned representation of task-relevant features; coordinates need not have individually interpretable meanings.
Mapping: observation -> encoder -> latent vector -> task-specific interpretation.

07. HOW TO READ THE FLOW
Read left to right: acquire input, check constraints, encode, validate the vector, perform authorised downstream operations, record evidence and update state. A latent vector is not itself a verified factual statement.

08. MAPPING TABLE
INPUT       | TRANSFORMATION         | OUTPUT           | CHECK
Observation | Enc_theta(x)           | z in R^d         | Dimension/model
z           | normalise(z)           | unit vector      | Nonzero norm
z_a,z_b     | cosine similarity      | score            | Same compatible space
z           | Dec_phi(z)             | reconstruction   | Decoder compatibility
z           | downstream predictor   | prediction       | Calibration/evaluation

09. MINI RECURSION ENGINE
state <- initialise(input, encoder_metadata, constraints)
repeat while iteration < max_iterations:
    candidate <- encode_or_transform(state)
    if not validate(candidate, constraints): return ERROR
    evidence <- evaluate(candidate, objective)
    if convergence(evidence) or no_improvement(evidence): break
    state <- update(state, candidate, evidence)
return validated(state)
The loop is optional; a standard embedding pass may consist of one encoding step.

10. INFERENCE RULES
IF dimension(z) != expected_dimension THEN reject incompatible operation.
IF model_version(z_a) != model_version(z_b) THEN require validated alignment before comparison.
IF norm(z) = 0 THEN cosine_similarity(z, y) is undefined.
IF reconstruction error exceeds threshold THEN flag reconstruction as unreliable.
IF latent coordinates are not interpretable THEN do not assign unsupported feature labels.
IF source or consent restrictions prohibit reuse THEN deny downstream reuse.

11. CONFIDENCE AND PROVENANCE
Record encoder identifier, version, dimensionality, input reference, timestamp, preprocessing, normalisation, evaluation metric and any measured uncertainty. Similarity scores are not automatically calibrated probabilities or guarantees of semantic equivalence.

12. EXECUTION GUARANTEES AND LIMITS
Guarantee only structural properties that can be checked: vector shape, numeric finiteness, version compatibility, deterministic metadata recording and constraint validation. No guarantee of semantic truth, disentanglement, privacy, fairness, reversibility or prediction accuracy follows merely from the representation.

13. AI SEARCH FLOW
QUERY -> INPUT VALIDATION -> COMPATIBLE ENCODER -> LATENT VECTOR -> INDEX SEARCH -> CANDIDATE FILTER -> RERANK/EVIDENCE -> RESULT + PROVENANCE
ENTITIES: query, latent vector, encoder, index, candidate, evidence.
PATHWAYS: encode; compare; retrieve; validate; explain limitations.
CONFIDENCE: empirical retrieval metrics and calibrated downstream estimates where available.
UPDATE_MODEL: invalidate or re-embed vectors when representation compatibility changes.
SEMANTIC_EQUIVALENCE: require evidence beyond proximity in latent space.
FLOW_HASH: compute over canonicalised flow content and version using a declared hashing algorithm; no hash is asserted here.

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