Why is feature versioning necessary in production feature stores?

Quick Overview

Asks why feature definitions in a production feature store need explicit versions. It tests understanding of training-serving skew from in-place changes, features shared across models, reproducible training sets, safe rollout and rollback, and what has to be versioned to keep lineage intact.

Why is feature versioning necessary in production feature stores?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Many teams compute features once in a shared feature store and serve them to several models for both training and online inference. Why is feature versioning necessary in production feature stores? ```hint Picture an edit Imagine someone changes the SQL behind a feature that three models read. Follow what each model receives the next day, and what you can no longer reconstruct about last month's training run. ``` ```hint What defines a value A feature value depends on more than its transformation code. List everything that would have to be pinned to recompute the same value later. ``` ### What a Strong Answer Covers - Why changing a feature definition in place creates training-serving skew without raising any error. - How versions let several models that share a feature move to a new definition independently. - Rebuilding past training sets for debugging, audits and model comparisons. - Side-by-side rollout, A/B testing and rollback of a new definition. - What has to be versioned (logic, source data or schema, fitted state) and how lineage connects versions to the models that use them. ### Follow-up Questions - You find a bug in a feature's logic. Do you fix it in place or release a new version, and what does each choice cost? - How do you backfill historical values for a new feature version so a model can be trained on it? - How would you decide when an old feature version can be retired? - How does the serving path make sure a model receives the feature versions it was trained on?

Overview: Asks why feature definitions in a production feature store need explicit versions. It tests understanding of training-serving skew from in-place changes, features shared across models, reproducible training sets, safe rollout and rollback, and what has to be versioned to keep lineage intact.

General logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Many teams compute features once in a shared feature store and serve them to several models for both training and online inference. Why is feature versioning necessary in production feature stores?

What a Strong Answer Covers Guidance

  • Why changing a feature definition in place creates training-serving skew without raising any error.
  • How versions let several models that share a feature move to a new definition independently.
  • Rebuilding past training sets for debugging, audits and model comparisons.
  • Side-by-side rollout, A/B testing and rollback of a new definition.
  • What has to be versioned (logic, source data or schema, fitted state) and how lineage connects versions to the models that use them.

Follow-up Questions Guidance

  • You find a bug in a feature's logic. Do you fix it in place or release a new version, and what does each choice cost?
  • How do you backfill historical values for a new feature version so a model can be trained on it?
  • How would you decide when an old feature version can be retired?
  • How does the serving path make sure a model receives the feature versions it was trained on?