TOP - ブログ - AIガバナンス - Deploy Isn’t Done: Detecting Drift and Degradation in Production AI

Deploy Isn’t Done: Detecting Drift and Degradation in Production AI

Your AI assistant launched six months ago. It passed the security review. The retrieval layer enforced access control. The answers were good, the demo went well, and the business signed off.

Nothing has crashed since. No alerts have fired. And yet, quietly, the system is no longer the system you shipped. The knowledge base it searches has absorbed thousands of new documents and lost others. The questions users ask have shifted toward topics that barely existed at launch. Some answers it gave confidently last week are now simply out of date, because the underlying facts changed. And if you rely on a hosted model, the model itself may have been updated by your vendor without notice.

This is drift: the slow divergence between the system you validated and the system that is actually running. It is the defining risk of Day 2, everything after go-live, and it is dangerous precisely because it is invisible. A crashed service pages an engineer. A degrading service just gives slightly worse answers to people who have no way of knowing they should have gotten better ones. Three concerns capture where teams get caught:

“It passed every review at launch, but we cannot prove it still performs the way it did.”

“The knowledge base has changed completely since go-live, and nobody re-validated retrieval.”

“Our model provider pushed an update. We found out from a user complaint, not a dashboard.”

This article covers the Day-2 problem: why production AI degrades even when the model never changes, how that degradation shows up, how to detect it before users do, and how to respond. As in earlier posts in this series, we close by mapping these practices to the obligations that now make them mandatory rather than optional, in particular Article 72 of the EU AI Act, whose high-risk-system obligations (Articles 9, 12–15, 26, 72, 73) become applicable from 2 August 2026, and which requires providers of high-risk systems to monitor performance throughout a system’s lifetime. That deadline falls just one month after this article’s publication, so the shift from good practice to legal requirement is imminent rather than hypothetical.


1. Why Production AI Drifts: Five Moving Parts, One Frozen Model

Machine-learning systems have always degraded over time. The research literature calls it concept drift and has studied it for decades. The classic picture is simple: a fixed model meets a slowly changing world, and predictions tuned for yesterday’s data get worse on today’s.

LLM systems break that picture in an important way. In most enterprise deployments the model’s weights are frozen, because you call a pinned API model or run a fixed checkpoint. So “the model” is not drifting in the classical sense. Instead, five other things move, often independently, and the most damaging ones are exactly those that traditional monitoring was never built to catch.

The five axes of drift. The three with a purple bar — corpus, world, vendor — never disturb the incoming question stream, so an input-only monitor cannot see them.

  1. Query drift. Users change. They ask about new products, new policies, new edge cases, in new phrasings and sometimes new languages. The mix of incoming questions moves away from what you tested.
  2. Corpus drift. Specific to retrieval and easy to miss. Even if every user asked the exact same question forever, your answers would still change, because the knowledge base behind the retrieval layer is constantly updated: documents added, deleted, reorganized, superseded.
  3. World drift. The question stays the same; the correct answer changes. “Who is our CFO?” “What is the current expense policy?” The model can be working perfectly and still be wrong, because the world moved and the index did not keep up.
  4. Vendor drift. If you use a hosted model, the provider can update it underneath you. This is not hypothetical: a widely cited Stanford and Berkeley study measured the same GPT-4 endpoint a few months apart and found accuracy on one math task fell from roughly 84% to about 51% between two 2023 versions, with no change on the user’s side.
  5. Pipeline drift. Your own team keeps changing things: a prompt tweak, a new chunking strategy, a swapped embedding model. Each change is reasonable alone; together they accumulate and interact.

The takeaway is structural. Classical drift is mostly one axis, data versus a fixed model. An LLM system has five, and three of them (corpus, world, vendor) never disturb the incoming question stream. A monitor that only watches inputs is blind to the most common causes of silent enterprise-AI decay.

2. What Degradation Actually Looks Like

Drift is abstract; the failures it causes are concrete, and they share one trait. They pass the demo and break in production without throwing an error. The monitoring literature’s founding observation is that ML systems tend to fail silently, so you have to deliberately engineer them to fail loudly.

  • Fluent and wrong. The most dangerous failure. The model still writes a confident, well-formed answer; it is just built on stale or mis-retrieved context. No error, no exception, no obvious tell.
  • Retrieval erosion. As the knowledge base grows, the same query starts surfacing slightly less relevant passages. No single answer looks broken; the aggregate is worse than launch.
  • Refusal creep. The assistant increasingly says “I could not find that” because retrieval is missing context it used to find. This one is a gift, because it is measurable.
  • Regression after a “small” change. A prompt edit improves one thing and silently breaks three others. Without a regression test, your users find out first.
  • Stale truth. Launch-correct answers are now out of date, and only someone who knows the current truth can tell.

The core asymmetry: a crash is loud and rare, but degradation is silent and continuous. The whole job of Day-2 monitoring is to turn a slow, invisible quality loss into a discrete alert, before your users absorb the cost.

3. How to Detect Drift: Three Layers

There is no single drift detector. A robust setup combines three layers, from cheap-and-noisy to expensive-and-authoritative. All three depend on one foundation: instrumenting every inference, logging the query, the retrieved context and its scores, the model and its version, the answer, and any user feedback. There is now an open standard for this telemetry, the OpenTelemetry GenAI conventions, worth adopting so your data is portable.

The three-layer detection stack over a shared telemetry bus: cheap tripwires up front, a quality verdict in the middle, a stable ground-truth anchor at the back.

3-1. Layer 1: input and embedding drift (cheap, early, noisy)

Watch the distribution of incoming questions, and of the chunks your retriever pulls, and test whether this week looks different from a reference period. In practice you compare the embeddings (the numeric vectors that represent text) using a statistical two-sample test. Common, well-understood options include a kernel test (MMD), a per-dimension distribution test (KS) with a correction for testing many dimensions, or the simple binned Population Stability Index (PSI), where a value above roughly 0.25 is a strong signal that something shifted.

Shift is not the same as harm. A Layer-1 alarm tells you the inputs moved, not that quality dropped. Treat it as a tripwire that tells you where to look. Quality gets decided in Layer 2.

3-2. Layer 2: online quality scoring (the workhorse)

Sample a slice of live traffic and have an LLM “judge” score each answer against a rubric. The RAG-evaluation research gives you the right dimensions to score: faithfulness (what fraction of the answer’s claims are actually supported by the retrieved context, which directly targets the fluent-and-wrong failure), answer relevance (does the answer address the question that was asked), and context precision and recall (did the retriever pull the right passages, and the ones it needed). The last pair separates retrieval failures from generation failures, which is essential when you are chasing root cause.

Track each as a number over time, and alert when it trends down. The point of using an LLM judge is that you can score live answers without writing a gold answer for every query, which is what makes continuous scoring affordable. Two honest caveats keep this credible. First, the judge is itself an LLM, so it can be biased and can drift too; pin the judge model and its prompt, and re-check it periodically against a small set of human-labelled examples so your ruler is not silently changing length. Second, sample enough that the trend is statistically real rather than noise.

3-3. Layer 3: golden-set regression (the anchor)

Maintain a curated, versioned set of representative questions with known-good expectations, and run it on a schedule and in CI before any change ships. This is the stable baseline the noisy live signals are measured against, and the gate that catches the “small change broke three things” failure. When the world genuinely changes, you update the golden set deliberately, and that update is itself an auditable event.

Alongside these, watch the cheap operational indicators you already have: retrieval scores, refusal and fallback rates, citations per answer, tool-call errors, latency, and thumbs-down feedback. None is a verdict on its own, but together they form an early-warning surface. And rather than alarm on every dip, smooth the stream and alert only when the smoothed value crosses a statistically derived limit, the same control-chart idea (EWMA or CUSUM) that factories have used for decades to catch a process slowly going out of spec.

4. How to Respond: Deploy Safely, Roll Back Fast

Detecting drift only helps if you can act without making things worse. Borrow the discipline mature software teams already use, adapted for AI.

Shadow runs a candidate on real traffic with zero user impact; canary exposes a small slice under watch, then results are compared before promotion or rollback.

  • Pin versions, and test vendor updates before they reach users. Because hosted models can change underneath you, pin to a specific version and treat a vendor’s new release as a change to be tested, not a default to accept. Run it in shadow first.
  • Use progressive, reversible deployments. Shadow (run alongside, show nothing), then canary (a small percentage), then full rollout, and keep the previous version one switch away. Fast rollback is your primary safety net; everything else buys time to use it calmly.
  • Make refresh trigger-based, not calendar-based. Re-index, re-embed, or swap a model when a monitoring signal says so, not on an arbitrary quarterly schedule that is too slow when something breaks and pointless when nothing has.
  • Write an AI incident runbook. Severity levels, who gets paged, the rollback path, and a root-cause checklist that walks the five drift axes. Wire in the reporting obligation: under the EU AI Act, a serious incident must be reported within defined windows, as a rule within 15 days, shorter for the most severe cases.

5. One Catch: Monitoring Is Itself a Data Risk

Day-2 monitoring quietly reopens the data-protection problem the retrieval-security post in this series worked to close. The moment you start logging prompts, retrieved context and outputs, and sampling them through an LLM judge, you have created a second copy of sensitive data, often under weaker controls than the source system; and if the judge is a third-party model, that data may leave your boundary. Two of your launch-day controls also drift: permissions go stale as people change roles, and redaction rules miss new document formats as they arrive. After go-live, model quality is not the only thing that decays, so does your access control. Monitor all three.

6. What the Rules Now Require

These practices are no longer just good hygiene. Continuing the mapping from earlier posts, they line up with specific obligations under the EU AI Act and recommendations in Japan’s AI Business Operator Guidelines v1.2. The anchor is Article 72, which requires providers of high-risk systems to run a documented post-market monitoring system that collects and analyses performance data across the system’s lifetime.

Control EU AI Act (high-risk systems) AI Guidelines for Business v1.2
Continuous post-deployment monitoring Art. 72 (Post-market monitoring) Recommended ongoing-review practices for Provider and User roles
Maintaining accuracy & robustness over time Art. 15 (Accuracy, robustness, cybersecurity) Recommended technical-robustness practices for Provider role
Logging inferences to enable monitoring Art. 12 (Record-keeping); Art. 26 (Deployer logs, min. six months) Recommended transparency and accountability practices across all three roles
Detecting and reporting serious failures Art. 73 (Serious-incident reporting) Recommended incident-response practices for Provider role
Corrective action on detection Art. 20 (Corrective actions by providers) Recommended governance practices across Developer and Provider roles

Note: The EU AI Act is a legally binding regulation. Japan’s AI Guidelines for Business is a voluntary, non-binding guideline that businesses are encouraged, but not legally required, to follow.

The mapping is illustrative, not exhaustive, but the direction is unambiguous. A system you can monitor, in which you can detect degradation and act on it, has moved from good practice to a baseline expectation for passing compliance review. This article is provided for general information and does not constitute legal advice; consult qualified counsel to confirm current obligations and applicable deadlines for your jurisdiction and system classification.

7. A Practical Order of Work

  1. Baseline before you monitor. Define a versioned golden test set and the metrics you care about as early as possible. You cannot detect regression against a baseline you never captured.
  2. Instrument every inference. Capture query, retrieved context and scores, model and version, answer, and feedback. Everything else stands on this.
  3. Stand up offline regression in CI. Run the golden set automatically and block changes that regress it.
  4. Add online judge sampling. Score a slice of live traffic on faithfulness, relevance and context precision/recall; build dashboards and alerts.
  5. Add input-drift tripwires. Cheap early warning that tells you when to look.
  6. Pin versions and add shadow, canary and rollback. Make every change reversible and every vendor update testable.
  7. Write the AI incident runbook and wire in the serious-incident reporting path.
  8. Make refresh trigger-based and keep the golden set current, logging each update.

None of this needs exotic technology. It applies the operational discipline organizations already use for other production systems to the parts of the AI pipeline where it has usually been skipped.


Summary

  • Production AI degrades after launch even when the model is frozen, because five things drift independently: the questions, the corpus, the truth in the world, the hosted model, and your own changes.
  • The most dangerous failures are silent: fluent, confident, wrong. Day-2 monitoring exists to make them loud.
  • Detect in three layers: cheap input-drift tripwires, online quality scoring with an LLM judge, and a versioned golden-set regression anchor, all built on per-inference logging.
  • Respond with pinned versions, shadow and canary deployments, fast rollback, trigger-based refresh, and an AI-specific incident runbook.
  • These controls map to binding obligations under EU AI Act Article 72 and related articles, to recommended practices in Japan’s AI Business Operator Guidelines v1.2, and to the voluntary NIST AI RMF. Post-launch monitoring is now part of what it means to run an enterprise AI system that can pass an EU AI Act compliance review and align with Japanese and NIST guidance.

This is the fourth article in our series on building AI systems ready for enterprise deployment. Earlier articles covered the five failure patterns and securing the retrieval layer; the next will continue with the production defenses these systems depend on.


REFERENCES

  • Gama, Žliobaitė, Bifet, Pechenizkiy & Bouchachia, “A Survey on Concept Drift Adaptation” (ACM Computing Surveys, 2014). dl.acm.org/doi/10.1145/2523813
  • Lu et al., “Learning under Concept Drift: A Review” (IEEE TKDE, 2019). arxiv.org/abs/2004.05785
  • Chen, Zaharia & Zou, “How Is ChatGPT’s Behavior Changing over Time?” (2023). arxiv.org/abs/2307.09009
  • Rabanser, Günnemann & Lipton, “Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shift” (NeurIPS, 2019). arxiv.org/abs/1810.11953
  • Es, James, Espinosa-Anke & Schockaert, “RAGAS: Automated Evaluation of Retrieval Augmented Generation” (EACL, 2024). aclanthology.org/2024.eacl-demo.16
  • Gu et al., “A Survey on LLM-as-a-Judge” (2024). arxiv.org/abs/2411.15594
  • European Union, Regulation (EU) 2024/1689 on Artificial Intelligence (AI Act), Articles 12, 15, 20, 26, 72, 73.
  • Ministry of Economy, Trade and Industry & Ministry of Internal Affairs and Communications, AI Business Operator Guidelines v1.2 (March 2026).
  • NIST, AI Risk Management Framework (AI RMF 1.0).

 

Blog

その他の投稿
2026.06.29 AIセキュリティ

Securing the Retrieval Layer: Why AI Assistants Leak Data, and How to Build Access Control That Holds

2026.06.12 AIセキュリティ

The Great Responsibility With the Power of AI: How Security Risks Like Prompt Injection Are the Newest Threat

2026.06.01 AIガバナンス

Why Enterprise AI Projects Fail Security Review: Five Patterns and the New Regulatory Stakes