MLOps & Systems

feature store

/ FEE-chur stor /

A feature store is a central place to compute, store, and serve the input variables (the 'features') that machine learning models eat. A feature is just a prepared piece of information about something — a customer's average purchase over the last 30 days, a product's category, how many times a user logged in this week. The feature store is the shared pantry where these ingredients are prepared once, stored neatly, and handed out consistently to whoever needs them.

It solves a quietly painful problem. The same feature — say 'customer's 30-day spend' — is needed in two places: during training (computed over historical data) and during live serving (computed on fresh data, fast). If two teams compute it slightly differently, the model trains on one definition and serves on another, and accuracy mysteriously rots. This is the notorious 'training-serving skew.' A feature store defines each feature once and guarantees the same value flows to both training and serving, while also letting teams reuse each other's features instead of rebuilding them.

Why it matters: in mature ML organizations, getting features right and consistent is often more valuable than a fancier model, and a feature store is the infrastructure that makes that discipline scalable. The honest caveat: it is a heavyweight piece of infrastructure that pays off mainly for organizations with many models and teams sharing data. For a single small project it can be overkill — a spreadsheet or a simple script is fine. It solves a coordination problem, and if you don't have that problem, you don't need the cure.

A fraud model needs 'transactions in the last hour.' The feature store computes it the same way for both worlds: a batch job fills in historical values for training, and a fast lookup serves the live value at the moment a card is swiped — guaranteeing the model sees one consistent definition.

One feature definition, two delivery paths — the cure for training-serving skew.

A feature store is infrastructure for a coordination problem, not a modeling upgrade. It earns its keep when many teams and models share data; for a lone project it is usually unnecessary overhead. Don't adopt one just because it sounds professional.

Also called
feature platform特征存储特征仓库特征平台