Ressources
Retour

Join the AI + Data Tour for hands-on training, real customer stories, and time with Domo product experts near you.

Register now
À propos
Retour
Récompenses
Recognized as a Leader for
34 consecutive quarters
Leader du printemps 2025 en matière de BI intégrée, de plateformes d'analyse, de veille économique et d'outils ELT
Tarifs

Machine Learning Model Monitoring: Metrics, Challenges, and How to Get Started

3
min read
Monday, August 10, 2026
Table of contents
Carrot arrow icon

Machine learning model monitoring tracks performance, data quality, and system health after deployment to detect silent degradation that traditional software monitoring misses. This guide covers the three functional layers to monitor, how to detect data and concept drift using statistical tests, and practical strategies for building response playbooks that connect alerts to action.

Key takeaways

Here are the main points to remember:

  • ML model monitoring tracks model performance, data quality, and system health after deployment to catch degradation before it impacts business outcomes
  • Monitor three functional layers (input data, model behavior, predictions) plus operational elements (system performance, pipelines, cost)
  • Data drift and concept drift are silent killers. Models keep running even when predictions become unreliable, requiring statistical tests like Population Stability Index (PSI) and Kolmogorov-Smirnov (KS) to detect distribution shifts
  • Effective monitoring requires clear ownership, defined metric thresholds with anti-noise controls, and automated alerting tied to business KPIs
  • Start simple with specific objectives, establish baselines from training data, and build response playbooks before scaling monitoring complexity

What is ML model monitoring?

Machine learning model monitoring is the continuous process of tracking model performance, data quality, and system health after deployment to production. Unlike traditional software that either works or throws errors, ML models can silently degrade. They produce outputs that look valid but have become unreliable. Continuous monitoring catches this degradation before it impacts business outcomes.

Your company has invested the time and money to build, train, test, and deploy your machine learning models, so you may think the hard work is over. Not quite. If you're not routinely monitoring your models once deployed, they could be prone to bias, drift, corrupt data, or decay, which can cause serious problems and poor predictions.

Machine learning is a type of artificial intelligence that detects patterns and makes predictions by processing large, complex volumes of data, including historical data and human inputs, using models. ML models are more vital than ever before. Companies now generate data that is too vast for humans to process and use efficiently. Companies across many industries are investing heavily in ML models to power predictive analytics, analyzing medical imaging, forecasting stocks, personalizing marketing campaigns, and making informed business decisions.

Using ML models isn't without risk. Models aren't infallible and can generate incorrect predictions. Data sets used in the process may overrepresent or under-weigh certain populations, producing bias in your results. And since the models learn and adapt through new experiences and data over time, you run the risk of decay and drift. Monitoring ML models throughout their lifecycle is essential to mitigate these risks.

How ML monitoring differs from software monitoring, observability, and experiment tracking

Traditional software monitoring tracks whether code executes correctly. Did the function run? Did the application programming interface (API) respond? Did the server stay up? ML model monitoring goes further because models can technically "work" while producing terrible results. A model will happily process corrupted input data and return predictions without throwing a single error.

Model observability is the broader capability that encompasses monitoring. While monitoring answers "is something wrong?", observability helps you understand "why is something wrong?" Think of monitoring as the smoke detector and observability as the investigation that follows when the alarm sounds. Observability requires richer instrumentation: logging not just metrics but feature values, prediction confidence scores, and model metadata that enable root-cause analysis.

Experiment tracking focuses on the development phase, comparing different model versions, hyperparameters, and training runs before deployment. Once a model hits production, monitoring takes over to ensure it continues performing as it did during testing. The handoff between experiment tracking and production monitoring is where many teams stumble, often because the metrics tracked during development don't translate cleanly to production health indicators.

Why ML model monitoring matters

Since ML models can degrade or break, continually monitoring and evaluating them as they operate is necessary. If you rely on one-time monitoring at model deployment, you could miss critical issues that negatively impact operations. Assessing the model in a live environment allows your team to understand its performance in real time, rather than rely on outdated findings. You'll be able to identify and resolve problems quickly, reducing the risk of unexpected predictions.

Monitoring models also offers businesses advantages beyond analyzing model performance. ML monitoring can detect changes and alert you when specific complications occur, like a drop in accuracy, data drift, or a corrupt feature. It can even pinpoint the primary source of an issue, letting you focus your resources on fixing it.

The ongoing monitoring of machine learning models in production also helps you gain insight into how people interact with your models. You'll receive important feedback, which is essential for continuously refining your ML model.

Machine learning monitoring also offers greater visibility so that your team (from data scientists to product managers, executives, and other stakeholders) has a clearer view of the model's risks and performance. They can easily compare models, identify underperforming segments, and see if the models positively or negatively impact their business.

Understanding drift: the core monitoring challenge

Drift is the primary reason ML models degrade in production. Understanding the different types of drift, and how to detect each, separates effective monitoring from checkbox compliance.

Data drift (covariate shift)

Data drift occurs when the statistical distribution of input features changes from what the model saw during training. The relationship between inputs and outputs may remain the same, but the inputs themselves look different. A fraud detection model trained on transaction patterns from 2023 might see entirely different spending behaviors in 2026 as consumer habits shift.

Detection approaches vary by data type. For numeric features, the Kolmogorov-Smirnov (KS) test compares cumulative distributions between your training baseline and production data. Population Stability Index (PSI) quantifies how much a distribution has shifted, with values above 0.2 typically indicating significant drift requiring investigation. For categorical features, chi-square tests or Jensen-Shannon divergence measure changes in category frequencies.

Concept drift

Concept drift is more insidious. The relationship between inputs and outputs changes, even if the input distributions stay stable. A customer churn model might see the same demographic patterns but find that the factors predicting churn have fundamentally shifted (perhaps because a competitor entered the market or pricing changed).

Detecting concept drift requires ground truth labels, which creates a timing problem. By the time you have enough labeled outcomes to confirm concept drift, the model may have been making poor predictions for weeks. This is why monitoring prediction distributions and proxy metrics matters.

Prediction drift

Prediction drift monitors the model's output distribution rather than inputs or outcomes. If your model suddenly starts predicting a different mix of classes or scores than historical patterns suggest, something has changed, even if you can't yet determine whether it's data drift, concept drift, or a pipeline bug.

Prediction drift monitoring is particularly valuable when labels are delayed. A credit risk model might not know for 12 months whether a loan defaulted, but it can detect within days if the distribution of risk scores has shifted dramatically.

Setting drift detection thresholds

Running the statistical tests isn't the hard part. Setting thresholds that balance sensitivity against alert fatigue? That's where teams struggle. A few principles help:

  • Start with baseline variability: Before setting thresholds, measure how much natural variation exists in your metrics during periods of known-good performance. Your threshold should exceed this baseline noise.
  • Consider business impact: A five percent shift in a low-stakes recommendation model might not warrant investigation, while the same shift in a medical diagnosis model demands immediate attention. Tie thresholds to the cost of wrong predictions.
  • Use hysteresis to prevent flapping: Rather than alerting when a metric crosses a threshold once, require it to stay above the threshold for a sustained period or across multiple measurement windows.
  • Apply minimum sample sizes: Statistical tests become unreliable with small samples. Ensure you've accumulated enough production data before trusting drift calculations, typically hundreds to thousands of observations depending on the test and feature cardinality.

Statistical rigor in drift detection

Naming drift metrics is easy. Using them correctly is harder. Some resources list PSI, KS tests, and Jensen-Shannon divergence without explaining how to interpret results, set thresholds, or avoid false positives when monitoring dozens of features simultaneously.

Choosing the right statistical test

Different tests suit different data types and use cases. The following table provides guidance on when to use each approach:

MetricBest ForThreshold GuidanceTrade-offs
PSI (Population Stability Index)Categorical or binned numerical features0.1-0.2 moderate drift, >0.2 severeInterpretable and widely used, but requires binning decisions that affect sensitivity
KS Test (Kolmogorov-Smirnov)Continuous numerical distributionsp-value <0.05 indicates significant differenceNon-parametric and distribution-agnostic, but sensitive to sample size
Jensen-Shannon DivergenceProbability distributions0.1-0.3 moderate, >0.3 severeSymmetric and bounded, but less intuitive to interpret than PSI
Chi-Square TestCategorical featuresp-value <0.05Standard and well-understood, but assumes category independence

Worked example: calculating PSI

Consider a credit scoring model with an "age" feature. To calculate PSI, follow these steps:

  1. Bin training data into deciles (10 equal-sized buckets based on training distribution)
  2. Bin production data using the same bucket boundaries
  3. Calculate the percentage of observations in each bucket for both distributions
  4. Apply the PSI formula: PSI = Σ (production% - training%) × ln(production% / training%)

If your training data had 12 percent of customers in the 25-30 age bucket but production data shows 18 percent, that bucket contributes to the overall PSI score. A total PSI of 0.15 indicates moderate drift worth investigating, while 0.25 suggests significant distribution shift requiring action. One of the most frequent mistakes is this: using different bin boundaries for training and production data, which invalidates the comparison entirely.

Managing false positives across many features

When monitoring 50 or 100 features, statistical noise guarantees some will trigger alerts even when nothing is wrong. At a 0.05 significance level, you'd expect five false positives per 100 features tested. Mathematical certainty. Teams often overlook this when setting up monitoring for the first time.

Two approaches help control false alert rates:

  • Bonferroni correction: Divide your significance threshold by the number of features tested. For 100 features at α=0.05, use α=0.0005 per feature. This is conservative but prevents alert fatigue.
  • Benjamini-Hochberg procedure: Controls the false discovery rate rather than the family-wise error rate. More statistically powerful than Bonferroni while still limiting spurious alerts.

Handling seasonality

Drift detection can trigger false alarms when comparing current data against a baseline that doesn't account for expected seasonal patterns. A retail model will naturally see different purchase patterns in December versus July.

Use rolling baselines that compare current periods to the same period in previous cycles: this week versus the same week last year, or this month versus the same month last quarter. Alternatively, detrend your data before applying drift tests by removing known seasonal components.

The goal is distinguishing unexpected drift from expected variation. Aim for one to two actionable alerts per week per model.

Common challenges in ML model monitoring

While monitoring your ML models is vital for their effectiveness, it can be difficult. You can't rely on the same monitoring methods used for tracking the health of your existing software systems. ML models share some of the same challenges as traditional software, such as technical debt, but also have their own potential issues that require a separate field of monitoring.

ML model monitoring centers around specific model and data quality metrics, and computing and monitoring these metrics differ. The following challenges commonly arise:

  • Silent errors: ML models will keep working if they can process the incoming data inputs, even if the data is biased, incorrect, or unreliable. If this happens, your model will produce low-quality predictions without alerting you to any problems. This doesn't happen with software systems, so your data team must be aware of this issue and proactively ensure data quality.
  • Entanglements: Even small changes to your input data can affect your models' target function and predictions, so carefully test your coding.
  • Delays in feedback: You can't always measure a model's performance in real time because of delays in data inputs and outputs. You may need to run two monitoring loops: one using estimates for real-time feedback and a delayed loop that runs once your hard data is in.
  • Ownership in production: There may be confusion about which department is responsible for the model once it's in production. Have a plan in place so your data scientists, engineers, or developers understand their responsibilities in the monitoring process.
  • Stakeholder involvement: Their expertise or insights can improve your model's effectiveness and reduce risk. However, their involvement complicates the monitoring process, so you'll want to define clear guidelines to follow.
  • Quality is relative: Your model's performance is subjective, and there is not a specific threshold to hit for your prediction to be accurate. An accuracy rate of 85 percent might be great for one model, while it indicates data quality problems in another. Your organization will not be able to use one set of performance metrics; you will have to adjust your approach based on each model.

The label delay problem

One challenge deserves special attention: delayed ground truth. Many production ML systems can't measure true model performance for days, weeks, or months after predictions are made. A loan default model won't know if its prediction was correct until the loan matures or defaults. A customer lifetime value model might need years of data to validate.

This creates a monitoring gap where you're flying blind on actual performance. Several strategies help bridge this gap:

  • Proxy metrics: These provide earlier feedback signals that correlate with eventual outcomes. For a churn model, early engagement drops might predict eventual churn before the customer actually leaves.
  • Leading indicators: Track intermediate outcomes. Did the customer open the personalized email? Did they click through? These don't prove the final prediction was correct, but they validate that the model's inputs are producing expected intermediate behaviors.
  • Shadow evaluation: Run new model versions alongside production models, comparing their predictions without serving the new model's outputs. When labels eventually arrive, you can evaluate both models on the same data.
  • Label freshness dashboards: Track what percentage of recent predictions have received ground truth labels and how old your most recent labeled data is. This visibility helps you understand how much you're relying on proxy metrics versus confirmed performance.

Monitoring under delayed and partial labels

Label delay isn't an edge case. It's the norm for many production ML systems. Fraud detection models wait 30-90 days for chargebacks. Churn models need 30-60 days to confirm whether a customer actually left. Loan default models might wait 12-36 months for outcomes. Treating label delay as a first-class monitoring problem, rather than an inconvenience, separates mature ML operations from teams flying blind.

Designing for delayed feedback

The following table maps common use cases to their typical label delays and monitoring strategies:

Use CaseLabel DelayProxy MetricsDelayed Evaluation Strategy
Fraud Detection30-90 daysTransaction reversal rate, customer complaints, dispute volumeJoin predictions with fraud labels quarterly, backfill metrics
Churn Prediction30-60 daysSupport ticket volume, usage drops, feature adoption declineJoin predictions with churn events monthly, A/B test interventions
Loan Default12-36 monthsEarly payment delinquency, credit score changes, payment pattern shiftsShadow evaluation with historical cohorts, annual model refresh
Customer Lifetime Value12-24 monthsEarly purchase frequency, average order value trendsCohort-based validation, rolling 90-day proxy metrics

Choosing effective proxy metrics

The best proxy metrics share three characteristics: they're available quickly, they correlate strongly with eventual outcomes, and they're stable enough to monitor reliably.

For a recommendation model, click-through rate is available immediately while purchase rate might take days or weeks. If click-through correlates with eventual purchases (validate this periodically), it serves as a useful proxy. But proxies can mislead. A model might optimize for clicks while degrading actual purchase behavior. Periodically validate that your proxy metrics still predict ground truth outcomes.

Shadow evaluation patterns

Shadow evaluation runs a candidate model alongside production without serving its predictions to people. Both models score the same inputs, and you log both sets of predictions. When labels eventually arrive, you evaluate both models on identical data.

This approach is particularly valuable for high-stakes models where you can't afford to learn from production mistakes.

Avoiding feedback loop bias

When model predictions influence which examples get labeled, your labels become biased. If a fraud model flags transactions for manual review, and only flagged transactions get labeled as fraud or not-fraud, you're only measuring performance on the subset the model already suspected.

Counterfactual logging addresses this by randomly labeling some examples the model didn't flag. For fraud detection, randomly sample one to five percent of low-risk transactions for manual review. This creates an unbiased evaluation set that reveals how the model performs on cases it would otherwise miss.

Design label pipelines early in your ML pipeline architecture. Instrument logging with unique prediction IDs, define join keys for connecting predictions to outcomes, and plan your backfill cadence before deployment.

What to monitor in ML models

Two key areas should anchor your ML model monitoring: functional-level monitoring and operational-level monitoring. Each addresses different aspects of model health and performance.

Functional-level monitoring

You'll want to monitor three factors that impact the functionality of your ML models: your input data, your model, and the outputs or predictions your model makes. Monitoring this information ensures your model functions optimally and produces relevant, accurate results.

Input data monitoring

Model performance hinges on the input data it receives to run and make predictions. Monitoring input data is the foundational step for identifying and resolving functional-based issues before they impact your model's performance.

Key areas to track include:

  • Data quality: Data pipelines must be free of problems like missing values, mismatched formats, lost data, alterations to the source database, or range violations to ensure data integrity. You need to verify that your data types are equivalent and valid. If your model receives problematic data or data that it's not expecting, it can cause your model to break. Track specific metrics like null value rates, data type error rates, and out-of-bounds percentages to catch issues early.
  • Schema and contract violations: Monitor for unexpected changes in data structure, including new columns appearing, expected columns disappearing, data type changes, or cardinality shifts in categorical features. These often indicate upstream pipeline changes that weren't communicated to the ML team.
  • Data drift: The values or statistical properties of data can change or drift over time. This naturally happens as your business problems change and context or people's behavior shifts. Your team must monitor for drift between your training and production data to look for these changes and update models accordingly. Use PSI for numeric features and chi-square tests for categorical features, comparing against a stored baseline from training or a recent healthy period.
  • Feature freshness: Track when each feature was last updated. Stale features (where the data pipeline stopped refreshing but the model keeps running on old values) can silently degrade predictions without triggering obvious errors.

Model performance monitoring

Your ML model's business value is based on its overall performance. If you're not meeting a certain performance threshold, the model wastes your efforts and resources. Model monitoring is central to your machine learning system, helping you detect and fix issues so your model can meet your performance goals.

Evaluate your ML model for the following:

  • Model drift: Changes to the environment can cause model predictions to decay or drift with time, making them less effective. Your team can identify this issue by monitoring your model's predictive performance over time or conducting statistical testing. Kolmogorov-Smirnov (KS) test compares distributions from two data sets, in this case, the training data and the model data. A divergence between the data sets that is greater than the maximum allowed indicates drift in your model.
  • Model quality metrics: Track accuracy, precision, recall, and F1 scores, the harmonic mean of precision and recall, where relevant to your use case. These metrics help you understand not just whether predictions are correct, but the nature of errors your model makes. For regression models, monitor mean absolute error (MAE), root mean squared error (RMSE), and prediction intervals. For ranking models, track normalized discounted cumulative gain (NDCG) and mean reciprocal rank.
  • Versions: Track your model's version history and predictions to distinguish between older and updated versions of your model. Make sure you're using the correct version of your model in production to gain the best performance.
  • Bias and fairness: Monitor whether your model treats different population segments equitably. This includes checking for disparate impact across demographic groups and ensuring predictions do not systematically disadvantage certain populations. As AI governance requirements grow, bias monitoring is becoming essential rather than optional.
  • Segmented performance: Aggregate metrics can hide problems in specific slices of your data. Monitor performance across key segments: geographic regions, customer cohorts, device types, or any dimension relevant to your business. A model might maintain 90 percent overall accuracy while dropping to 60 percent for a specific customer segment. That 30-point gap could represent your most valuable customers or a protected class requiring immediate attention.

Prediction and output monitoring

Your ML model is built and put into production to solve a specific problem. Understanding your model's outputs, including predictions, in your production environment is key to rating its success and ensuring you meet business KPIs.

Consider monitoring:

  • Ground truth: This is the reality you want to model or the target you're using to validate your model. Measuring outputs against your ground truth labels lets you see if you've achieved your goal. For example, if your sales team uses an ML model to send personalized emails to leads, the prediction is whether they will click through to your website or not. The personalization and prediction are considered valid if the lead takes this action. In this scenario, comparing the outcome with your ground truth is easy.
  • Prediction drift: For scenarios where it's impossible to generate ground truth labels, predictions must be closely monitored for drift. Significant changes in the expected distribution of your predictions can indicate something has gone wrong and needs to be explored further. Track both the distribution of predicted classes or scores and threshold-crossing rates if your model uses decision thresholds.
  • Business KPI linkage: Connect model predictions to downstream business outcomes. A recommendation model's click-through rate matters, but revenue per session matters more.

Operational-level monitoring

This stage monitors the health of your machine learning system's resources across three operational elements: system performance metrics, pipelines, and cost. Operations engineers or your IT department typically monitor and correct any issues at this level.

System performance metrics

Staying informed on how your machine learning system's infrastructure performs and if it's in line with your entire software system is vital. Monitoring your model's system performance lets you learn if it's meeting requests quickly enough, if there are serving limitations, if it's using resources efficiently, and if it can meet requirements to scale.

For this, you'll want to track:

  • Metrics: Central processing unit (CPU) and graphics processing unit (GPU) use, total API calls, memory use, number of failed requests, and response time of the prediction service or model server are top metrics to help you measure your model's speed, latency, and performance within your application stack.
  • System reliability: The infrastructure needed to run your model, including which machines are running and the number of clusters running.

Pipeline health monitoring

Unhealthy pipelines can cause quality issues or leakage within your model, causing it to break. Monitoring the health of your model's most critical pipelines and detecting unexpected changes must be top priorities.

  • Data pipelines: Data must be tracked and evaluated at every step, starting from your input data sources. Are the data properly structured, complete, and valid? You'll also want to check input data against quality-based statistical metrics such as standard deviation, mean, correlation, or K-S test. Then, monitor your output data by checking if the schema or output file size is as expected. Checking that every workflow step in the process is as expected and in the right format and monitoring the time it takes to run tasks helps you detect problems and ensure data operations run smoothly.
  • Model pipelines: Consider monitoring any factor that may cause your model to break during production after you've completed any new training or redeployments. This includes validating the dependency version and logging model pipeline metadata so it's easier to find and debug if a failure occurs.
  • Training-serving skew: Monitor for discrepancies between how features are computed during training versus serving. This is a common source of silent model degradation. The model performs well in testing but poorly in production because feature engineering differs between environments.

Cost monitoring

While machine learning has the potential to generate significant value for your company, that does not mean you should downplay its costs. The entire machine learning system, from data storage and model training to deployment, retraining, and monitoring, is costly and requires your organization to take on additional tasks and responsibilities.

Monitoring the cost of your ML models helps you develop and stick to an appropriate budget. You can easily track vendor services, monitor system usage costs, or set alerts when you reach a budgetary threshold.

End-to-end monitoring architecture

Understanding what to monitor is necessary but not sufficient. Teams also need to understand how monitoring systems work: how data flows from production inference through metric computation to alerting and action.

Architecture components

A production ML monitoring system typically includes six stages:

  1. Production inference: Your model serves predictions, generating logs that capture input features, model version, prediction outputs, confidence scores, and timestamps. These logs are the raw material for all downstream monitoring.
  2. Log collection and storage: Prediction logs flow to a centralized store, often a data lake, feature store, or dedicated logging infrastructure. This stage handles ingestion, deduplication, and retention policies. For high-volume systems, sampling decisions happen here.
  3. Reference data: Baseline distributions from training data or a known-good production period provide comparison points for drift detection. Store these baselines alongside your model artifacts so they version together.
  4. Metric computation: A scheduled or streaming job computes monitoring metrics (drift scores, data quality checks, performance metrics where labels are available). This stage transforms raw logs into actionable signals.
  5. Alert engine: Computed metrics flow to an alerting system that evaluates thresholds, applies noise reduction (hysteresis, minimum sample sizes), and routes alerts to appropriate channels. Integration with existing incident management tools like PagerDuty, Slack, or email happens here.
  6. Triage and response: Alerts trigger investigation workflows. Dashboards provide drill-down capability for root cause analysis. Runbooks guide responders through diagnosis and remediation steps.

Ownership boundaries

Clear ownership prevents gaps where problems fall through the cracks. The following table maps typical responsibilities:

ComponentPrimary OwnerKey Responsibilities
Log collection infrastructureData EngineeringIngestion reliability, storage costs, retention policies
Feature computation and storageML EngineeringFeature parity between training and serving, freshness
Metric computation jobsMachine learning operations (MLOps)Job reliability, metric accuracy, baseline updates
Alert configuration and thresholdsData ScienceThreshold tuning, false positive management, metric selection
Incident responseShared (Data Science + MLOps)Triage, diagnosis, remediation decisions
Retraining decisionsData ScienceModel refresh cadence, performance criteria

Batch vs streaming monitoring

Choose your monitoring cadence based on model deployment patterns and acceptable detection latency.

Batch monitoring runs on a schedule (hourly, daily, or weekly) computing metrics over accumulated data. This approach suits models where predictions aren't time-critical and where label delay makes real-time performance monitoring impossible anyway. Batch monitoring is simpler to implement and cheaper to operate.

Streaming monitoring computes metrics continuously as predictions flow through the system. This approach suits high-stakes, high-velocity applications like fraud detection or real-time pricing where hours of degraded performance cause significant harm. Streaming monitoring requires more infrastructure investment but catches problems sooner.

Many teams use a hybrid approach: streaming monitoring for critical operational metrics (latency, error rates, prediction volume) combined with batch monitoring for statistical metrics that require larger sample sizes.

Responding to monitoring alerts: from detection to action

Detecting problems is only half the battle. Without clear response playbooks, alerts become noise that teams learn to ignore.

Triage: is this a model problem or a pipeline problem?

When an alert fires, the first question is whether you're dealing with a model issue or an upstream data problem. A decision tree helps route investigations efficiently.

Check data quality metrics first. If null rates spiked, schema changed, or feature freshness dropped, you likely have a pipeline problem rather than a model problem. Fix the data issue and verify the model recovers.

If data quality looks normal, check for drift. Feature drift without performance degradation might be acceptable. The model may tolerate the observed changes. Feature drift with performance degradation requires deeper investigation.

If neither data quality nor drift explains the alert, investigate the model itself. Has a recent deployment introduced bugs? Are there edge cases the model handles poorly that are now appearing more frequently?

Playbooks for common alert types

Rather than improvising responses, define playbooks for each alert category. The following examples provide starting points:

Data drift alert playbook: 1. Check upstream pipeline health, did a source system change? 2. Validate feature distributions using PSI or KS tests against baseline 3. Segment analysis, which cohorts or time periods show drift? 4. Decision point: If drift is localized and explainable (seasonal, known business change), update baseline. If drift is unexpected and widespread, trigger retraining evaluation.

Performance drop alert playbook: 1. Validate ground truth labels, are labels arriving correctly? 2. Check for label delay, is this a data freshness issue rather than model degradation? 3. Segment analysis, which slices are underperforming? 4. A/B test candidate model if retraining is warranted 5. Decision point: Rollback if degradation is severe, canary deploy if improvement is marginal, full deploy if new model clearly outperforms.

Data quality alert playbook: 1. Check upstream schema changes, did column types or names change? 2. Validate data types and ranges against contracts 3. Identify scope, how many predictions are affected? 4. Decision point: Reject affected predictions if quality is unrecoverable, impute if missing values are handleable, escalate to data engineering if source fix is required.

Severity tiers

Not all alerts require immediate action. Define severity tiers that match response urgency to business impact:

  • P0 (Critical): Model is producing harmful outputs or system is down. Response within minutes. Rollback immediately if needed.
  • P1 (High): Significant performance degradation detected. Response within 24 hours. Investigate and remediate.
  • P2 (Medium): Drift detected but performance impact unclear. Response within one week. Add to backlog for investigation.
  • P3 (Low): Minor anomalies or informational alerts. Review in next planning cycle.

Verification after remediation

After any fix, verify the remediation worked before closing the incident. Run the model through shadow evaluation or canary deployment. Monitor closely for the first few days with lower alert thresholds than normal operation.

Document the incident, root cause, and resolution. These records become invaluable for training new team members and identifying patterns across incidents.

Monitoring for large language models (LLMs) and generative AI

Large language models and generative AI systems introduce monitoring challenges that traditional ML metrics do not address. While classification and regression models have clear ground truth, LLM outputs are often evaluated on subjective dimensions like helpfulness, accuracy, and safety.

What makes LLM monitoring different

Traditional ML monitoring assumes you can compare predictions against labels. LLM outputs (paragraphs of text, code, or creative content) don't fit neatly into accuracy metrics. A response can be grammatically correct, factually wrong, and still rated helpful by people.

LLMs also exhibit failure modes that don't exist in traditional ML. Hallucinations generate confident-sounding but fabricated information. Prompt injection attacks manipulate model behavior through malicious inputs. Toxicity and bias can emerge unpredictably based on input phrasing.

Key metrics for LLM monitoring

Effective LLM monitoring tracks several dimensions. The following table summarizes the primary metrics:

MetricDefinitionDetection MethodExample Threshold
GroundednessPercentage of responses supported by retrieved contextLLM-as-judge or semantic similarity scoring<80% triggers review
FaithfulnessPercentage of responses consistent with source documentsEntailment scoring against source material<85% triggers alert
ToxicityPercentage of responses flagged as harmfulPerspective API or custom classifier>5% triggers immediate review
Prompt InjectionPercentage of inputs attempting to manipulate systemPattern matching plus LLM classifier>1% triggers security review
Retrieval QualityRelevance of retrieved context to query (for retrieval-augmented generation (RAG) systems)Reciprocal rank or NDCG<0.7 triggers re-indexing

Practical approaches

Human evaluation remains the gold standard for LLM quality but doesn't scale. Sample-based human review, evaluating a random subset of production outputs, provides ground truth for calibrating automated metrics.

LLM-as-judge approaches use one language model to evaluate another's outputs. While not perfect, these provide scalable quality signals that correlate with human judgments. The evaluator model scores responses on dimensions like relevance, accuracy, and helpfulness. Be aware that LLM judges can inherit biases from their training data, so periodically validate their assessments against human reviewers.

Feedback from people captures thumbs up/down ratings, regeneration requests, and explicit complaints. These signals indicate quality problems even when automated metrics look normal. A spike in regeneration requests suggests people aren't satisfied with initial responses.

Embedding drift monitoring tracks whether the semantic content of inputs or outputs is shifting. If people start asking about topics the model wasn't designed for, embedding distributions will reflect this shift before other metrics catch it.

Human-in-the-loop requirements

LLM monitoring requires ongoing human oversight, not just automated metrics. Maintain curated evaluation sets for hallucination, toxicity, and jailbreak attempts. Re-run these on each model update. Route low-confidence or flagged outputs to human review rather than serving them automatically.

Cost and scale considerations for monitoring

At small scale, monitoring costs are negligible. At large scale (millions of predictions per day) monitoring infrastructure can become a significant expense. Storage, compute, and egress costs compound quickly without deliberate optimization.

Sampling strategies by volume

The following table provides guidance on sampling rates based on prediction volume:

Traffic VolumeRecommended Sampling RateAggregation WindowCost Considerations
<10K predictions/day100% (log everything)HourlyLow, full logging is affordable
10K-1M predictions/day10-50%Hourly to dailyMedium, balance coverage with cost
>1M predictions/day1-10%Daily to weeklyHigh, optimize aggressively or costs spiral

Use stratified sampling to preserve distribution shape across segments. For rare events like fraud, oversample the positive class to ensure sufficient examples for meaningful analysis.

Aggregation to reduce storage

Pre-aggregate metrics in your data pipeline rather than storing raw logs and computing metrics at query time. Calculate PSI, null rates, and distribution statistics in Spark or your streaming framework, then emit single metric values. Store raw logs for debugging and root cause analysis, but use aggregated metrics for dashboards and alerting.

Cardinality control

High-cardinality features like user IDs, transaction IDs, or free-text fields explode storage costs if logged directly. Hash or drop these before logging unless you're actively debugging a specific issue.

Privacy-safe observability

Hash personally identifiable information before logging: email addresses, phone numbers, names. Use differential privacy for aggregated metrics by adding calibrated noise to counts and averages. Comply with the General Data Protection Regulation (GDPR), the California Consumer Privacy Act (CCPA), and other regulations by limiting retention periods (30-90 days is common) and providing deletion capabilities.

Set budget alerts on your monitoring infrastructure. Track storage growth rates and query costs.

How to build an ML model monitoring strategy

Establishing a machine learning model monitoring practice is easier than you think. After deploying your models, use the following approach to monitor your model's performance and health.

PhaseFocus AreaKey Activities
Define objectivesGoals and ownershipIdentify what to monitor, who needs results, assign team responsibilities
Select metricsThresholds and baselinesChoose relevant metrics, set alert thresholds, establish reference data sets
Set cadenceTiming and automationDetermine monitoring frequency, configure automated alerts, create troubleshooting plans
Choose toolsDelivery and visualizationEvaluate existing tools, select platforms, set up dashboards and reporting channels

Define monitoring objectives and ownership

Though you can track numerous ML model elements, simplify the monitoring process by asking: What do you need to monitor, and who needs to see the results? Instead of creating a complicated monitoring practice that tries to solve every problem, monitor your models with a specific objective. Data scientists and engineers may need to monitor for missing data or feature changes, while a product manager will look for useful insights.

Establish clear ownership early. There may be confusion about which department is responsible for the model once it's in production. Have a plan in place so your data scientists, engineers, or developers understand their responsibilities in the monitoring process. Define who responds to alerts, who investigates performance degradation, and who decides when to retrain or replace a model before you deploy to production.

Select metrics and set thresholds

You'll need to select monitoring metrics, statistics, and tests relevant to your model and goals. Direct model performance metrics like daily predictions, prediction drift, null value percentage, and share of drift are a few options.

Since ML models will degrade with time, it is essential to track metrics and set thresholds to automatically detect and alert you when large changes or dips in performance occur. Based on your criteria, you can even alert specific roles or departments or send weekly reports.

When choosing statistical tests, match the test to your data type. PSI and KS tests work well for continuous numeric features. Chi-square tests suit categorical features with moderate cardinality. For high-cardinality categoricals or embeddings, consider dimensionality reduction before applying drift tests, or use specialized approaches like monitoring embedding cluster distributions.

Depending on your model and metrics, you may need to choose one or more baseline data sets as a reference to detect data drift. Your reference data set must reflect your model's expected patterns, like data from previous model operations. Store training data statistics as your primary baseline, and consider maintaining a rolling "healthy period" baseline for comparison.

Choose monitoring cadence and automation

Do you need to monitor your ML model in real time? Or would periodic hourly, daily, or weekly monitoring meet your requirements? When choosing your monitoring schedule, consider factors such as the model's format, deployment, level of risk, and your system's existing infrastructure. For many businesses, batch monitoring over time is sufficient unless you're dealing with time-sensitive topics.

A general guideline: high-stakes, high-velocity applications like fraud detection or real-time pricing need continuous or near-real-time monitoring. Lower-stakes batch applications like weekly demand forecasting can use daily or weekly cycles. Match your monitoring cadence to how quickly problems would impact the business.

Create a plan of action ahead of time so that if a model breaks or shows signs of bias, drift, or health issues, your company can address it immediately. If your monitoring tools allow it, set up automatic alerts so your team can investigate problems. Also, have a troubleshooting framework in place so individuals or teams know who is responsible and what steps to take.

Evaluate tools and delivery methods

You may be able to use existing applications or tools for ML model monitoring. Engineering and development tools that track and evaluate system performance and metrics also apply to your model.

The ML monitoring tool landscape spans several categories. Open-source libraries like Evidently AI and Alibi Detect provide drift detection and data quality checks you can integrate into existing pipelines. Managed platforms from cloud providers (AWS SageMaker Model Monitor, Google Cloud Vertex AI Model Monitoring, Azure ML) offer integrated monitoring within their ML ecosystems. General observability tools like Prometheus, Grafana, and Datadog can track ML metrics alongside infrastructure monitoring, though they require more custom configuration.

Consider how you're going to share your monitoring results. Do you already have preferred channels to send monitoring alerts when changes or failures happen? Do you need to visualize results so stakeholders can access and understand information? Depending on what tools you already use and how you want to communicate model monitoring with others, you may need a dashboard or other visualization platform to make results accessible to everyone involved.

No matter what your chosen platform is, it should be intuitive and easy for all people to operate. Your monitoring tool needs to integrate with your existing platforms and data sources, provide the required metrics for your ML models, allow for customization, and offer collaboration so you can share results with others.

ML model monitoring with Domo

Monitoring machine learning models can be challenging but is essential to your model's health and lifecycle. Fortunately, Domo simplifies the ML model monitoring process so you can quickly identify and solve problems.

Domo's AI and ML model management integrates your existing models and helps teams monitor, govern, and activate them in a controlled and transparent environment. From there, you can easily deploy, refine, and retrain your models to achieve peak performance. Human oversight remains central to the process. You set the objectives and constraints while the platform handles execution and coordination.

The platform makes your data AI-ready, turns insights into action through governed data, and delivers outcomes into the workflows people already use. Rather than building monitoring infrastructure from scratch, teams can connect their models to Domo's unified data layer and immediately gain visibility into performance, drift, and data quality metrics.

Intuitive visualizations and automation features deliver speedy insights that support more informed decisions for your business. Alerts route to the right teams, dashboards make model health accessible to stakeholders beyond the data science team, and the platform integrates with existing data infrastructure rather than requiring a wholesale replacement.

Are you interested in seeing how big data and AI can improve your business?Discover how Domo.AI combines AI innovations with the existing BI platform for powerful analysis and meaningful business insights.

See ML monitoring in action: drift, alerts, and playbooks

Get a demo

Start tracking model drift and data quality in one place

Try free
See Domo in action
Watch Demos
Start Domo for free
Free Trial

Frequently asked questions

No items found.
No items found.
Explore all
No items found.
AI & Data Science