Patch-aware Vector Quantized Codebook Learning for Unsupervised Visual Defect Detection

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Cheng, Qisen, Qu, Shuhui, Lee, Janghwan
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909457606246400
author Cheng, Qisen
Qu, Shuhui
Lee, Janghwan
author_facet Cheng, Qisen
Qu, Shuhui
Lee, Janghwan
contents Unsupervised visual defect detection is critical in industrial applications, requiring a representation space that captures normal data features while detecting deviations. Achieving a balance between expressiveness and compactness is challenging; an overly expressive space risks inefficiency and mode collapse, impairing detection accuracy. We propose a novel approach using an enhanced VQ-VAE framework optimized for unsupervised defect detection. Our model introduces a patch-aware dynamic code assignment scheme, enabling context-sensitive code allocation to optimize spatial representation. This strategy enhances normal-defect distinction and improves detection accuracy during inference. Experiments on MVTecAD, BTAD, and MTSD datasets show our method achieves state-of-the-art performance.
format Preprint
id arxiv_https___arxiv_org_abs_2501_09187
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Patch-aware Vector Quantized Codebook Learning for Unsupervised Visual Defect Detection
Cheng, Qisen
Qu, Shuhui
Lee, Janghwan
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Unsupervised visual defect detection is critical in industrial applications, requiring a representation space that captures normal data features while detecting deviations. Achieving a balance between expressiveness and compactness is challenging; an overly expressive space risks inefficiency and mode collapse, impairing detection accuracy. We propose a novel approach using an enhanced VQ-VAE framework optimized for unsupervised defect detection. Our model introduces a patch-aware dynamic code assignment scheme, enabling context-sensitive code allocation to optimize spatial representation. This strategy enhances normal-defect distinction and improves detection accuracy during inference. Experiments on MVTecAD, BTAD, and MTSD datasets show our method achieves state-of-the-art performance.
title Patch-aware Vector Quantized Codebook Learning for Unsupervised Visual Defect Detection
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2501.09187