Monitoring Model Deterioration with Explainable Uncertainty Estimation via Non-parametric Bootstrap

Carlos Mougan, Dan Saattrup Nielsen
1/27/2022
24 citations
cs.LGstat.ML

Official code: saattrupdan/doubt (56 stars, Python, MIT, last commit 2024-06-10). 1 more implementation below.

Abstract

Monitoring machine learning models once they are deployed is challenging. It is even more challenging to decide when to retrain models in real-case scenarios when labeled data is beyond reach, and monitoring performance metrics becomes unfeasible.

Show full abstract

In this work, we use non-parametric bootstrapped uncertainty estimates and SHAP values to provide explainable uncertainty estimation as a technique that aims to monitor the deterioration of machine learning models in deployment environments, as well as determine the source of model deterioration when target labels are not available. Classical methods are purely aimed at detecting distribution shift, which can lead to false positives in the sense that the model has not deteriorated despite a shift in the data distribution. To estimate model uncertainty we construct prediction intervals using a novel bootstrap method, which improves upon the work of Kumar & Srivastava (2012). We show that both our model deterioration detection system as well as our uncertainty estimation method achieve better performance than the current state-of-the-art. Finally, we use explainable AI techniques to gain an understanding of the drivers of model deterioration. We release an open source Python package, doubt, which implements our proposed methods, as well as the code used to reproduce our experiments.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
saattrupdan/doubtOfficial56PythonMIT2024-06-10
cmougan/MonitoringUncertaintyOfficial7Jupyter NotebookMIT2024-02-26
saattrupdan/doubtOfficial100%
MIT

Bringing back uncertainty to machine learning.

563Python, MakefileMar 29, 20202 years agoMIT
bootstrapconfidence-intervalsmachine-learningprediction-intervalsquantile-regression+2 more
MIT
71Jupyter Notebook, PythonApr 6, 20212 years agoMIT

Similar Papers

Cite this paper

@article{mougan2022monitoring,
  title  = {Monitoring Model Deterioration with Explainable Uncertainty Estimation via Non-parametric Bootstrap},
  author = {Carlos Mougan and Dan Saattrup Nielsen},
  year   = {2022},
  eprint = {2201.11676},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.11676}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.11676.svg)](https://codeofpaper.com/paper/2201.11676)

Discussion