Test Automation with Grad-CAM Heatmaps -- A Future Pipe Segment in MLOps for Vision AI?
Not on the map. Why?
Abstract (arXiv)
Machine Learning (ML) is a fundamental part of modern perception systems. In the last decade, the performance of computer vision using trained deep neural networks has outperformed previous approaches based on careful feature engineering. However, the opaqueness of large ML models is a substantial impediment for critical applications such as in the automotive context. As a remedy, Gradient-weighted Class Activation Mapping (Grad-CAM) has been proposed to provide visual explanations of model internals. In this paper, we demonstrate how Grad-CAM heatmaps can be used to increase the explainability of an image recognition model trained for a pedestrian underpass. We argue how the heatmaps support compliance to the EU's seven key requirements for Trustworthy AI. Finally, we propose adding automated heatmap analysis as a pipe segment in an MLOps pipeline. We believe that such a building block can be used to automatically detect if a trained ML-model is activated based on invalid pixels in test images, suggesting biased models.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 13 of its 34 references that are in the map. First posted on arXiv 2 Mar 2021.
Builds on
13 of 34 references.
References · 13
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2018Why do deep convolutional networks generalize so poorly to small image transformations?cited by 198
- 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
- 2019Requirements Engineering for Machine Learning: Perspectives from Data Scientistscited by 49
- 2018Safely Entering the Deep: A Review of Verification and Validation for Machine Learning and a Challenge Elicitation in the Automotive Industrycited by 38
- 2018Using Machine Learning Safely in Automotive Software: An Assessment and Adaption of Software Process Requirements in ISO 26262cited by 13
- 2018Presentation Attack Detection for Cadaver Iriscited by 10
- 2020The AIQ Meta-Testbed: Pragmatically Bridging Academic AI Testing and Industrial Q Needscited by 5
- 2020Towards Grad-CAM Based Explainability in a Legal Text Processing Pipelinecited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1.
3 papers.
- 2023Towards an MLOps Architecture for XAI in Industrial Applications22 Sep 2023
- 2022Exploring ML testing in practice -- Lessons learned from an interactive rapid review with Axis Communications30 Mar 2022
- 2021Agility in Software 2.0 -- Notebook Interfaces and MLOps with Buttresses and Rebars28 Nov 2021