HOLMES: HOLonym-MEronym based Semantic inspection for Convolutional Image Classifiers
Abstract: Convolutional Neural Networks (CNNs) are nowadays the model of choice in Computer Vision, thanks to their ability to automatize the feature extraction process in visual tasks. However, the knowledge acquired during training is fully subsymbolic, and hence difficult to understand and explain to end users. In this paper, we propose a new technique called HOLMES (HOLonym-MEronym based Semantic inspection) that decomposes a label into a set of related concepts, and provides component-level explanations for an image classification model. Specifically, HOLMES leverages ontologies, web scraping and transfer learning to automatically construct meronym (parts)-based detectors for a given holonym (class). Then, it produces heatmaps at the meronym level and finally, by probing the holonym CNN with occluded images, it highlights the importance of each part on the classification output. Compared to state-of-the-art saliency methods, HOLMES takes a step further and provides information about both where and what the holonym CNN is looking at, without relying on densely annotated datasets and without forcing concepts to be associated to single computational units. Extensive experimental evaluation on different categories of objects (animals, tools and vehicles) shows the feasibility of our approach. On average, HOLMES explanations include at least two meronyms, and the ablation of a single meronym roughly halves the holonym model confidence. The resulting heatmaps were quantitatively evaluated using the deletion/insertion/preservation curves. All metrics were comparable to those achieved by GradCAM, while offering the advantage of further decomposing the heatmap in human-understandable concepts, thus highlighting both the relevance of meronyms to object classification, as well as HOLMES ability to capture it. The code is available at https://github.com/FrancesC0de/HOLMES.
- Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information Fusion, 58:82–115, 2020.
- Network dissection: Quantifying interpretability of deep visual representations. In Computer Vision and Pattern Recognition, 2017.
- Understanding the role of individual units in a deep neural network. Proceedings of the National Academy of Sciences, 117(48):30071–30078, 2020.
- This looks like that: deep learning for interpretable image recognition. In Advances in neural information processing systems, 2019.
- Detect what you can: Detecting and representing objects using holistic models and body parts. 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 1979–1986, 2014.
- An ontology-based approach to explaining artificial neural networks. CoRR, abs/1906.08362, 2019.
- ImageNet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009.
- Shortcut learning in deep neural networks. Nature Machine Intelligence, 2(11):665–673, 2020.
- Imagenet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. In International Conference on Learning Representations, 2019.
- Quantitative and ontology-based comparison of explanations for image classification. In International Conference on Machine Learning, Optimization, and Data Science, pages 58–70. Springer, 2019.
- Do semantic parts emerge in convolutional neural networks? International Journal of Computer Vision, 126, 2018.
- B. Goodman and S. Flaxman. EU regulations on algorithmic decision-making and a “Right to explanation”. AI Magazine, 38, June 2016.
- A survey of methods for explaining black box models. ACM computing surveys, 51(5):1–42, 2018.
- To trust or not to trust a classifier. In Advances in Neural Information Processing Systems, pages 5541–5552, 2018.
- Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (tcav). In International conference on machine learning, pages 2668–2677. PMLR, 2018.
- Building reliable explanations of unreliable neural networks: Locally smoothing perspective of model interpretation. 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6464–6473, 2021.
- A unified approach to interpreting model predictions. In Advances in neural information processing systems, pages 4765–4774, 2017.
- Learning deep visual object models from noisy web data: How to make it work. In 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5564–5571, 2017.
- G. Miller. Wordnet: a lexical database for english. Communications of the ACM, 38(11):39–41, 1995.
- Automatic creation of large scale object databases from web resources: A case study in robot vision. In International Conference on Image Analysis and Processing, 2019.
- L. Morra and F. Lamberti. Benchmarking unsupervised near-duplicate image detection. Expert Systems with Applications, 135:313–326, 2019.
- Dissecting racial bias in an algorithm used to manage the health of populations. Science, 366(6464):447–453, 2019.
- Rise: Randomized input sampling for explanation of black-box models. In British Machine Vision Conference, 2018.
- ‘Why should I trust you?’ Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pages 1135–1144, 2016.
- Explainable neural-symbolic learning (X-NeSyL) methodology to fuse deep learning representations with expert knowledge graphs: The monumai cultural heritage use case. Information Fusion, 79:58–83, 2022.
- P. Samanta and S. Jain. Analysis of perceptual hashing algorithms in image manipulation detection. Procedia Computer Science, 185:203–212, 2021.
- Evaluating the visualization of what a deep neural network has learned. IEEE Transactions on Neural Networks and Learning Systems, 28(11):2660–2673, 2017.
- A comprehensive review of deep learning architectures for computer vision applications. American Scientific Research Journal for Engineering, Technology, and Sciences, 77:1–29, 03 2021.
- Grad-CAM: Visual explanations from deep networks via gradient-based localization. International Journal of Computer Vision, 128(2):336–359, 2019.
- A novel anomaly detection scheme based on principal component classifier. In Proceedings of International Conference on Data Mining, 01 2003.
- Master your metrics with calibration. Advances in Intelligent Data Analysis XVIII, page 457–469, 2020.
- Visually grounded meaning representations. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39(11):2284–2297, 2017.
- K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015.
- The XAI paradox: Systems that perform well for the wrong reasons. In Proceedings of the 31st Benelux Conference on A.I. and the 28th Belgian Dutch Conference on Machine Learning, 2019.
- Exploiting web images for multi-output classification: From category to subcategories. IEEE transactions on neural networks and learning systems, 31(7):2348–2360, 2020.
- How transferable are features in deep neural networks? In Advances in Neural Information Processing Systems, volume 27, pages 3320–3328, 2014.
- Robust learning from noisy web images via data purification for fine-grained recognition. IEEE Transactions on Multimedia, 2021.
- Interpretable convolutional neural networks. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8827–8836, 2018.
- Object detectors emerge in deep scene cnns. International Conference on Learning Representations, abs/1412.6856, 2015.
- Interpretable basis decomposition for visual explanation. In Proceedings of the European Conference on Computer Vision (ECCV), pages 119–134, 2018.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.