Focus and Supplement: Dual-Enhanced Vision Transformer for Multi-Class Anomaly Classification
Xurui Li, Enjie Xu, Chenzhou Li, Shilei Zeng, Dayou Huang, Tianyi Ma, Yu Zhou
Abstract
Multi-class anomaly classification in industrial vision remains challenging due to noisy/incomplete anomaly representations and the unknown number of anomaly classes. To overcome this, we propose MACO, a novel multi-class anomaly classification framework that learns comprehensive representations and dynamically estimates class number without prior knowledge. First, a soft-focus attention uses anomaly maps to concentrate on relevant abnormal regions, while suppressing background noise. Second, auxiliary classification ([A-CLS]) tokens complement the [CLS] token. They collectively attend to diverse anomaly sub-regions, yielding more holistic and discriminative features. These [A-CLS] tokens are also effective across more tasks and domains. To infer the class number, we propose Correlation-based Number Estimation strategy. It computes the average correlation among labeled classes and transfers its separability cue to the unlabeled set. Experiments on MVTec AD and MTD datasets demonstrate our superiority. Under known class number, MACO improves ARI by 6.5% and \textbf{16.3%} on both datasets, respectively. In the more challenging unknown number scenario, it achieves an \textbf{11.2%} NMI gain on MTD and outperforms existing number estimation strategies by \textbf{24.1%} UPS on MVTec AD. Code will be released at https://github.com/HUST-SLOW/MACO.
Create a lesson
Related papers
Focus Only on What's Important: Training-Free Focus Maps for Frozen Vision Transformers in Long-Video Object Segmentation
Shared title terminologycs.CVHarsha Karipineni, Rajesh Reddy Chintha
SentZero: An Enhanced Sentence-Centric Vision-Language Pretraining for Multi-Task Zero-Shot Chest X-Ray Analysis
Shared title terminologycs.CVHangyul Yoon, Hyungyung Lee, Edward Choi et al.
D^2-VLA: Dual-Memory Dual-Frequency Vision-Language-Action Model For Long Dynamic Manipulation
Shared title terminologycs.CVZijian Ye, Chengqi Wei, Wei Huang et al.
GLF-Q: Global-Local Feature-based Quantization for Vision Transformers
Shared title terminologycs.CVPeilin Sun, Guang Liang, Jin Tong et al.
DORA: Dynamic Online Reinforcement Agent for Token Pruning in Vision Transformers
Shared title terminologycs.CVKaixuan He, Song Chen, Yi Kang
WhiteCon: Semi-Supervised Domain Adaptation Regression Through Whitening Transform and Dual Consistency
Shared title terminologycs.CVSe Jin Sim, Seoung Bum Kim