Debug sudden model degradation using experiment tracking and model registry
Tests unified use of experiment tracking and registry lineage. Great answers verify the exact production artifact, inspect linked training data and hyperparameters, compare input distributions, and check dependency metadata.
What's really being asked
Whether the candidate understands the operational difference between experiment tracking, which captures training-time metadata, and the model registry, which governs deployment-time artifacts. The interviewer cares if you can construct a causal chain from training configuration to production behavior instead of guessing.
The full answer
First, check the model registry to confirm which exact artifact is running in production, including its version hash, stage label, and deployment timestamp, to rule out an accidental promotion of the wrong model. Second, pull the experiment run linked to that artifact to inspect training hyperparameters, dataset version or hash, feature engineering code version, and metric curves, looking for a recent change that correlates with the degradation onset. Third, compare the production input distribution against the training dataset snapshot logged in the experiment tracker to identify data drift or schema changes. Fourth, verify that the serving infrastructure is loading the same serialization format and dependencies recorded in the model registry environment metadata, because a library version mismatch can silently corrupt predictions. Fifth, trace the lineage backward through registered artifacts to see if an upstream data pipeline change produced a new training set that was inadvertently consumed.
The mistakes people make
Treating the experiment tracker as a metrics dashboard rather than a lineage tool. Blaming data drift without ever checking which model version is actually deployed. Suggesting a full retrain before comparing the current production artifact against the last known good version in the registry. Ignoring dependency or schema metadata and focusing only on accuracy numbers.
What usually comes next
How would you automate this investigation into an alert-driven playbook. What would you do if the experiment logs showed no changes but the registry proved the wrong model was promoted. How do you handle a case where the training data snapshot was not versioned.
A concrete example
Imagine a computer vision model deployed for defect detection suddenly drops precision by twelve percent. In the model registry, the candidate finds that version 2.3.1 was promoted three days ago, replacing 2.2.4. The linked experiment run shows that 2.3.1 used a new augmentation pipeline and a resized input resolution of 224 by 224, whereas 2.2.4 used 512 by 512. The production logs reveal that the resizing interpolation method in the serving container defaulted to nearest-neighbor instead of bilinear, introducing aliasing that the training artifact never encountered. The candidate rolls back to 2.2.4 via the registry and files a ticket to pin the preprocessing library version in the model registry metadata.
Interview question
A model in production suddenly degrades. Which first step best prevents misdiagnosing the root cause?
- a.Inspect recent experiment tracker dashboards for accuracy trends
- b.Roll back to the previous registry version and schedule a full retrain
- c.Verify the exact artifact version and lineage in the model registryCorrect
- d.Compare live input distributions against the training set to detect data drift
Why? this is the answer
Verifying the exact artifact and its lineage in the model registry anchors the investigation to the actual deployed model and its training metadata. Jumping straight to data drift analysis is tempting but misguided because you risk diagnosing the wrong version or a deployment mismatch rather than true input shift.
Just read this? Test yourself on what you have been reading.
- #mlops
- #model-registry
- #experiment-tracking
- #debugging
- #production
Put your scrolling time to good use
Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.
We are hiring for this. Open roles that interview on mlops — each one lists the topics its interview covers.
See open roles