mlsanityData to 7 Oct 2026

Model Assertions for Monitoring and Improving ML Models

arXiv 2003.01668 ↗First posted 3 Mar 2020cs.AI cs.LGcited by 22

Not on the map. Why?

Abstract (arXiv)

ML models are increasingly deployed in settings with real world interactions such as vehicles, but unfortunately, these models can fail in systematic ways. To prevent errors, ML engineering teams monitor and continuously improve these models. We propose a new abstraction, model assertions, that adapts the classical use of program assertions as a way to monitor and improve ML models. Model assertions are arbitrary functions over a model's input and output that indicate when errors may be occurring, e.g., a function that triggers if an object rapidly changes its class in a video. We propose methods of using model assertions at all stages of ML system deployment, including runtime monitoring, validating labels, and continuously improving ML models. For runtime monitoring, we show that model assertions can find high confidence errors, where a model returns the wrong output with high confidence, which uncertainty-based monitoring techniques would not detect. For training, we propose two methods of using model assertions. First, we propose a bandit-based active learning algorithm that can sample from data flagged by assertions and show that it can reduce labeling costs by up to 40% over traditional uncertainty-based methods. Second, we propose an API for generating "consistency assertions" (e.g., the class change example) and weak labels for inputs where the consistency assertions fail, and show that these weak labels can improve relative model quality by up to 46%. We evaluate model assertions on four real-world tasks with video, LIDAR, and ECG data.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Mar 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 6; 2022: 2; 2023: 4; 2024: 4; 2025: 3; 2026: 3.

22 papers.

Sort:

By area:

  1. 2021Collaboration Challenges in Building ML-Enabled Systems: Communication, Documentation, Engineering, and Processcited by 56
  2. 2023DSPy Assertions: Computational Constraints for Self-Refining Language Model Pipelinescited by 27
  3. 2024SPADE: Synthesizing Data Quality Assertions for Large Language Model Pipelinescited by 19
  4. 2021Benchmarking Safety Monitors for Image Classifiers with Machine Learningcited by 14
  5. 2021Did the Model Change? Efficiently Assessing Machine Learning API Shiftscited by 13
  6. 2022Trust in AI: Interpretability is not necessary or sufficient, while black-box interaction is necessary and sufficientcited by 13
  7. 2024Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agentscited by 13
  8. 2021Enabling SQL-based Training Data Debugging for Federated Learningcited by 8
  9. 2021Reproducibility, Replicability and Beyond: Assessing Production Readiness of Aspect Based Sentiment Analysis in the Wildcited by 7
  10. 2022HAPI: A Large-scale Longitudinal Dataset of Commercial ML API Predictionscited by 6
  11. 2023An investigation of challenges encountered when specifying training data and runtime monitors for safety critical ML applicationscited by 4
  12. 2023Framework for Certification of AI-Based Systemscited by 3
10 more
  1. 2024Safety Monitoring of Machine Learning Perception Functions: a Surveycited by 3
  2. 2021Explainability-aided Domain Generalization for Image Classificationcited by 1
  3. 2024DEBUG-HD: Debugging TinyML models on-device using Hyper-Dimensional computingcited by 1
  4. 2026Self-Aware Object Detection via Degradation Manifoldscited by 1
  5. 2023MGit: A Model Versioning and Management Systemcited by 0
  6. 2025Semantic Integrity Constraints: Declarative Guardrails for AI-Augmented Data Processing Systemscited by 0
  7. 2025Graph Lineages and Skeletal Graph Productscited by 0
  8. 2025Perspectives on a Reliability Monitoring Framework for Agentic AI Systemscited by 0
  9. 2026The Machine Learning Canvas: Empirical Findings on Why Strategy Matters More Than AI Code Generationcited by 0
  10. 2026Knowledge-Guided Failure Prediction: Detecting When Object Detectors Miss Safety-Critical Objectscited by 0