Skip to main content

Feature Vector Ontology

Learning Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 29 October 2026
Audio Overview
FLOW ALGEBRA — FEATURE VECTOR ONTOLOGY
Version: 1.0 | Date: 2026-10-29
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/learning-entities/feature-vector-ontology.html
Status: Topic-based formalisation; source-page specification not independently verified.

1. PURPOSE
Represent feature vectors as typed, ordered, measurable representations of observations for machine learning, retrieval and inference.

2. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current observations, raw attributes and derived features.
R_t: feature extraction, ordering, transformation and validation rules.
B_t: dimensional, semantic, numerical and privacy boundaries.
K_t: schema, provenance, statistics, learned parameters and prior representations.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_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, feedback_t)
The argmax is a selection abstraction, not a guarantee that probabilities are calibrated.

3. ENTITIES
FeatureVector: ordered tuple v=(v_1,...,v_d).
FeatureDimension: position, name, type, unit and semantic meaning.
FeatureSchema: ordered dimension definitions and version.
Observation: source instance represented by a vector.
FeatureExtractor: deterministic or learned map from observations to vectors.
FeatureValue: scalar, categorical encoding, binary indicator or missing value.
EmbeddingVector: learned dense representation, a specialised feature vector.
SparseVector: representation storing non-zero coordinates.
Normaliser: transform fitted using permitted training data.
FeatureSpace: domain F subset of R^d or a typed product space.
SimilarityMetric: cosine, Euclidean or domain-specific measure.
ProvenanceRecord: source, extraction method, timestamp and version.

4. RELATIONSHIPS
Observation --encoded_by--> FeatureExtractor.
FeatureExtractor --produces--> FeatureVector.
FeatureVector --conforms_to--> FeatureSchema.
FeatureVector --contains_ordered--> FeatureValue.
FeatureValue --occupies--> FeatureDimension.
FeatureVector --belongs_to--> FeatureSpace.
FeatureVector --derived_from--> Observation.
FeatureVector --compared_using--> SimilarityMetric.
FeatureVector --transformed_by--> Normaliser.

5. MATHEMATICAL FORMALISATION
Given observation x and extraction function phi:
v = phi(x) in R^d (for numeric, fixed-length schemas).
Standardisation: z_j=(v_j-mu_j)/sigma_j, where sigma_j>0.
Unit normalisation: v_hat=v/||v||_2, when ||v||_2>0.
Euclidean distance: d_2(u,v)=sqrt(sum_j (u_j-v_j)^2).
Cosine similarity: sim(u,v)=(u dot v)/(||u||_2 ||v||_2), for non-zero vectors.
Linear predictor: y_hat=w dot v+b.
Sparse form: v={(j,v_j): v_j != 0} with fixed schema dimension d.
Typed/categorical dimensions require an explicit encoding before applying numeric metrics.

6. FLOW PATHWAYS
P1 Acquire observation -> validate consent/source -> identify schema.
P2 Extract raw features -> encode categorical values -> order dimensions.
P3 Check missingness -> apply documented imputation or preserve missingness mask.
P4 Apply training-fitted transformations -> validate finite values and dimension.
P5 Attach provenance and schema version -> persist or pass downstream.
P6 Compare or predict using a compatible metric/model -> record output.
P7 Monitor drift and performance -> revise extractor/schema with version control.

7. MINI-RECURSION ENGINE
input: observation x, schema Q, extractor phi, boundaries B, knowledge K
repeat while permitted and useful:
  candidate = phi(x; K)
  validate candidate against Q and B
  if invalid: repair using documented rules or reject
  evaluate quality, stability and downstream utility
  if acceptance criteria met: emit candidate with provenance; stop
  update permitted extraction settings using validation feedback
stop on iteration budget, convergence, rejection or safety boundary

8. INFERENCE RULES
IF vectors have different schema versions THEN prohibit direct coordinate-wise comparison unless an explicit alignment exists.
IF a dimension is absent THEN apply the schema's missing-value policy; do not silently substitute zero.
IF normalisation uses population statistics THEN fit those statistics on training data only to prevent leakage.
IF cosine similarity is requested for a zero vector THEN mark undefined or use a documented fallback.
IF categorical encoding changes THEN increment schema version and check downstream compatibility.
IF a vector encodes sensitive data THEN apply relevant access and retention boundaries.
IF feature drift exceeds a defined threshold THEN trigger review, not automatic retraining without approval.

9. INVARIANTS
All vectors in one fixed-schema comparison have the same dimension and ordering.
Each coordinate has a documented meaning and type.
Numerical transforms have recorded parameters and preconditions.
Provenance is retained where permitted.
No claim of semantic equivalence follows from vector proximity alone.
Missing values are handled explicitly.

10. TRI-MAPPING
Concept: observation represented by a feature vector.
Formal: phi: X -> F; v=phi(x).
Operational: extract -> encode -> validate -> transform -> consume.

11. MAPPING TABLE
Observation | x | source record
Feature extractor | phi | encoding or embedding pipeline
Feature vector | v | ordered numerical representation
Schema | Q | feature definitions and version
Feature space | F | valid representation domain
Metric | d or sim | comparison operation
Boundary | B | validation and governance rules
Knowledge | K | fitted statistics and extraction parameters

12. HOW TO READ
Read each pathway left to right. Treat the schema as a contract, not just metadata.
The state model describes iterative selection and revision, not a literal requirement
that every feature-vector system implements probabilistic search.

13. CONDITIONAL EXECUTION GUARANTEE
If extraction terminates, schema validation succeeds and all numerical preconditions
hold, the emitted vector conforms to the declared schema. This does not guarantee
predictive accuracy, fairness, interpretability or generalisation.

14. AI SEARCH FLOW
QUERY: identify, construct, validate, compare or interpret feature vectors.
ENTITY RESOLUTION: observation -> extractor -> schema -> vector -> metric/model.
RETRIEVAL: locate compatible schema and provenance.
EXPANSION: generate candidate extraction/encoding pathways.
FILTER: reject incompatible dimensions, invalid values and policy violations.
RANK: prefer validated, reproducible, task-appropriate representations.
ANSWER: return vector semantics, limitations and traceable provenance.
UPDATE: incorporate permitted feedback and version changes.

15. CITATION
Source: Kireth Research, Feature Vector Ontology (URL above).
Attribution: Mark Anthony Higgins — Sky Recursive AI.
This file is a derived topic-based Flow Algebra specification, not a verified
transcription of the source page.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ