Two-Layer Convolutional Autoencoders Trained on Normal Data Provably Detect Unseen Anomalies
Abstract
Anomaly detection refers to the techniques that identify (probably unseen) rare or suspicious data that deviate significantly from the pre-defined normal data (Chalapathy & Chawla, 2019; Ruff et al., 2021). Empirical studies have observed that generative models trained on normal data tend to produce larger reconstruction errors when reconstructing anomalies. Based on this observation, researchers have developed various anomaly detection methods, referred to as reconstruction-based anomaly detection (RBAD) (Lv et al., 2024; Li et al., 2024) in the literature.
Despite the empirical success of RBAD, the theoretical understanding of RBAD is still limited. This paper provides a theoretical analysis of RBAD. We analyze the training dynamics of a 2-layer convolutional autoencoder and introduce the cone set of the features. We prove that the cone sets of the normal features would absorb the (convolutional) kernels of the autoencoder during training and use these absorbed kernels to reconstruct the inputs. The absorbed kernels are more aligned with the normal features, which explains the cause of the reconstruction error gap between the normal data and the anomalies. Synthesized experiments are provided to validate our theoretical findings. We also visualize the training dynamics of the autoencoder on real-world data, demonstrating our proposed cone set intuition.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Toward Understanding the Feature Learning Process of Self-supervised Contrastive Learning cites Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learning
- Toward Understanding the Feature Learning Process of Self-supervised Contrastive Learning cites Feature Purification: How Adversarial Training Performs Robust Deep Learning
Builds on11
- Toward Understanding the Feature Learning Process of Self-supervised Contrastive LearningZixin Wen, Yuanzhi LiICML 2021 · 162 citations
- Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep LearningZeyuan Allen-Zhu, Yuanzhi LiICLR 2023 · 151 citations
- Detecting Semantic AnomaliesFaruk Ahmed, Aaron C. CourvilleAAAI 2020 · 93 citations
- Feature Purification: How Adversarial Training Performs Robust Deep LearningZeyuan Allen-Zhu, Yuanzhi LiFOCS 2021 · 83 citations
- On Diffusion Modeling for Anomaly DetectionVictor Livernoche, Vineet Jain, Yashar Hezaveh, Siamak RavanbakhshICLR 2024 · 74 citations
Related papers
- CurvGAD: Leveraging Curvature for Enhanced Graph Anomaly DetectionKarish Grover, Geoffrey J. Gordon, Christos FaloutsosICML 2025
- COGNOS: Universal Enhancement for Time Series Anomaly Detection via Constrained Gaussian-Noise Optimization and SmoothingWenlong Shang, Shihao Tian, Xutong Wan, Peng ChangICML 2026
- Temporal-Frequency Masked Autoencoders for Time Series Anomaly DetectionYuchen Fang, Jiandong Xie, Yan Zhao, Lu Chen et al.ICDE 2024 · 45 citations
- State-Derivative-Aware Neural Controlled Differential Equations for Multivariate Time Series Anomaly Detection and DiagnosisXin Sun, Heng Zhou, Yuhao Wu, Chao LiAAAI 2026
- Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly DetectionJia Guo, Shuai Lu, Weihang Zhang, Fang Chen et al.CVPR 2025
