[Paper Review] Classification-Based Anomaly Detection for General Data
GOAD unifies open-set and transformation-based classification for anomaly detection on general (including tabular) data, using affine transformations and a distance-based scoring in a learned feature space.
Anomaly detection, finding patterns that substantially deviate from those seen previously, is one of the fundamental problems of artificial intelligence. Recently, classification-based methods were shown to achieve superior results on this task. In this work, we present a unifying view and propose an open-set method, GOAD, to relax current generalization assumptions. Furthermore, we extend the applicability of transformation-based methods to non-image data using random affine transformations. Our method is shown to obtain state-of-the-art accuracy and is applicable to broad data types. The strong performance of our method is extensively validated on multiple datasets from different domains.
Motivation & Objective
- Motivation to improve anomaly detection with semi-supervised, classification-based methods that require only normal training data.
- Propose a unifying framework (GOAD) that extends transformation-based methods to general data via affine transformations.
- Learn a discriminative feature space where transformed subspaces are well separated and anomalies are scored by distance to subspace centers.
- Generalize transformation sets beyond images to affine transformations for broad applicability, including tabular data.
- Demonstrate robustness to adversarial attacks and validate on multiple domains (image and tabular).
Proposed method
- Transform data into M subspaces X1,...,XM via a learned affine transformation T(x,m)=Wm x + bm.
- Model each subspace in feature space as a center cm; measure distance using a triplet-center loss to encourage intra-cluster compactness and inter-cluster separation (Eq. 3).
- Compute the transformation likelihood as a softmax over negative distances to centers (Eq. 2) and apply a small epsilon to regularize uncertain regions (Eq. 4).
- Aggregate transformed-sample likelihoods to obtain the normality score Score(x) = - sum_m log P̃(T(x,m) ∈ Xm) (Eq. 5).
- Extend transformations to affine maps to handle non-image data and improve robustness to adversarial examples.
- Compare openset-based GOAD with softmax-style methods and evaluate on image (CIFAR-10, Fashion-MNIST) and tabular datasets (medical and cyber-security).
Experimental results
Research questions
- RQ1Can a unified, open-set driven, transformation-based approach improve anomaly detection across general data types including tabular data?
- RQ2Does extending transformations to affine mappings improve generalization and robustness over image-specific geometric transforms?
- RQ3How does GOAD perform relative to state-of-the-art classification- and reconstruction-based anomaly detectors on diverse domains?
- RQ4Is the learned feature space with center-based clustering effective for detecting anomalies in semi-supervised settings with only normal data?
- RQ5What is the impact of randomizing transformations on robustness to adversarial manipulation?
Key findings
- GOAD achieves state-of-the-art or competitive accuracy on CIFAR-10 and Fashion-MNIST anomaly detection benchmarks.
- On CIFAR-10, GOAD average ROC-AUC is 88.2% versus 64.8% (Deep-SVDD), 81.6% (GEOM, no Dirichlet), and 86.0% (GEOM, with Dirichlet).
- On Fashion-MNIST, GOAD average ROC-AUC is 94.1% versus 92.8% (Deep-SVDD) and 79.8% (GEOM, no Dirichlet) and 93.5% (GEOM, with Dirichlet).
- GOAD demonstrates robustness to adversarial attacks by using random affine transformations, reducing exploitation by attackers across CIFAR-10.
- GOAD extends to tabular datasets (Arrhythmia, Thyroid, KDD, KDDRev) and outperforms many baselines (OC-SVM, E2E-AE, LOF, DAGMM, FB-AE) on several metrics, particularly on KDD/KDDRev; random transformations improve robustness.
- Increasing the number of transformations generally reduces score variance and improves performance on larger datasets; a minimum of around 16 tasks suggested for stable results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.