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

Reviewing perturbation explainability

Perturbation-based methods investigate neural network properties by perturbing the training input, either partially occluding pixels in an image or substituting words in textual data to observe how they influence a model’s prediction. Domain experts and users can evaluate the quality of explanations by analyzing saliency representations based on natural intuition to correlate features that stand out in the images.

Measuring the level of changes in output based on the presence or absence of a feature indicates its importance to the overall model prediction. This section explores a perturbation-based explainability example using local interpretable model-agnostic explanations (LIME).

LIME

We discussed LIME as a local approximation post hoc explainability framework in Chapter 6. In this section, let’s explore how LIME provides local explainability using interpretable representations through perturbations. LIME defines interpretable...