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

The problem

This section reviews an anomaly detection problem using the NYC Taxi Traffic dataset from Kaggle (https://www.kaggle.com/datasets/julienjta/nyc-taxi-traffic), sourced from the NYC Taxi and Limousine Commission. This dataset contains univariate time series observations of the total number of taxi passengers between July 2014 and January 2015, aggregated at 30-minute intervals. The data include five anomalies during the NYC Marathon, Thanksgiving, Christmas, New Year’s Day, and a snowstorm.

You will implement end-to-end anomaly detection by analyzing the NYC Taxi Traffic dataset, creating a Long Short Term Memory (LSTM) model to predict outliers, and explaining anomalies using an OmniXAI SHAP explainer.

The following section reviews a step-by-step walk-through for this example.