HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

LADMIM: Logical Anomaly Detection with Masked Image Modeling in Discrete Latent Space

Shunsuke Sakai Tatushito Hasegawa Makoto Koshino

LADMIM: Logical Anomaly Detection with Masked Image Modeling in Discrete Latent Space

Abstract

Detecting anomalies such as incorrect combinations of objects or deviations in their positions is a challenging problem in industrial anomaly detection. Traditional methods mainly focus on local features of normal images, such as scratches and dirt, making detecting anomalies in the relationships between features difficult. Masked image modeling(MIM) is a self-supervised learning technique that predicts the feature representation of masked regions in an image. To reconstruct the masked regions, it is necessary to understand how the image is composed, allowing the learning of relationships between features within the image. We propose a novel approach that leverages the characteristics of MIM to detect logical anomalies effectively. To address blurriness in the reconstructed image, we replace pixel prediction with predicting the probability distribution of discrete latent variables of the masked regions using a tokenizer. We evaluated the proposed method on the MVTecLOCO dataset, achieving an average AUC of 0.867, surpassing traditional reconstruction-based and distillation-based methods.

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-mvtec-loco-adLADMIM
Avg. Detection AUROC: 86.0
Detection AUROC (only logical): 83.1
Detection AUROC (only structural): 90.3

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
LADMIM: Logical Anomaly Detection with Masked Image Modeling in Discrete Latent Space | Papers | HyperAI