Article complete

Understanding Explainability In Computer Vision

A stylized black cube with intricate patterns, set against a gradient background transitioning from black to gray.

Key takeaways

  • Computer vision models often function as black boxes, making it challenging to understand their decision-making processes.
  • Explainable AI tools can facilitate comprehending feature extraction at various layers of computer vision models.
  • The conference featured discussions on the importance of transparency in AI to enhance trust and usability.
  • Developers frequently encounter difficulties in identifying what features are being extracted within each layer of their models.
  • The event marked a significant step in promoting explainability within the field of computer vision.

Takeaways drafted with AI from the article text.

The session “Explainable AI For Computer Vision” was presented at the first of its kind Computer Vision conference, CVDC 2020 by Avni Gupta, who is the Technology Lead at Synduit. Organised by the Association of Data Scientists (ADaSCi), the premier global professional body of data science and machine learning professionals, it is a first-of-its-kind virtual conference on Computer Vision.  

The primary aspect of the talk is computer vision models most of the time act as a black box and it is hard to explain what is actually going behind the models or how the outcomes are coming from. She also mentioned some of the important libraries which can help to make explainable AI possible in Computer Vision models.

According to Gupta, many a time, when developers create a computer vision model, they find themselves interacting with a backbox and unaware of what feature extraction is happening at each layer. With the help of explainable AI, it becomes easier to comprehend and know when enough layers have been added and what feature extraction has taken place at each layer.

Gupta started the talk discussing why explainable AI or XAI is important. She put forward some important points as mentioned below-

  • Understandable AI: It includes the reasons and justifications to support actionable recommendations for faster and more accurate decisions.
  • Transparent AI: It includes the interpretability of predictions accuracy with the ability to trace data to the underlying logic and data.
  • Impactful AI: The impactful AI provides an assessment of future business outcomes and allows scenario simulations to determine the best actions.

Gupta stated that there are various problems related to a Computer Vision model, which are 

  1. ML and AI models are black-box models as it is hard to understand how the models are predicting the outcomes.
  2. ML models are non-intuitive, which are difficult for stakeholders to understand
  3. The key issues are trust, reliability and accountability.

She then discussed some of the important techniques that can be used for interpreting Computer Vision models. The techniques are-

SHAP Gradient Explainer

Visual Activation Layers

Visual activation layers are used when you create a Convoluted network and you want to view what exactly does your model speak.

Occlusion Sensitivity

Occlusion Sensitivity is used when you have an image and you want to grey out an area to check how occluding parts of an image affects your Conv network model.

Grad-CAM

Integrated Gradients

Furthermore, Gupta discussed some of the crucial libraries and tools that are helpful while building an explainable Computer Vision Model with some practical implementations in Python language.

The libraries and tools are-

  • ELI5: ELI5 is a Python package which helps to debug machine learning classifiers and explain their predictions. It provides support for popular machine learning frameworks and packages like Scikit- Learn, XGBoost, LightGBM, etc.
  • tf-explain: tf-explain offers interpretability methods for Tensorflow 2.0 to ease neural network’s understanding. With either its core API or its tf.keras callbacks, you can get feedback on the training of your models.
  • AIX-360: The AI Explainability 360 toolkit is an open-source library that supports interpretability and explainability of datasets and machine learning models. The AI Explainability 360 Python package includes a comprehensive set of algorithms that cover different dimensions of explanations along with proxy explainability metrics.
  • Tootorch: tootorch is for PyTorch models for implementation XAI in Computer Vision techniques.
  • What-if Tool:What-If Tool is a feature of the open-source TensorBoard web application, which lets users analyze an ML model without writing code.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

More in this story

computer vision neural network · 5 stories
  1. How Computer Vision Came In Handy For Social Distancing
  2. My first CNN project - Emotion Detection Using Convolutional Neural Network With TPU
  3. You are here: Understanding Explainability In Computer Vision
  4. The Evolution of ImageNet for Deep Learning in Computer Vision
  5. An Introductory Guide to MetaFormers in Computer Vision
About the author

Contributor

A Technical Journalist who loves writing about Machine Learning and Artificial Intelligence. A lover of music, writing and learning something out of the box.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.