What is an AI feature store?

A feature store is a data layer where the features used by machine learning models are defined, computed and stored in one central place, then served with the same definition to both model training and live prediction.

Unlike feature engineering, the work of designing meaningful features from raw data, a feature store is the shared infrastructure managing those features' definitions, historical values and serving. Different teams can then reuse a feature without rewriting it.

Topic
Infrastructure and runtime
Also known as
Feature repository

How an AI feature store works

  1. Each feature's logic is defined once; training jobs and the prediction service use the same definition.
  2. An offline store keeps historical feature values for batch training.
  3. An online store serves the latest values for live prediction with low latency.
  4. When training data is built, each example takes the values known at that moment, so future information does not leak into training.

In more detail

Three computation modes: batch, streaming and on-demand

Production feature stores distinguish three computation modes: batch features (scheduled SQL/Spark jobs for daily or hourly aggregates), streaming features (continuous event processing via Kafka/Flink for sliding windows like "transactions in the last 10 minutes") and on-demand features (computed synchronously at request time from live API payload fields, such as distance between current GPS coordinates and a merchant).

Offline-online sync, backfill and versioning

Maintaining parity between the offline store (e.g., columnar Parquet/Iceberg tables) and the online store (e.g., low-latency Redis or key-value stores) requires careful backfill, incremental materialisation and TTL management. Without strict versioning and schema validation, changing a feature's aggregation window silently breaks downstream models until all consumers are updated.

Serving embeddings and context alongside tabular features

Modern feature stores increasingly bridge structured tabular signals and unstructured AI workflows by storing and serving pre-computed embeddings, user/session context profiles and prompt-enrichment attributes alongside traditional metrics, enabling hybrid ranking, fraud and RAG personalisation pipelines from a single governed registry.

Commonly confused terms

TermHow it differs
Data warehouse or lakehouseA data warehouse stores historical structured data optimised for SQL analytics and BI reporting, whereas a feature store versions ML feature logic and serves the exact same transformations to both batch training and low-latency online inference.
Vector databaseA vector database indexes high-dimensional embeddings for similarity search (such as semantic retrieval in RAG), whereas a feature store manages keyed entity features (counts, ratios, embeddings, flags) aligned by entity ID and point-in-time timestamps for tabular and hybrid models.

Why an AI feature store matters for on-premises AI

If a feature is computed one way in training and another way in production, the model performs worse than expected; a feature store prevents this with a single definition. Since each feature's source and owner are recorded, which model depends on which data is traceable. Data drift can also be monitored through feature values. An in-house feature store keeps computation and serving of customer data on the organisation's own infrastructure.

ON-PREMISES EXAMPLE

A retail chain's demand forecasting and restocking models take features such as weekly sales and return rates per store from a shared feature store; each feature is defined once, with both models and the live prediction service using the same value.

Common questions

How does a feature store differ from a data warehouse?

A data warehouse stores data for general analysis. A feature store keeps machine learning features with their definitions, serving them consistently to training and low-latency live prediction.

Does every machine learning project need a feature store?

No. With few models and features it may not be needed. It pays off when several models share features or live prediction consistency matters.

Sources

In the glossary: Glossary, E to L

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.