Back to results

University of Cambridge

Bayesian autoencoders for anomaly detection: Design, uncertainty quantification, and explainability with industrial applications

Abstract

dc:description.abstract

Detection of anomalies is a vital aspect of many industrial applications, such as condition monitoring, quality monitoring, and demand forecasting, among others. The increasing capabilities of data storage and processing systems have facilitated the use of powerful models such as autoencoders (AEs), a class of neural networks (NNs), to achieve state-of-the-art results in anomaly detection. Nevertheless, there are growing concerns regarding the safety and trustworthiness of AEs, as recent studies have reported the surprising failures of AEs on seemingly trivial benchmarks; existing AEs also lack capabilities to quantify uncertainty and explain why a prediction is made, eroding trust in their adoption. To address these research gaps, this thesis contributes to the development of Bayesian autoencoders (BAEs) in three ways: (1) formulation and design, (2) uncertainty quantification, and (3) explainability. The BAEs ground design and analysis on a well-studied probabilistic foundation and implement Bayesian model averaging to improve detection performance. This thesis compares various design choices of BAEs. The use of Bernoulli likelihood is found to cause unreliable performance; alternative likelihood fixes this. In addition, using non-bottlenecked architectures improves performance, contradicting conventional belief of the need for a bottleneck. Next, the formulation of BAEs is extended to quantify the uncertainty of anomaly detection, capturing both epistemic and aleatoric components. Communicating uncertainty is necessary for knowing when the predictions are doubtful; filtering away uncertain predictions leaves us with more accurate predictions. To improve the explainability of BAEs, two feature attribution methods are developed based on the mean and epistemic uncertainty of log-likelihood estimates. This work proposes "Coalitional BAE" to improve explainability by reducing misleading explanations stemming from correlated outputs. The BAEs are applied to benchmark datasets and industrial case studies for condition monitoring and quality inspection. The proposed BAEs significantly outperform the deterministic AEs for anomaly detection in terms of accuracy, uncertainty quantification, and explainability. Future pilot studies should investigate the limitations and feasibility of deploying the methods in real-world systems.

Degree

thesis:*
Name dc:type.qualificationname
Doctor of Philosophy (PhD)
Level dc:type.qualificationlevel
Doctoral
Grantor dc:publisher.institution
University of Cambridge
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yong, Bang Xiang
Advisor dc:contributor.advisor
  • Brintrup, Alexandra

Subjects

dc:subject × 5

Rights

dc:rights
Language dc:language
eng

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.17863/CAM.91848
OAI identifier oai:identifier
oai:www.repository.cam.ac.uk:1810/344426

Chain of custody

source
Harvested from
Cambridge University
Base URL
api.repository.cam.ac.uk/server/oai/request
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Yong, Bang Xiang. Bayesian autoencoders for anomaly detection: Design, uncertainty quantification, and explainability with industrial applications. Doctoral thesis, University of Cambridge, 2022. https://doi.org/10.17863/CAM.91848