Skip to main content

Feature Store Ontology

Infrastructure Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — AI CORE / INFRASTRUCTURE ENTITIES
FEATURE STORE ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Date: 04 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/feature-store-ontology.html
Status: Original interpretative formalisation; not a verbatim extraction of hidden page specifications.
Licence: Open research use; citation requested. Verify applicable published licence terms at source.

1. PURPOSE
Represent a feature store as a governed, versioned system that transforms validated source data into reusable, discoverable, point-in-time-correct machine-learning features for training and inference. Explicitly distinguish offline historical retrieval from online low-latency serving.

2. ENTITY AND STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = {source records, event times, entity keys, feature definitions, requests, observations}
R_t = {transformation rules, schemas, freshness rules, access policies, lineage, version constraints}
B_t = {time boundaries, tenancy, security, resource budgets, retention, latency limits}
K_t = {feature catalogue, materialisation status, provenance, statistics, quality history}

FeatureStore FS = (Catalog, Definitions, OfflineStore, OnlineStore, Registry, Policies, Lineage)
FeatureDefinition f = (feature_id, version, entity_key, transform, datatype, ttl, owner)
FeatureValue v = (feature_id, version, entity_id, value, event_time, available_time, provenance)
FeatureView V = (feature_set, entity_keys, timestamp_policy, serving_contract)
MaterialisationJob J = (job_id, inputs, transform_version, interval, status, checkpoints)
FeatureRequest Q = (entity_ids, feature_versions, as_of_time, purpose, caller)

3. FLOW ALGEBRA
E_t = expand(I_t, R_t)                       # Candidate features and permissible transformations
V_t = {x in E_t | schema_ok(x) and authorised(x,B_t) and quality_ok(x,R_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, observed_outcome_t)
K_{t+1} = K_t union {lineage(x*_t), quality_results(x*_t), serving_metrics(x*_t)}

The argmax expresses a policy-constrained selection preference, not a claim that a calibrated probability distribution exists. If V_t is empty, return a typed refusal or error, not a fabricated feature value.

4. TRANSFORMATION AND REGISTRATION
raw = ingest(source, window)
validated = validate(raw, schema, policy)
features = transform(validated, definition.version)
register(feature_id, version, schema, owner, lineage)
write_offline(features, event_time, available_time)
materialise_online(latest_eligible(features), ttl)

Each write is idempotent by (feature_id, version, entity_id, event_time, source_revision), or uses a documented deduplication key. Failed validations are quarantined with diagnostics.

5. POINT-IN-TIME CORRECTNESS
For a training row r with prediction_time T:
Eligible(r,f) = {v | v.entity_id = r.entity_id
                   and v.feature_id = f.id
                   and v.event_time <= T
                   and v.available_time <= T
                   and permitted(v,r)}
join_asof(r,f) = latest_eligible(Eligible(r,f))

Using both event_time and available_time prevents information that was not yet available at prediction time from leaking into training. Missing eligible values must follow an explicit missing-value policy.

6. ONLINE SERVING
serve(Q) = authorise(Q) -> resolve_versions(Q) -> fetch_online(Q)
           -> validate_freshness -> return(values, versions, timestamps, lineage_refs)
Fresh(v,now) := (now - v.available_time <= ttl(v)) where ttl is defined.
When freshness or latency constraints fail, use a documented fallback, a missing-value response, or an error; do not silently substitute stale values.

7. INFERENCE RULES
R1: IF source schema invalid THEN quarantine record AND emit diagnostic.
R2: IF feature definition changes incompatibly THEN create new version.
R3: IF training lookup time precedes value availability THEN exclude value.
R4: IF caller lacks permission THEN deny retrieval and log access decision.
R5: IF online value exceeds TTL THEN mark stale and apply fallback policy.
R6: IF materialisation repeats with same idempotency key THEN do not duplicate.
R7: IF observed drift exceeds approved threshold THEN emit monitoring event; do not automatically retrain without policy approval.
R8: IF offline and online transformations diverge THEN flag training-serving skew.

8. MINI RECURSION ENGINE
state_0 = observe(source_changes, requests, health_metrics)
state_{n+1} = reconcile(state_n, schema, lineage, freshness, access_policy)
STOP when stable(state_{n+1},state_n) OR budget_exhausted OR violation_detected.
A retry is bounded, logged and idempotent. Cyclic dependencies in feature definitions must be rejected or explicitly resolved with a well-founded evaluation order.

9. TRI-MAPPING
Physical: storage nodes, networks, compute workers, databases, clocks.
Semantic: feature identity, version, entity key, meaning, provenance, permissions.
Operational: ingest -> validate -> transform -> register -> materialise -> serve -> monitor.
Map: physical resources implement semantic contracts through operational processes; no layer is interchangeable with another.

10. FLOW DIAGRAM (TEXT)
Source Events / Tables
        |
        v
Schema + Access + Quality Validation --failure--> Quarantine / Audit
        |
        v
Versioned Feature Transform --> Registry + Lineage
        |
        +--> Offline Historical Store --> Point-in-Time Training Join
        |
        +--> Online Materialisation --> Freshness Check --> Inference Request
                                             |
                                             v
                                      Metrics / Monitoring
                                             |
                                             v
                                     Governed Revision Loop

11. RELATIONSHIP MAPPING TABLE
FeatureStore      HAS_DEFINITION       FeatureDefinition
FeatureDefinition HAS_VERSION          FeatureVersion
FeatureDefinition DERIVED_FROM         DataSource
FeatureValue      BELONGS_TO           EntityKey
FeatureValue      HAS_PROVENANCE        SourceRecord
FeatureView       SELECTS              FeatureDefinition
MaterialisationJob WRITES_TO           OnlineStore
TrainingDataset   JOINS_AS_OF          OfflineStore
InferenceService  READS_FROM           OnlineStore
MonitoringEvent   OBSERVES             FeatureQualityMetric
AccessPolicy      GOVERNS              FeatureRequest

12. EXECUTION GUARANTEE — CONDITIONAL
Under correct source timestamps, deterministic transformations, enforced versioning, complete access checks, transactional or idempotent writes and successful storage operations, the system can provide reproducible historical joins and policy-compliant serving. This is a conditional engineering contract, not an unconditional guarantee of availability, correctness or performance. Clock skew, missing lineage, partial failures and upstream errors remain explicit risks.

13. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.infrastructure.feature-store.v1
ENTITY: Feature Store
ENTITY_CLASS: AI Infrastructure Entity
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/infrastructure-entities/feature-store-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Governed reusable feature creation and point-in-time-correct retrieval.
INPUTS: datasets, feature definitions, entity keys, timestamps, policies, requests.
OUTPUTS: feature values, versions, lineage, quality results, audit events.
STATE_MODEL: S=(I,R,B,K)
PATHWAYS: ingest>validate>transform>register>store>serve>monitor
BOUNDARIES: authorisation, temporal validity, retention, freshness, budget.
INFERENCE_RULES: R1-R8 above.
CONFIDENCE: Evidence-dependent; no fixed numerical confidence asserted.
SEMANTIC_EQUIVALENCE: feature registry != feature store; online serving != historical point-in-time join.
UPDATE_MODEL: versioned definitions, validated backfills, monitored drift.
CITATION_BACKLINK: source URL above.
FLOW_HASH: Not calculated; generate SHA-256 from final canonical published bytes if required.

14. HOW TO READ / IMPLEMENT
Treat entity definitions as typed contracts, arrows as transformations and predicates as mandatory checks. Implement offline joins with both event and availability timestamps. Require explicit schema evolution, audit trails, access enforcement, drift monitoring and bounded retries. Test time leakage, training-serving skew, stale reads, duplicate writes, missing keys, and unauthorised requests.

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