Skip to main content

Embedding Cluster 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 — EMBEDDING CLUSTER 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/embedding-cluster-ontology.html
Status: Independently authored companion; embedded source specification not accessible for verification.
Date: 2026-11-02

01. PURPOSE
Represent clusters of embeddings as typed, versioned, evidence-linked semantic entities. Define assignment, update, validation and retrieval flows without treating geometric proximity as proof of semantic identity.

02. ENTITY AND STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = embedding observations and metadata.
R_t = distance, membership, neighbourhood and provenance relations.
B_t = boundaries: compatible encoder, dimensions, metric, scope and constraints.
K_t = model versions, clustering configuration and prior validated knowledge.
Cluster C_j = (id_j, M_j, mu_j, rho_j, q_j, p_j, v_j)
M_j = member identifiers; mu_j = representative/centroid where applicable;
rho_j = dispersion; q_j = validation scores; p_j = provenance; v_j = version.

03. CORE FLOW ALGEBRA
E_t = expand(I_t, R_t)
V_t = {x in E_t : B_t(x) = true}
Z_t = normalise_and_validate(V_t, K_t)
C_t = Cluster(Z_t; algorithm, metric, parameters, seed)
A_t(x) = argmin_j d(z_x, mu_j) when centroid assignment is valid
I_(t+1) = update(I_t, C_t, feedback_t)
S_(t+1) = (I_(t+1), R_(t+1), B_(t+1), K_(t+1))
Note: Density-based and graph-based methods use their own assignment rules.

04. IMPLEMENTATION PATHWAY
INPUT -> validate provenance -> check encoder/dimension/metric compatibility
-> preprocess -> choose clustering objective -> fit or update clusters
-> evaluate cohesion/separation/stability -> assign IDs -> record evidence
-> publish clusters -> monitor drift -> revise when justified.

05. HOW TO READ THE FLOW
Each embedding is a point in a declared representation space. Clusters group
points under an explicit algorithm and metric. Cluster membership is a
model-dependent hypothesis, not an inherent category or causal explanation.

06. TRI-MAPPING
Physical/computational: stored vectors, indexes, centroids, labels and runs.
Mathematical: metric space, partitions, neighbourhoods, objective functions.
Semantic: candidate themes, entity groups, retrieval contexts and relations.
Map only with documented model and dataset assumptions.

07. RELATIONSHIP GRAPH
Embedding --member_of--> Cluster
Cluster --generated_by--> ClusteringRun
ClusteringRun --uses--> EncoderVersion / Metric / Parameters / Dataset
Cluster --has_representative--> Centroid or Medoid
Cluster --related_to--> Cluster (similarity or adjacency)
Cluster --supported_by--> Evaluation / Provenance
Cluster --revised_as--> ClusterVersion

08. MAPPING TABLE
Input vectors       -> validated embeddings -> candidate membership
Distance metric     -> proximity measure     -> neighbour evidence
Clustering method   -> grouping rule         -> cluster assignments
Cluster centre      -> representative        -> retrieval anchor
Quality measures    -> diagnostic evidence   -> confidence qualifier
Version and lineage -> reproducibility       -> update audit trail

09. MINI RECURSION ENGINE
repeat until stopping criterion or iteration limit:
  ingest permitted new embeddings
  verify compatibility and preprocessing
  compute assignments or refit under the selected algorithm
  assess quality, stability, drift and outliers
  accept only updates satisfying declared constraints
  retain prior version and decision provenance
end
Stopping criteria: convergence, bounded iterations, stability or review gate.

10. INFERENCE RULES
IF dimensions or encoder spaces conflict AND no validated mapping exists,
THEN block direct comparison.
IF proximity is high, THEN infer candidate relatedness, not equivalence.
IF quality or stability is below threshold, THEN flag cluster for review.
IF a point is an outlier under the chosen method, THEN permit unassigned status.
IF a cluster changes materially, THEN issue a new version with lineage.

11. CONFIDENCE AND VALIDATION
Record silhouette score where appropriate, density or separation metrics,
cluster size, stability under resampling, drift and human review evidence.
Do not interpret a raw similarity or silhouette score as calibrated probability.
Use explicit uncertainty labels and document metric limitations.

12. EXECUTION GUARANTEES AND LIMITS
A conforming implementation can guarantee deterministic replay only when
inputs, versions, random seeds, libraries and execution settings are fixed.
It can guarantee schema checks, provenance recording and bounded termination
when these are implemented. It cannot guarantee that discovered clusters
reflect true real-world categories, fairness or semantic correctness.

13. AI SEARCH FLOW
QUERY -> embed with compatible encoder -> search index -> retrieve neighbours
-> identify candidate clusters -> apply boundary and provenance filters
-> rerank supporting entities -> expose evidence, version and uncertainty
-> return grounded results -> log feedback for controlled updates.

CITATION
Mark Anthony Higgins and Sky — Recursive AI, 'Embedding Cluster Ontology —
Flow Algebra Companion', Semantic Library, 2026.
Open research use subject to the applicable Kireth Research licence and citation terms.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ