Feature Store

A feature store manages shared feature definitions and access to their values for model training and serving. Google Cloudโ€™s MLOps architecture describes a component supporting historical batch access and low-latency online retrieval. Its value lies in reusable definitions and controlled access paths, not in the name of the storage system.

Feast illustrates this design with an offline store for historical extraction and an online store for low-latency retrieval. It integrates with upstream pipelines that calculate feature values; it is not a general-purpose ETL system or workflow orchestrator. Define who computes, materializes, and retrieves each feature, and which transformation version each path uses.

Three problems it addresses

Definitions that drift apart. Two teams may disagree on whether thirty-day spend includes refunds. Shared definitions and metadata make that difference discoverable and reviewable. Feature distinguishes the input value from the rule used to obtain it.

Values as of the wrong time. Historical reconstruction needs both the event cutoff and the time a value became available. The point-in-time join described in Feastโ€™s documentation uses an event-time lookup by default; that alone can return a later backfill or correction. Preserve availability information and compatible versions. If using Feastโ€™s created-timestamp filtering, check support in the installed version and offline store, and ensure that the timestamp represents actual availability. Reproducing served values also requires the serviceโ€™s caching, expiry, and fallback behavior. A temporal join alone does not establish that history matches what the service knew.

Training and serving computing the same thing differently. Shared definitions reduce duplicated logic, but differences in upstream computation, loading, or retrieval can still change model inputs. Compare actual served values with reconstruction for the same entity, prediction time, and feature version. Check missing values, units, age, and defaults as well as numerical agreement. Training-Serving Skew and Feature Stores shows why mismatch frequency and performance impact are different measures.

What it does not solve

A feature store makes definitions shareable; it does not establish their business correctness or guarantee freshness. Source meaning, update lag, materialization failures, and retrieval behavior still need checks and owners. The workloads that use it inherit dependencies on those paths, with availability and operating costs to manage.

When it is worth having

Four conditions make the case. Several models share features. Some models serve online and need low-latency lookups of values also used in training. Point-in-time training data is being assembled by hand for each project. Or disagreements between teams’ versions of the same quantity have already caused a visible error. With one batch model and no sharing, a well-versioned table and a disciplined query usually suffice.

Where one exists, three responsibilities need owners: each feature definition, with a named person who approves changes to its meaning; a freshness promise per feature, with monitoring against it; and retirement, so that unused features are removed rather than carried indefinitely. The data the features are computed from needs versions of its own, as described in data versioning, and the lifecycle around both is worked through in Nobody Could Rebuild Version 14.

References:


Discover more from Insightful Data Lab

Subscribe to get the latest posts sent to your email.

Similar Posts

Questions, corrections, or additional insights?

This site uses Akismet to reduce spam. Learn how your comment data is processed.