mlsanityData to 14 Oct 2026

Debugging and Runtime Analysis of Neural Networks with VLMs (A Case Study)

arXiv 2503.17416 ↗First posted 21 Mar 2025cs.SE cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Debugging of Deep Neural Networks (DNNs), particularly vision models, is very challenging due to the complex and opaque decision-making processes in these networks. In this paper, we explore multi-modal Vision-Language Models (VLMs), such as CLIP, to automatically interpret the opaque representation space of vision models using natural language. This in turn, enables a semantic analysis of model behavior using human-understandable concepts, without requiring costly human annotations. Key to our approach is the notion of semantic heatmap, that succinctly captures the statistical properties of DNNs in terms of the concepts discovered with the VLM and that are computed off-line using a held-out data set. We show the utility of semantic heatmaps for fault localization -- an essential step in debugging -- in vision models. Our proposed technique helps localize the fault in the network (encoder vs head) and also highlights the responsible high-level concepts, by leveraging novel differential heatmaps, which summarize the semantic differences between the correct and incorrect behaviour of the analyzed DNN. We further propose a lightweight runtime analysis to detect and filter-out defects at runtime, thus improving the reliability of the analyzed DNNs. The runtime analysis works by measuring and comparing the similarity between the heatmap computed for a new (unseen) input and the heatmaps computed a-priori for correct vs incorrect DNN behavior. We consider two types of defects: misclassifications and vulnerabilities to adversarial attacks. We demonstrate the debugging and runtime analysis on a case study involving a complex ResNet-based classifier trained on the RIVAL10 dataset.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 41 of its 46 references that are in the map. First posted on arXiv 21 Mar 2025.

Builds on

41 of 46 references.

References · 41

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  6. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  8. 2013Intriguing properties of neural networkscited by 5,155
  9. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  10. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  11. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
  12. 2016Adversarial examples in the physical worldcited by 1,769
29 more
  1. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  2. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  3. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,319
  4. 2022Mass-Editing Memory in a Transformercited by 1,001
  5. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  6. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
  7. 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
  8. 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 319
  9. 2019Addressing Failure Prediction by Learning Model Confidencecited by 186
  10. 2022Domino: Discovering Systematic Errors with Cross-Modal Embeddingscited by 156
  11. 2022Distilling Model Failures as Directions in Latent Spacecited by 82
  12. 2023Text-To-Concept (and Back) via Cross-Model Alignmentcited by 64
  13. 2023Concept Algebra for (Score-Based) Text-Controlled Generative Modelscited by 59
  14. 2023Diagnosing and Rectifying Vision Models using Languagecited by 58
  15. 2022Concept Activation Regions: A Generalized Framework For Concept-Based Explanationscited by 57
  16. 2022A Comprehensive Study of Image Classification Model Sensitivity to Foregrounds, Backgrounds, and Visual Attributescited by 56
  17. 2019Misbehaviour Prediction for Autonomous Driving Systemscited by 55
  18. 2021Adversarial Example Detection for DNN Models: A Review and Experimental Comparisoncited by 52
  19. 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 38
  20. 2019DeepFault: Fault Localization for Deep Neural Networkscited by 30
  21. 2022Human-Centered Concept Explanations for Neural Networkscited by 23
  22. 2022Concept Gradient: Concept-based Interpretation Without Linear Assumptioncited by 20
  23. 2021DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning Programscited by 19
  24. 2021Self-Checking Deep Neural Networks in Deploymentcited by 18
  25. 2020Supporting DNN Safety Analysis and Retraining through Heatmap-based Unsupervised Learningcited by 11
  26. 2021Automatic Fault Detection for Deep Learning Programs Using Graph Transformationscited by 9
  27. 2024Concept-based Analysis of Neural Networks via Vision-Language Modelscited by 6
  28. 2023Mutation-based Fault Localization of Deep Neural Networkscited by 5
  29. 2024Inferring Data Preconditions from Deep Learning Models for Trustworthy Prediction in Deploymentcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Scalable Performance Analysis for Vision-Language Models
  2. 2023Synthesize, Diagnose, and Optimize: Towards Fine-Grained Vision-Language Understanding
  3. 2024UniBench: Visual Reasoning Requires Rethinking Vision-Language Beyond Scaling
  4. 2025Logic Unseen: Revealing the Logical Blindspots of Vision-Language Models
  5. 2025Hidden in plain sight: VLMs overlook their visual representations
  6. 2026On Test-Time Scaling for Vision-Language Models
  7. 2026UVLM: A Universal Vision-Language Model Loader for Reproducible Multimodal Benchmarking
  8. 2024DeepSeek-VL: Towards Real-World Vision-Language Understanding