Book Image

Deep Learning and XAI Techniques for Anomaly Detection

By : Cher Simon
Book Image

Deep Learning and XAI Techniques for Anomaly Detection

By: Cher Simon

Overview of this book

Despite promising advances, the opaque nature of deep learning models makes it difficult to interpret them, which is a drawback in terms of their practical deployment and regulatory compliance. Deep Learning and XAI Techniques for Anomaly Detection shows you state-of-the-art methods that’ll help you to understand and address these challenges. By leveraging the Explainable AI (XAI) and deep learning techniques described in this book, you’ll discover how to successfully extract business-critical insights while ensuring fair and ethical analysis. This practical guide will provide you with tools and best practices to achieve transparency and interpretability with deep learning models, ultimately establishing trust in your anomaly detection applications. Throughout the chapters, you’ll get equipped with XAI and anomaly detection knowledge that’ll enable you to embark on a series of real-world projects. Whether you are building computer vision, natural language processing, or time series models, you’ll learn how to quantify and assess their explainability. By the end of this deep learning book, you’ll be able to build a variety of deep learning XAI models and perform validation to assess their explainability.
Table of Contents (15 chapters)
1
Part 1 – Introduction to Explainable Deep Learning Anomaly Detection
4
Part 2 – Building an Explainable Deep Learning Anomaly Detector
8
Part 3 – Evaluating an Explainable Deep Learning Anomaly Detector

Comparing backpropagation and perturbation XAI

After reviewing backpropagation and perturbation, let’s compare the pros and cons of these XAI techniques.

Generally, backpropagation is more efficient than perturbation-based XAI methods in generating importance scores for all input features in a single backward pass through the network. However, backpropagation-based XAI methods are typically prone to noise and require internal information about the model. While feature attributions associated with an area of input image seem intuitive, neighboring individual pixels can experience a high variant of attribution assignments, which is a shortcoming of backpropagation-based methods. Furthermore, a lack of granular description of a model’s characteristics might result in inconsistent correlation to its output variation, resulting in less faithful explanations.

In contrast, perturbation-based methods are widely applicable to any deep learning model, regardless of its architecture...