Model registry

On this page 7

A model registry is a centralized, versioned catalog of trained machine learning models that records each model artifact together with its metadata, lineage and lifecycle stage. In AI infrastructure, it is the system of record between training and deployment: training pipelines write new versions into it, and serving platforms read approved versions from it.

Without a registry, teams tend to pass model files through shared folders, object storage buckets with ad hoc names or chat messages, which makes it impossible to answer basic audit questions such as which model is in production, who approved it and which data produced it. The registry turns those answers into queryable records.

How a model registry organizes models and versions

A model registry organizes artifacts as registered models with immutable numbered versions. A registered model is a logical name, such as a fraud classifier, while each version points to one concrete artifact: serialized weights, a container image or an exported graph in a format such as ONNX, SavedModel or safetensors.

The registry rarely stores large binaries itself. It usually keeps metadata in a database and the artifact bytes in object storage, linking the two through a URI and a content hash. The hash matters: it guarantees that the file loaded by a serving system is byte-identical to the file that was evaluated, which prevents silent substitution.

The following table lists the core record types that a mature registry maintains and the question each one answers.

RecordTypical contentQuestion it answers
Model versionArtifact URI, hash, framework, sizeWhich exact file is this?
LineageTraining run ID, code commit, dataset snapshotHow was it produced?
Evaluation resultsMetrics on holdout and slice datasetsHow good is it, and for whom?
SignatureInput and output schema, data typesHow must it be called?
Stage or aliasStaging, production, archived, championWhere is it allowed to run?
Audit trailApprover, timestamp, change reasonWho decided, and why?
Core records kept by a model registry

Lifecycle stages and promotion workflows

The defining function of a registry is governed promotion: moving a version from candidate to production through explicit, recorded transitions. Older tools used fixed stages, while newer ones favor mutable aliases such as champion and challenger, which can be reassigned to any version without renaming anything.

Promotion is typically gated by automated checks plus human approval. A continuous integration job compares the candidate against the current production version on the same evaluation set, verifies latency and memory budgets, and only then requests sign-off from a model owner or a risk reviewer.

StagePurposeTypical gate to enter
RegisteredCandidate logged from a training runTraining job succeeded
StagingIntegration and load testingMetrics beat baseline on holdout data
ProductionServes live trafficApproval plus shadow or canary results
ArchivedRetained for audit and rollbackSuperseded or retired by owner
Typical lifecycle stages and their gates

Because versions are immutable and stages are pointers, rollback becomes a metadata change rather than a redeployment of old files. Reassigning the production alias to the previous version can restore service within minutes, provided the serving layer resolves aliases at load time.

A model registry is often confused with neighboring MLOps components because they share metadata. The distinction is one of responsibility: the registry governs which artifacts are approved, while other components store experiments, serve predictions or manage features.

ComponentPrimary responsibilityRelationship to the registry
Experiment trackerLogs every training run and its metricsFeeds selected runs into the registry
Artifact storeHolds raw files and binariesStores bytes the registry references
Feature storeServes consistent input featuresRegistry records which features a model expects
Model servingRuns inference on live requestsPulls approved versions from the registry
Container registryStores application imagesMay hold packaged models the registry points to
How a model registry differs from neighboring components

In large language model platforms, the registry also tracks fine-tuned adapters, quantized variants and prompt templates as versioned assets. A single base model may have dozens of derived versions produced by model compression or LoRA fine-tuning, and the registry links each one to its parent so that license and safety obligations propagate correctly.

Choosing and configuring a model registry

Selecting a registry depends mainly on team size, regulatory exposure and existing platform. Open-source options such as MLflow Model Registry suit teams that want portability, while managed registries in cloud ML platforms reduce operational work at the cost of tighter vendor coupling.

SituationRecommended approachReason
Small team, few modelsLightweight open-source registryLow overhead, easy migration later
Regulated industryRegistry with enforced approvals and retentionAudit evidence for model risk reviews
Many LLM variantsRegistry with lineage graphs and aliasesTracks adapters and quantized copies
Multi-cloud servingRegistry decoupled from any one cloudAvoids duplicate catalogs per provider
Decision guide for registry setup

Regardless of the product, a few settings deserve attention: require a signature and evaluation report before registration, enforce role-based permissions on promotion, and configure retention rules so archived versions remain available for the period required by internal policy or regulation.

Limitations and common mistakes

A registry only provides value when it is the single authoritative path to production. If engineers can still deploy models from local files or arbitrary buckets, the catalog drifts out of sync with reality and its audit trail loses meaning.

  • Registering without lineage: a version without a dataset snapshot and code commit cannot be reproduced or investigated after an incident.
  • Treating stages as approval: moving a pointer is not a review; gates must be enforced by policy, not by convention.
  • Storing secrets in metadata: credentials embedded in tags or descriptions leak to everyone with read access.
  • Ignoring serving-side caching: if inference servers cache models indefinitely, alias changes do not take effect and rollbacks silently fail.
  • Unbounded retention costs: large model weights accumulate quickly, so archival policies should move old versions to cheaper storage tiers.

The simple explanation

A model registry is like a library catalog for AI models. Every time a team trains a new model, it gets a numbered entry with notes on how it was made, how well it performed and who checked it.

When the company wants to use a model in a real product, it does not grab a random file. It picks the entry marked as approved. If the new model misbehaves, the team simply points back to the earlier entry. The key idea is that everyone knows exactly which model is running and why.

How it is used in practice

A mid-sized online lender retrains its credit risk model every month. Each training pipeline run registers a new version with the dataset snapshot ID, the code commit and metrics such as AUC of 0.81 and approval-rate parity across applicant groups. A compliance analyst reviews the evaluation report in the registry before the version can receive the production alias.

In one cycle, version 27 passed offline checks but showed a 4 percent rise in false declines during a two-week canary on 10 percent of traffic. The team reassigned the production alias back to version 26 in under ten minutes, without rebuilding any service. Months later, when a regulator asked which model had decided a specific application, the team answered from the registry audit trail in a single query, with the exact version, approver and training data on record.