Skip to main content

How do I manage experimental versus production AI models?

Summary

  • Manage experimental and production AI models as two separate, governed lanes: different Unity Catalog catalogs, different access rights, different traffic and spend limits, and one explicit gate between them.
  • Production applications should call a stable name, such as a model alias or a model service, never a specific experimental version. Swapping the model behind that name is then a reviewed configuration change instead of a code change.
  • Promotion is a decision backed by evidence: the candidate is evaluated against the current production model on the same data, approved, and rolled out gradually with a way back.
  • On Databricks, Unity Catalog holds the environment boundary and the "Champion" alias, MLflow tracks experiments and evaluations, and Unity Gateway gives test and production traffic their own model services, rate limits, budgets and logs.

How do I manage experimental versus production AI models?

Keep them in separate lanes and make crossing from one to the other a deliberate act. Experimental models live where data scientists can change anything, with low limits and no production callers. Production models live in a locked-down environment, behind a stable name, with rate limits, monitoring and a rollback path. Between the two sits a promotion gate: evaluate the candidate against the current production model, get approval, then shift traffic gradually. Blurring that line is how an untested model ends up serving users: an app pointed at whatever version was registered last, or one API key shared by tests and live traffic.

Experimental vs. production models: how they compare

Dimension Experimental Production
Where it lives A dev catalog in Unity Catalog A separate production catalog
Who can change it Data scientists, with read-write access ML engineers and automated pipelines; data scientists "typically do not have write or compute access"
How callers reference it A run, a version number, or a test service An alias such as "Champion", or a production model service name
Traffic None, or a small split during rollout Full traffic, with fallbacks for failed requests
Limits Low rate limits and a capped budget Rate limits sized for the workload, plus alerts
Evidence MLflow experiment runs and evaluation results Inference tables, usage system tables and ongoing quality monitoring

Practices that keep the lanes apart

Separate environments by catalog. Databricks' MLOps guidance represents development with "the dev catalog in Unity Catalog" and gives staging its own catalog. Models in Unity Catalog don't support stages, so the docs recommend the three-level namespace to express the environment and aliases to promote models.
Track every experiment. MLflow experiments organize training runs, agent traces and LLM evaluations, so a candidate arrives at review with its parameters, metrics and evaluation history attached.
Point production at aliases, not versions. Assign the "Champion" alias to the version in production and have workloads load the alias. Promotion becomes a call to set_registered_model_alias, and rollback is the same call with the previous version. To move a version between environments, copy_model_version copies it from a staging model to a production model.
Promote code, not just models. The MLOps workflow recommends promoting code from one environment to the next, so the production model is trained on production code.
Gate the promotion. Compare the candidate (the "Challenger") with the Champion offline on a held-out dataset, then online through an A/B test or gradual rollout. MLflow 3 deployment jobs, in Public Preview, automate "evaluation, approval, and deployment" whenever a new model version is created, with a human approval step.

How Databricks approaches experimental and production models

For generative AI, Unity Gateway adds the traffic layer. A model service routes requests to one or more models and lets you "change the underlying model without changing the name the application calls." Databricks' own examples include a separate test service and production service with different service rate limits, and a dedicated inference table per workload. Model services are Unity Catalog securables: by default only the owner can query one, and others need EXECUTE, which keeps an experimental service from picking up production callers unless someone grants them access.
When a candidate is ready, traffic splitting sends a chosen percentage of requests to it, and fallbacks retry failed requests (for example, a 429 or 5xx error) against backup destinations. Rate limits cap requests and tokens per service, user, group or service principal. Budgets set shared or per-user spend thresholds that send an alert or block usage, which keeps experimentation affordable.
Production gets the evidence trail. Inference tables log requests and responses to Unity Catalog Delta tables, the system.ai_gateway.usage table records tokens, latency and the requesting principal, and production monitoring, in Beta, runs the same MLflow scorers you used in evaluation on a sample of live traces.
External models follow the same pattern. A model provider service stores provider credentials, which Databricks encrypts and doesn't return on read, so teams can experiment with a new provider without handling its keys.

FAQs

Do experimental and production models need separate workspaces?

Not necessarily. The catalog is the main boundary, and models in Unity Catalog are accessible from any workspace attached to the same metastore, so separate dev and production workspaces can still share one registry.

What replaced model stages such as Staging and Production?

Stages aren't supported for models in Unity Catalog. Use the catalog to express the environment and aliases such as "Champion" and "Challenger" to mark deployment status.

How do I stop an experimental model from reaching real users?

Don't grant production callers access to it. Production apps query a production model service or a production alias, and you control who holds the permissions to change either.

How should I roll out a promoted model?

Gradually. Send a small share of traffic through traffic splitting, compare quality, cost and errors with the current model, and raise the share only while those metrics hold.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.