HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

FAIR: Frequency-aware Image Restoration for Industrial Visual Anomaly Detection

Tongkun Liu Bing Li Xiao Du Bingke Jiang Leqi Geng Feiyang Wang Zhuo Zhao

FAIR: Frequency-aware Image Restoration for Industrial Visual Anomaly Detection

Abstract

Image reconstruction-based anomaly detection models are widely explored in industrial visual inspection. However, existing models usually suffer from the trade-off between normal reconstruction fidelity and abnormal reconstruction distinguishability, which damages the performance. In this paper, we find that the above trade-off can be better mitigated by leveraging the distinct frequency biases between normal and abnormal reconstruction errors. To this end, we propose Frequency-aware Image Restoration (FAIR), a novel self-supervised image restoration task that restores images from their high-frequency components. It enables precise reconstruction of normal patterns while mitigating unfavorable generalization to anomalies. Using only a simple vanilla UNet, FAIR achieves state-of-the-art performance with higher efficiency on various defect detection datasets. Code: https://github.com/liutongkun/FAIR.

Code Repositories

liutongkun/fair
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-mvtec-adFAIR
Detection AUROC: 98.6
Segmentation AUPRO: 94.0
Segmentation AUROC: 98.2
anomaly-detection-on-visaFAIRnoDTD
Detection AUROC: 97.1
Segmentation AUPRO (until 30% FPR): 91.2
Segmentation AUROC: 98.7

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