Explainable Deep Anomaly Detection

  • Anomaly detection (AD) is the task of identifying data that deviate from expected behavior. Anomalies can take many forms, from unusual galaxy shapes to harmful heat build-ups in factories or cancer in medical imaging. Automatically detecting such data can prevent machine failures, reduce missed diagnosis, or simply flag rare and interesting cases for further analysis. Modern anomaly detectors often rely on deep neural networks. While these models achieve strong detection performance, their highly non-linear nature renders them opaque, with little insight into their reasoning. Yet, many applications require a transparent decision-making and in some regions, such as the EU, it is even legally mandated. This thesis contributes toward making deep anomaly detection more transparent, broadening the scope of applications, avoiding unfair systems, and increasing acceptance among practitioners. A first focus of this thesis is on exploring the impact of auxiliary anomalous training data on the detection behavior. Such data is often used as so-called "outlier exposure" in state-of-the-art models. The presented results suggest that outlier exposure has no harmful impact on the decision boundary, especially when combined with robust anomaly detectors. As such, we propose the hypersphere classifier which, based on the one-class classification paradigm, shows to be more robust with respect to the selection of outlier exposure data. To explicitly improve the transparency of anomaly detection, this thesis also introduces a novel, inherently explainable deep anomaly detection method. It uses a fully convolutional architecture with restricted receptive fields to localize regions of perceived anomalousness in the input, thereby explaining its decision. The thesis demonstrates the method's efficacy on various image datasets and shows how it can reveal spurious feature attribution of one-class detectors. However, there are situations in which an anomaly heatmap alone can not sufficiently explain the model's decision, particularly when the anomaly is not spatial. To address this, the thesis pioneers a post-hoc explanation method for image anomaly detectors using counterfactual examples. These are minimal alterations of an anomaly so that the detector perceives them as normal. We show that these explanations can provide semantic explanations of anomaly detectors, highlighting the higher-level aspects of an anomaly that triggered the detector. Finally, the thesis investigates two real-world medical applications of the proposed explainable anomaly detectors. We establish a clinical application in histopathology and demonstrate high performance on a unique real-world collection of gastrointestinal biopsies. Furthermore, we detect breast cancer in MRI scans and show that the explaining heatmaps reliably localize cancerous regions.
Metadaten
Author:Philipp Liznerski
URN:urn:nbn:de:hbz:386-kluedo-135850
DOI:https://doi.org/10.26204/KLUEDO/13585
Advisor:Marius Kloft
Document Type:Doctoral Thesis
Cumulative document:No
Language of publication:English
Date of Publication (online):2026/09/09
Year of first Publication:2026
Publishing Institution:Rheinland-Pfälzische Technische Universität Kaiserslautern-Landau
Granting Institution:Rheinland-Pfälzische Technische Universität Kaiserslautern-Landau
Acceptance Date of the Thesis:2026/08/13
Date of the Publication (Server):2026/09/09
Tag:anomaly detection; explainable artificial intelligence; one-class classification; outlier detection; outlier exposure
GND Keyword:Maschinelles Lernen; Künstliche Intelligenz; Neuronales Netz
Page Number:xvii, 222
Faculties / Organisational entities:Kaiserslautern - Fachbereich Informatik
CCS-Classification (computer science):I. Computing Methodologies / I.2 ARTIFICIAL INTELLIGENCE / I.2.6 Learning (K.3.2) / Parameter learning
DDC-Cassification:0 Allgemeines, Informatik, Informationswissenschaft / 004 Informatik
MSC-Classification (mathematics):68-XX COMPUTER SCIENCE (For papers containing software, source code, etc. in a specific mathematical area, see the classification number 04 in that area.) / 68Qxx Theory of computing / 68Q32 Computational learning theory [See also 68T05]
68-XX COMPUTER SCIENCE (For papers containing software, source code, etc. in a specific mathematical area, see the classification number 04 in that area.) / 68Txx Artificial intelligence / 68T05 Learning and adaptive systems [See also 68Q32, 91E40]
68-XX COMPUTER SCIENCE (For papers containing software, source code, etc. in a specific mathematical area, see the classification number 04 in that area.) / 68Txx Artificial intelligence / 68T10 Pattern recognition, speech recognition (For cluster analysis, see 62H30)
68-XX COMPUTER SCIENCE (For papers containing software, source code, etc. in a specific mathematical area, see the classification number 04 in that area.) / 68Txx Artificial intelligence / 68T45 Machine vision and scene understanding
68-XX COMPUTER SCIENCE (For papers containing software, source code, etc. in a specific mathematical area, see the classification number 04 in that area.) / 68Uxx Computing methodologies and applications / 68U10 Image processing
PACS-Classification (physics):00.00.00 GENERAL / 07.00.00 Instruments, apparatus, and components common to several branches of physics and astronomy (see also each subdiscipline for specialized instrumentation and techniques) / 07.05.-t Computers in experimental physics; Computers in education, see 01.50.H- and 01.50.Lc; Computational techniques, see 02.70.-c; Quantum computation architectures and implementations, see 03.67.Lx; Optical computers, see 42.79.Ta / 07.05.Mh Neural networks, fuzzy logic, artificial intelligence
Licence (German):Creative Commons 4.0 - Namensnennung (CC BY 4.0)