Skip to main content

Vector Embedding 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 — VECTOR EMBEDDING 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/vector-embedding-ontology.html
Status: Independently authored companion; source-page content not verified.
Date: 2026-11-02

01. PURPOSE
Represent a vector embedding as a typed, provenance-aware numerical representation of an input entity, generated by a specified encoder and usable for retrieval, comparison, clustering or downstream inference.

02. ENTITY AND STATE MODEL
E = (id, source, modality, encoder, version, vector, dimension, metric, normalised, provenance)
S_t = (I_t, R_t, B_t, K_t)
I_t: observed inputs and embedding candidates.
R_t: encoder, transformation and similarity relations.
B_t: constraints including dimensionality, privacy and validity.
K_t: model/version, index configuration and known context.

03. CORE FLOW ALGEBRA
z = f_theta(preprocess(x)) in R^d
z_hat = z / ||z||_2 when ||z||_2 > 0
E_t = expand(I_t, R_t)
V_t = {e in E_t : valid(e, B_t) = true}
e* = argmax_(e in V_t) P(e | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, e*, feedback_t)
These are modelling conventions, not claims of a universal probabilistic embedding algorithm.

04. IMPLEMENTS
INPUT: text/image/audio/video/code or structured entity, encoder ID, configuration.
TRANSFORM: validate -> preprocess -> encode -> check -> optionally normalise.
OUTPUT: embedding record with vector, dimension, provenance and version.
FAILURE: missing encoder, unsupported modality, nonfinite values, zero-norm normalisation or dimension mismatch.

05. HOW TO READ THE FLOW
An input entity is transformed by a specified encoder into a vector. Validation ensures compatibility with the target index and similarity metric. The vector is interpreted relative to the encoder and dataset, not as an intrinsic meaning independent of context.

06. TRI-MAPPING
SEMANTIC: entity -> representation -> related entities.
MATHEMATICAL: x -> f_theta(x) = z in R^d.
EXECUTION: input -> encoder -> validation -> index/query -> result.

07. RELATIONSHIP GRAPH
SourceEntity --encodedBy--> EncoderVersion
EncoderVersion --produces--> VectorEmbedding
VectorEmbedding --hasDimension--> d
VectorEmbedding --comparedUsing--> SimilarityMetric
VectorEmbedding --storedIn--> VectorIndex
VectorEmbedding --derivedFrom--> SourceEntity
VectorEmbedding --supports--> RetrievalResult

08. MAPPING TABLE
Source input | x | source payload or reference
Encoder | f_theta | model and version
Vector | z | finite numeric array
Dimension | d | positive integer
Normalisation | z_hat | optional unit vector
Similarity | sim(z_a,z_b) | metric-dependent score
Provenance | p | source and generation metadata

09. MINI RECURSION ENGINE
START with query q and candidate corpus C.
1. Encode q using the compatible encoder version.
2. Retrieve candidates from index(C).
3. Check dimension, metric and version compatibility.
4. Rank by the configured similarity function.
5. Apply filters and optional reranking.
6. Incorporate explicit feedback, if available.
7. Stop at iteration, latency or quality boundary.
Never treat nearest-neighbour similarity alone as proof of factual correctness.

10. INFERENCE RULES
IF encoder versions differ THEN do not assume vectors are comparable.
IF dimensions differ THEN reject direct distance computation.
IF cosine similarity is used THEN require nonzero vectors.
IF vector components are nonfinite THEN reject or regenerate.
IF source content changes THEN flag its embedding for refresh.
IF retrieval confidence is reported THEN distinguish similarity from calibrated probability.

11. EXECUTION GUARANTEES AND LIMITS
GUARANTEES (conditional on implementation): dimensionality validation, finite-number checks, version recording, deterministic ordering of ties when specified, and traceable source references.
NON-GUARANTEES: semantic truth, bias-free representation, privacy preservation without controls, perfect nearest-neighbour recall, or calibrated certainty.

12. AI SEARCH FLOW
FLOW_ID: VECTOR_EMBEDDING_ONTOLOGY_V1
PURPOSE: Retrieve semantically related entities through compatible vector representations.
ENTITIES: SourceEntity, Encoder, VectorEmbedding, VectorIndex, SimilarityMetric, RetrievalResult.
PATHWAY: source -> preprocessing -> encoding -> validation -> indexing -> query -> similarity -> ranked results.
CONFIDENCE: similarity score; calibration requires separate evidence.
SEMANTIC_EQUIVALENCE: approximate and context-dependent, not logical identity.
UPDATE_MODEL: re-embed when source, preprocessing, encoder or index policy changes.
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/embedding-entities/vector-embedding-ontology.html

13. EXAMPLE AND VALIDATION
Input: two short descriptions of the same subject.
Encoder: one fixed model/version, producing d-dimensional vectors.
Comparison: cosine(z_a,z_b) = dot(z_a,z_b)/(||z_a||_2 ||z_b||_2).
Check: vectors finite, nonzero, same dimension and compatible versions.
Interpretation: a larger cosine value suggests greater representation similarity under that encoder; it does not establish that the descriptions are factually equivalent.

LICENCE NOTE
Intended as an openly shareable research companion with attribution to the named authors and backlink to the source ontology. Check the applicable published licence for binding terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ