Skip to main content
QUICK REVIEW

[Paper Review] Monitoring and explainability of models in production

Janis Klaise, Arnaud Van Looveren|arXiv (Cornell University)|Jul 13, 2020
Anomaly Detection Techniques and ApplicationsComputer Science28 references29 citations
TL;DR

This paper proposes a comprehensive framework for monitoring and explaining machine learning models in production, emphasizing performance tracking, data drift detection, outlier identification, and model interpretability using open-source tools. It introduces a black-box explanation pattern via Seldon Core and KFServing, enabling on-demand explanations through API-based querying without requiring model internals.

ABSTRACT

The machine learning lifecycle extends beyond the deployment stage. Monitoring deployed models is crucial for continued provision of high quality machine learning enabled services. Key areas include model performance and data monitoring, detecting outliers and data drift using statistical techniques, and providing explanations of historic predictions. We discuss the challenges to successful implementation of solutions in each of these areas with some recent examples of production ready solutions using open source tools.

Motivation & Objective

  • Address the challenge of maintaining high-quality machine learning services beyond model deployment by implementing robust monitoring and explainability systems.
  • Overcome the limitations of label scarcity in production by using label-independent metrics, data statistics, and proxy indicators for model performance.
  • Detect data drift and outliers using statistical techniques to proactively identify distributional shifts that could degrade model performance.
  • Enhance trust and transparency in ML systems by enabling on-demand, production-ready explanations using black-box explanation methods such as Anchor and LIME.
  • Integrate monitoring and explanation capabilities into scalable MLOps pipelines using open-source infrastructure platforms like Seldon Core and KFServing.

Proposed method

  • Use Seldon Core’s /send-feedback API to collect and compute real-time performance metrics, including both standard ML metrics and custom business KPIs.
  • Implement online, stateful metric computation with libraries like those from Bolmier et al. (2019) to ensure consistency across horizontally scaled deployments.
  • Apply statistical techniques such as change-point detection and Kolmogorov-Smirnov tests to detect data drift and outliers in input and output distributions.
  • Deploy black-box explanation models (e.g., Anchor, LIME, SHAP) that query the live model via its prediction API to generate feature-level explanations without requiring model internals.
  • Architect a dual-deployment system with a model serving /predict endpoint and a separate explainer service exposing an /explain endpoint to support on-demand explanation requests.
  • Leverage Seldon Core and KFServing to auto-scale both model and explainer components, ensuring production resilience under high request loads.

Experimental results

Research questions

  • RQ1How can model performance be effectively monitored in production when ground-truth labels are delayed or unavailable?
  • RQ2What statistical techniques are most effective for detecting data drift and outliers in live machine learning systems?
  • RQ3How can black-box explanation methods be integrated into production ML pipelines without access to model internals?
  • RQ4What infrastructure patterns enable scalable, reliable, and low-latency explanation services in production environments?
  • RQ5How can label-independent metrics and proxy indicators be meaningfully related to actual model performance in real-world deployments?

Key findings

  • Label-independent metrics such as feature-wise moments and prediction statistics serve as effective proxies for model performance when ground-truth labels are unavailable.
  • Statistical drift detection techniques like Kolmogorov-Smirnov tests and change-point detection can reliably identify distributional shifts in input and output data.
  • Black-box explanation methods such as Anchor and LIME can be successfully deployed alongside production models using API-based interaction patterns.
  • The dual-deployment pattern—separating model inference from explanation services—enables auto-scaling and isolation of workloads, improving system reliability.
  • Open-source tools like Seldon Core and KFServing support the end-to-end deployment of monitoring and explanation pipelines with minimal engineering overhead.
  • The integration of explainability into production systems enhances model trust and enables debugging, especially in high-stakes domains like healthcare and finance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.