HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Deep One-Class Classification via Interpolated Gaussian Descriptor

Yuanhong Chen Yu Tian Guansong Pang Gustavo Carneiro

Deep One-Class Classification via Interpolated Gaussian Descriptor

Abstract

One-class classification (OCC) aims to learn an effective data description to enclose all normal training samples and detect anomalies based on the deviation from the data description. Current state-of-the-art OCC models learn a compact normality description by hyper-sphere minimisation, but they often suffer from overfitting the training data, especially when the training set is small or contaminated with anomalous samples. To address this issue, we introduce the interpolated Gaussian descriptor (IGD) method, a novel OCC model that learns a one-class Gaussian anomaly classifier trained with adversarially interpolated training samples. The Gaussian anomaly classifier differentiates the training samples based on their distance to the Gaussian centre and the standard deviation of these distances, offering the model a discriminability w.r.t. the given samples during training. The adversarial interpolation is enforced to consistently learn a smooth Gaussian descriptor, even when the training data is small or contaminated with anomalous samples. This enables our model to learn the data description based on the representative normal samples rather than fringe or anomalous samples, resulting in significantly improved normality description. In extensive experiments on diverse popular benchmarks, including MNIST, Fashion MNIST, CIFAR10, MVTec AD and two medical datasets, IGD achieves better detection accuracy than current state-of-the-art models. IGD also shows better robustness in problems with small or contaminated training sets. Code is available at https://github.com/tianyu0207/IGD.

Code Repositories

tianyu0207/IGD
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-fashion-mnistIGD (scratch)
ROC AUC: 92.01
anomaly-detection-on-fashion-mnistIGD (pre-trained ImageNet)
ROC AUC: 93.57
anomaly-detection-on-fashion-mnistIGD (pre-trained SSL)
ROC AUC: 94.41
anomaly-detection-on-hyper-kvasir-datasetIGD
AUC: 0.939
anomaly-detection-on-lagIGD
AUC: 0.796
anomaly-detection-on-mnistIGD (pre-trained ImageNet)
ROC AUC: 99.27
anomaly-detection-on-mnistIGD (scratch)
ROC AUC: 98.69
anomaly-detection-on-mvtec-adIGD
Detection AUROC: 93.4
anomaly-detection-on-mvtec-adIGD (pre-trained ImageNet)
Detection AUROC: 92.6
Segmentation AUROC: 91
anomaly-detection-on-mvtec-adIGD (pre-trained SSL)
Detection AUROC: 93.4
Segmentation AUROC: 93.0
anomaly-detection-on-one-class-cifar-10IGD (pre-trained SSL)
AUROC: 91.25
anomaly-detection-on-one-class-cifar-10IGD (scratch)
AUROC: 74.33
anomaly-detection-on-one-class-cifar-10IGD (pre-trained ImageNet)
AUROC: 83.68

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp