Moving a machine learning model from development to production requires more than registering a new file. This guide lays out a repeatable Databricks MLflow Model Registry workflow for versioning, evaluation, approval, promotion, monitoring, and rollback, with checkpoints you can reuse for every release.
Overview
A reliable MLflow model promotion process separates four concerns: creating a candidate, proving that it is fit for use, approving the release, and assigning it to a production serving path. The registry provides the controlled record of model versions and their metadata; your deployment process determines how an approved version reaches batch inference, a model-serving endpoint, or an application.
In a Databricks workflow, begin by logging the model and its dependencies during training. Register the resulting artifact under a stable model name, then attach enough information for another engineer to reproduce and evaluate it. Useful metadata includes the source code revision, training data reference, feature definition, parameters, evaluation results, dependency information, and the identity of the job that created the version.
Use the registry as the system of record for release identity. A model version should answer three questions clearly:
- What code, data, and configuration produced it?
- What tests and evaluation results support its promotion?
- Where is it currently approved or deployed?
Registry terminology and capabilities can vary with the MLflow and Databricks setup in use. In environments using Unity Catalog, teams commonly organize access through registered models and use aliases or deployment metadata to identify a release target. Older workflows may refer to model stages such as Staging and Production. Do not assume that a stage transition alone deploys a model; verify how your serving or batch pipeline reads the selected version.
What to track
1. Version identity and lineage
Track each candidate as an immutable version rather than overwriting a shared artifact. Record the Git commit or bundle version, training run identifier, feature table or input snapshot, schema, training window, and dependency lock file. For models that use prompts, retrieval indexes, or external API settings, record those inputs as well. A model cannot be meaningfully rolled back if its surrounding configuration has changed.
2. Evaluation results
Define acceptance criteria before comparing a candidate with the current production version. Depending on the task, track precision, recall, F1, ranking quality, calibration, error by segment, latency, resource use, and inference failure rate. For generative or language applications, combine automated measures with a reviewed evaluation set and task-specific checks such as citation completeness, refusal behavior, formatting compliance, or factuality review.
Always compare like with like. A new score is difficult to interpret if the test set, label definition, preprocessing logic, or threshold changed at the same time. Keep the evaluation dataset version and test code alongside the model record.
3. Approval evidence
An approval record should be concise but auditable. A useful template is:
Model: [registered model name and version]
Candidate purpose: [business or product use case]
Compared with: [current production version]
Evaluation window: [dataset or time range]
Results: [metrics, segment checks, and operational tests]
Known limitations: [constraints, drift risks, or excluded cases]
Deployment plan: [batch, endpoint, or application path]
Rollback target: [previous approved version]
Decision: [approved, rejected, or approved with conditions]
Reviewer and date: [named owner and timestamp]
4. Environment and release state
Keep development, validation, and production concerns distinct. The exact implementation depends on your workspace and access model, but the following comparison is a useful operating pattern:
| Area | Development | Validation or staging | Production |
|---|---|---|---|
| Purpose | Train and iterate | Verify release behavior | Serve approved predictions |
| Data | Exploratory or development data | Representative, controlled test data | Operational input with access controls |
| Checks | Unit tests and baseline metrics | Integration, quality, latency, and security checks | Health, drift, quality, and incident checks |
| Promotion rule | Candidate is reproducible | Acceptance criteria pass and approval is recorded | Only an approved version is assigned to the release target |
Cadence and checkpoints
Use a checkpoint at every state change instead of treating promotion as a single button click.
- After training: Confirm that the run completed, the artifact loads, the input and output schemas are documented, and the model version is registered.
- Before evaluation: Freeze the candidate identifier, test data, scoring code, and comparison baseline. This prevents results from changing silently during review.
- Before approval: Review primary metrics, segment-level failures, data-quality results, inference performance, and known limitations. Include a test of the actual packaging and runtime path, not only a notebook prediction.
- During promotion: Assign the approved version to the release mechanism used by your application. If your system uses an alias such as
championorproduction, update it through a controlled job or deployment workflow and record the change. - After deployment: Confirm that the serving or batch system is using the intended version. Check request volume, errors, latency, output validity, and business-quality signals.
- After stabilization: Archive the release notes, retain the previous rollback target, and close the promotion record only after post-deployment checks pass.
A monthly or quarterly review is useful even when models are not released frequently. Review whether the evaluation set still represents current traffic, whether ownership and access permissions remain correct, whether the rollback target is still deployable, and whether monitoring thresholds need adjustment. High-change use cases may require checks on every release or on a shorter operational interval.
For teams using automated delivery, place these checks in the same release process as code and configuration. A deployment bundle can create a consistent path for jobs, permissions, model references, and environment-specific settings. Keep the registry promotion decision separate from a blind “latest version” lookup.
How to interpret changes
When a candidate improves one metric and worsens another, do not reduce the decision to a single score. First identify whether the change is statistically or operationally meaningful for the use case. Then examine the affected segments, labels, input distributions, and error categories.
A lower aggregate score may conceal a serious regression for a small but important group. Conversely, a small aggregate improvement may not justify higher latency, increased compute use, or a less stable dependency chain. Treat quality, reliability, cost, and maintainability as release dimensions rather than afterthoughts. For an AI application, also test prompt or retrieval changes that are bundled with the model; a registry version alone may not represent the full behavior of the application.
Investigate common signals as follows:
- Metric decline across all segments: check data preparation, labels, feature availability, and evaluation-code changes before blaming the model.
- Decline in one segment: inspect coverage, class balance, and upstream data changes; consider a targeted threshold or retraining decision only after confirming the cause.
- Higher latency or error rate: compare model size, dependency versions, input shape, resource settings, and endpoint configuration.
- Production quality differs from offline results: check for training-serving skew, delayed labels, drift, missing features, and differences between test and real request paths.
Rollback is a release-control action, not a retraining strategy. If the current version causes material quality or reliability problems, reassign the production alias or deployment reference to the last verified version, then confirm traffic is using it. Preserve logs and the failed candidate for investigation. Do not delete the version before the incident review; its lineage and evaluation evidence may explain the failure.
When to revisit
Revisit this workflow on a monthly or quarterly cadence and immediately after any model, data, serving, or registry change. The article and your internal checklist should be reviewed when MLflow terminology, Databricks registry behavior, model-serving integration, access controls, or deployment APIs change. Recheck examples against the documentation and runtime version used by your team before copying them into production automation.
Use this practical release checklist for the next promotion:
- Register an immutable candidate with complete lineage.
- Compare it with the current production version using a fixed evaluation set.
- Review overall and segment-level quality, operational performance, and known limitations.
- Record an explicit approval, owner, deployment target, and rollback target.
- Promote through the controlled alias or deployment mechanism used by your environment.
- Verify the active version after deployment and monitor it against the same acceptance criteria.
- Keep the previous approved version available until the new release has stabilized.
For related operational controls, pair this model-release process with data quality checks, CI/CD with Asset Bundles, and the Databricks MLflow Model Registry guide. Together, they provide a repeatable path from evaluated candidate to observable, reversible production release.