InlockGoverned & cited answersWorkspace-first

AI Model Versioning & Reproducibility in the Enterprise

The organisations that invest in these disciplines now will be the ones that can answer confidently when the auditor asks: "Can you show me exactly which model made that decision, and prove it hasn't changed since?"

·11 min read
Audit & provenancePrivate AI deploymentOn-premise LLM

Inlock focus

Inlock AI's private deployment model ensures enterprises run pinned, auditable model versions on their own infrastructure—eliminating silent upstream changes that break compliance guarantees. Every inference is traceable to an exact model artifact, giving CISOs and auditors the provenance chain they need.

AI Model Versioning & Reproducibility in the Enterprise

When a bank's credit-scoring algorithm quietly changes overnight because a cloud vendor pushed an update, and the next morning the model produces systematically different decisions than it did the day before—who is accountable? When a healthcare system's diagnostic assistant starts behaving differently three weeks after go-live because the underlying foundation model was silently retrained, which version is the one the clinical team validated? These are not hypothetical edge cases. They are the operational reality for any enterprise that relies on externally hosted, continuously updated AI models.

Model versioning and reproducibility have long been cornerstones of traditional software engineering. In the world of large language models and enterprise AI, these disciplines are still catching up—and the gap has serious consequences for compliance, trust, and business continuity.

Why Model Reproducibility Is Harder Than Software Reproducibility

In classical software development, a version number maps deterministically to a specific binary. Given the same inputs, a versioned binary produces the same outputs. Reproducibility is essentially free once you have a proper artifact store.

LLMs break this assumption in at least four distinct ways:

1. Non-deterministic inference. Even when running the exact same model weights with the same input, temperature sampling introduces inherent randomness. Reproducibility in LLMs must therefore be understood probabilistically—same weights, same seed, same configuration—rather than as an absolute guarantee.

2. Silent model updates by vendors. Cloud AI providers—OpenAI, Anthropic, Google, Mistral, and others—routinely update their hosted models without publishing breaking-change notifications. A model labelled gpt-4o today is not guaranteed to be identical to gpt-4o six months from now. Version aliases are marketing labels, not immutable artifact pointers.

3. Context-window and tokenisation changes. Vendors sometimes update tokenisers, system prompt handling, or context windows as part of routine maintenance. These changes can materially alter output distributions even if the underlying weights are unchanged.

4. Dependency drift in the inference stack. The model is only one layer. Quantisation settings, runtime libraries (vLLM, TGI, llama.cpp), CUDA drivers, and hardware generations all affect numerical outputs. Two deployments of the same weights on different hardware can produce subtly different probability distributions.

Understanding these four failure modes is prerequisite to designing a robust versioning strategy.

The Regulatory Stakes

Reproducibility is not merely a developer-convenience concern. Across the most significant enterprise regulatory frameworks, it has direct compliance implications.

GDPR Article 22 requires that automated decisions affecting individuals can be explained. If the model that made a decision no longer exists in a retrievable, runnable state, explanation is impossible.

EU AI Act (High-Risk Systems) mandates logging, record-keeping, and the ability to reconstruct AI system behaviour for post-hoc review. Article 12 specifically requires that high-risk AI systems be designed to enable automatic logging of events throughout their lifetime.

DORA (Digital Operational Resilience Act) for financial entities requires ICT risk management to encompass third-party dependencies. A cloud-hosted model that can change silently is an unmanaged third-party dependency by any reasonable interpretation.

ISO 42001 (the emerging AI management system standard) calls for documented controls over AI system changes, including model updates, which implies versioning controls are a required component of a conformant management system.

SOC 2 Type II audits increasingly include AI system controls. Auditors are beginning to ask: can you demonstrate that the model in production today is the model you tested and approved?

Core Components of an Enterprise Model Versioning Strategy

1. Immutable Model Artifact Stores

Every model used in production must be stored as an immutable, content-addressed artifact. Content addressing—where the artifact's identifier is a cryptographic hash of its content—guarantees that two artifacts with the same identifier are bit-for-bit identical.

Tools like MLflow Model Registry, DVC (Data Version Control), or purpose-built model registries (Weights & Biases, Hugging Face Hub with access controls) can serve this function. The critical requirement is immutability: once an artifact is registered under a given identifier, it cannot be overwritten.

For organisations running their own model infrastructure, this means storing model weights, quantisation configurations, tokeniser files, and system prompt templates together as a versioned bundle—not just the raw weights file.

2. Pinned Dependency Manifests

Because the inference stack contributes to output behaviour, versioning must extend beyond model weights. A reproducible deployment manifest should specify:

  • •Model weights SHA-256 hash
  • •Inference runtime and version (e.g., vllm==0.4.2)
  • •CUDA / ROCm version
  • •Quantisation method and parameters (e.g., GPTQ 4-bit, group size 128)
  • •Tokeniser version and configuration
  • •System prompt version (with its own hash)
  • •Sampling parameters (temperature, top-p, repetition penalty)

This manifest functions as the AI equivalent of a software lock file (package-lock.json, Pipfile.lock). Reproducing any historical inference requires instantiating the exact manifest that was active at the time of that inference.

3. Inference-Time Provenance Logging

Every inference event—whether batch or real-time—should be logged with a provenance record that links the output to the manifest that produced it. A minimal provenance record contains:

{
  "inference_id": "uuid",
  "timestamp_utc": "ISO-8601",
  "manifest_id": "sha256:...",
  "model_artifact_id": "sha256:...",
  "input_hash": "sha256:...",
  "output_hash": "sha256:...",
  "sampling_seed": 42,
  "user_context_id": "anonymised-or-pseudonymised",
  "application_id": "loan-decisioning-v3"
}

This record does not need to store the full input and output (which may contain personal data subject to retention limits). It needs to store enough to reconstruct which model produced which class of output, and to retrieve the full input/output from a separate, appropriately secured store if legally required.

4. Promotion Gates and Change Management

Model updates should flow through a formal promotion pipeline—not be applied directly to production. A well-designed pipeline includes:

  • •Staging environment with identical infrastructure to production
  • •Regression test suite covering known edge cases, bias metrics, and output distribution benchmarks
  • •Human review gate for high-risk applications (lending, healthcare, legal)
  • •Signed approval record capturing who approved the promotion, when, and against which test results
  • •Canary deployment with traffic splitting before full rollout

Each step generates artefacts that become part of the audit trail. The entire pipeline is itself versioned, so future auditors can understand not just what model was deployed, but what tests were required to deploy it.

5. Rollback Capability

A versioning strategy without rollback capability is incomplete. Enterprises must be able to:

  • •Redeploy any previously approved model manifest within a defined RTO (Recovery Time Objective)
  • •Re-serve historical inferences using the model version active at the time of the original request
  • •Quarantine and deactivate a model version without disrupting the broader AI platform

For on-premise deployments, this means maintaining artifact storage with sufficient capacity to retain multiple generations of models. For regulated industries, retention periods should align with the longest applicable regulatory record-keeping requirement—often five to seven years in financial services.

Anti-Patterns to Avoid

Using vendor model aliases in production. Calling gpt-4-turbo or claude-3-opus in production without version pinning is the AI equivalent of pip install mypackage without specifying a version. The behaviour you validated is not the behaviour you are guaranteed to get.

Treating the model as a black-box service. When a model is a third-party API call, you inherit all of the vendor's versioning decisions—or lack thereof. This is an acceptable tradeoff only if your risk assessment confirms the use case is not high-risk under applicable regulations.

Conflating experiment tracking with production versioning. MLflow or W&B experiments are valuable during model development, but they are not, by default, production-grade artifact stores with immutability guarantees. Enterprises often need a separate, hardened registry for production artifacts.

Ignoring prompt versioning. For RAG-augmented or instruction-following LLMs, the system prompt is part of the model's effective behaviour. A change to the system prompt without versioning is a de facto model change that bypasses all your controls.

Operationalising Reproducibility: A Practical Roadmap

Phase 1 (Months 1-2): Audit current state. Catalogue all models in production, identify which use version-pinned artifacts versus vendor aliases, and assess which applications are subject to high-risk regulatory requirements.

Phase 2 (Months 2-4): Establish the artifact store. Deploy a content-addressed model registry. Migrate existing production models to immutable, hash-identified artifacts. Implement manifest files for all production deployments.

Phase 3 (Months 3-6): Instrument provenance logging. Add inference-time provenance logging to all production AI endpoints. Integrate logs with your existing SIEM or audit log infrastructure.

Phase 4 (Months 5-8): Implement promotion gates. Build or adopt a CI/CD pipeline for model promotion. Define regression test suites. Establish change advisory board (CAB) processes for high-risk model changes.

Phase 5 (Ongoing): Governance and reporting. Produce regular model inventory reports for the CISO and compliance teams. Include model version stability and change frequency as metrics in your AI risk dashboard.

The On-Premise Advantage

All of the above is significantly more tractable when the model runs on infrastructure you control. With cloud-hosted models, you are permanently at the mercy of vendor update cadences, deprecation schedules, and SLA interpretations of what constitutes a "breaking change."

When your model runs on-premise or in a private cloud under your operational control, you decide when updates happen. You can pin indefinitely. You can maintain parallel versions. You can satisfy a regulator's demand to "run the model that made this decision eighteen months ago" by literally running it—because you have the artifact, the manifest, and the infrastructure to execute it.

This is not a theoretical advantage. Regulated enterprises facing GDPR Article 22 challenges, EU AI Act audits, or DORA third-party risk assessments have already discovered that cloud AI vendor contracts do not provide the model immutability guarantees that regulations implicitly require.

Conclusion

Model versioning and reproducibility are not DevOps niceties—they are foundational controls for any enterprise deploying AI in regulated or high-stakes contexts. The combination of non-deterministic inference, silent vendor updates, and complex inference stack dependencies makes AI harder to version than traditional software, but not impossible. With immutable artifact stores, pinned dependency manifests, inference-time provenance logging, and formal promotion gates, enterprises can achieve the kind of traceable, auditable AI behaviour that regulators, auditors, and risk committees increasingly expect.

The organisations that invest in these disciplines now will be the ones that can answer confidently when the auditor asks: "Can you show me exactly which model made that decision, and prove it hasn't changed since?"

Next step

Check workspace readiness

Validate connectors, RBAC, and data coverage before piloting Inlock's RAG templates and draft review flows.