TRUST-LAPSE: An Explainable and Actionable Mistrust Scoring Framework for Model Monitoring

Nandita Bhaskhar, Daniel L. Rubin, Christopher Lee-Messer
7/22/2022
14 citations
cs.LGcs.AI

Official code: nanbhas/TrustLapse (1 star, Python, MIT, last commit 2023-04-30).

Abstract

Continuous monitoring of trained ML models to determine when their predictions should and should not be trusted is essential for their safe deployment. Such a framework ought to be high-performing, explainable, post-hoc and actionable.

Show full abstract

We propose TRUST-LAPSE, a "mistrust" scoring framework for continuous model monitoring. We assess the trustworthiness of each input sample's model prediction using a sequence of latent-space embeddings. Specifically, (a) our latent-space mistrust score estimates mistrust using distance metrics (Mahalanobis distance) and similarity metrics (cosine similarity) in the latent-space and (b) our sequential mistrust score determines deviations in correlations over the sequence of past input representations in a non-parametric, sliding-window based algorithm for actionable continuous monitoring. We evaluate TRUST-LAPSE via two downstream tasks: (1) distributionally shifted input detection, and (2) data drift detection. We evaluate across diverse domains - audio and vision using public datasets and further benchmark our approach on challenging, real-world electroencephalograms (EEG) datasets for seizure detection. Our latent-space mistrust scores achieve state-of-the-art results with AUROCs of 84.1 (vision), 73.9 (audio), and 77.1 (clinical EEGs), outperforming baselines by over 10 points. We expose critical failures in popular baselines that remain insensitive to input semantic content, rendering them unfit for real-world model monitoring. We show that our sequential mistrust scores achieve high drift detection rates; over 90% of the streams show < 20% error for all domains. Through extensive qualitative and quantitative evaluations, we show that our mistrust scores are more robust and provide explainability for easy adoption into practice.

View on arXivView PDF

Code Implementations(1)

nanbhas/TrustLapseOfficial100%
MIT

Repository for the paper "TrustLapse: An Explainable and Actionable Mistrust Scoring Framework for Model Monitoring"

10PythonApr 30, 20233 years agoMIT
audiocomputer-visioneeg-datalatent-space-scoresmodel-monitoring+4 more

Similar Papers

Cite this paper

@article{bhaskhar2022trustlapse,
  title  = {TRUST-LAPSE: An Explainable and Actionable Mistrust Scoring Framework for Model Monitoring},
  author = {Nandita Bhaskhar and Daniel L. Rubin and Christopher Lee-Messer},
  year   = {2022},
  eprint = {2207.11290},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.11290v2}
}

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/2207.11290.svg)](https://codeofpaper.com/paper/2207.11290)

Discussion