Lune

AAAI2025Top-tier venue

CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly Detection

Xiaolei Wang, Xiaoyang Wang, Huihui Bai, Eng Gee Lim, Jimin Xiao

Abstract

Existing unsupervised distillation-based methods rely on the differences between encoded and decoded features to locate abnormal regions in test images. However, the decoder trained only on normal samples still reconstructs abnormal patch features well, degrading performance. This issue is particularly pronounced in unsupervised multi-class anomaly detection tasks. We attribute this behavior to ‘over-generalization’ (OG) of decoder: the significantly increasing diversity of patch patterns in multi-class training enhances the model generalization on normal patches, but also inadvertently broadens its generalization to abnormal patches. To mitigate ‘OG’, we propose a novel approach that leverages class-agnostic learnable prompts to capture common textual normality across various visual patterns, and then apply them to guide the decoded features towards a ‘normal’ textual representation, suppressing ‘over-generalization’ of the decoder on abnormal patterns. To further improve performance, we also introduce a gated mixture-of-experts module to specialize in handling diverse patch patterns and reduce mutual interference between them in multi-class training. Our method achieves competitive performance on the MVTec AD and VisA datasets, demonstrating its effectiveness.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • UniMMAD: Unified Multi-Modal and Multi-Class Anomaly Detection via MoE-Driven Feature Decompression cites Towards Total Recall in Industrial Anomaly Detection
  • UniMMAD: Unified Multi-Modal and Multi-Class Anomaly Detection via MoE-Driven Feature Decompression cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • UniMMAD: Unified Multi-Modal and Multi-Class Anomaly Detection via MoE-Driven Feature Decompression cites A Unified Model for Multi-class Anomaly Detection
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AnomalyMoE: Towards a Language-free Generalist Model for Unified Visual Anomaly Detection cites A Unified Model for Multi-class Anomaly Detection
  • Unifying Reconstruction and Density Estimation via Invertible Contraction Mapping in One-Class Classification cites Towards Total Recall in Industrial Anomaly Detection
  • Unifying Reconstruction and Density Estimation via Invertible Contraction Mapping in One-Class Classification cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • Unifying Reconstruction and Density Estimation via Invertible Contraction Mapping in One-Class Classification cites A Unified Model for Multi-class Anomaly Detection
  • Unifying Reconstruction and Density Estimation via Invertible Contraction Mapping in One-Class Classification cites DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly Detection
  • A Unified Model for Multi-class Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • A Unified Model for Multi-class Anomaly Detection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Normal-Abnormal Guided Generalist Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
  • Normal-Abnormal Guided Generalist Anomaly Detection cites DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly Detection
  • DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
  • DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly Detection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly Detection cites Learning Transferable Visual Models From Natural Language Supervision
  • DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly Detection cites A Unified Model for Multi-class Anomaly Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Normal-Abnormal Guided Generalist Anomaly DetectionYuexin Wang, Xiaolei Wang, Yizheng Gong, Jimin XiaoNeurIPS 2025 · 16 citations
  2. UniMMAD: Unified Multi-Modal and Multi-Class Anomaly Detection via MoE-Driven Feature DecompressionYuan Zhao, Youwei Pang, Lihe Zhang, Hanqi Liu et al.CVPR 2026 · 4 citations
  3. AnomalyMoE: Towards a Language-free Generalist Model for Unified Visual Anomaly DetectionZhaopeng Gu, Bingke Zhu, Guibo Zhu, Yingying Chen et al.AAAI 2026 · 3 citations
  4. DecAD: Decoupling Anomalies in Latent Space for Multi-Class Unsupervised Anomaly DetectionXiaolei Wang, Xiaoyang Wang, Huihui Bai, Eng Gee Lim et al.ICCV 2025 · 3 citations
  5. Unifying Reconstruction and Density Estimation via Invertible Contraction Mapping in One-Class ClassificationXiaolei Wang, Tianhong Dai, Huihui Bai, Yao Zhao et al.NeurIPS 2025 · 2 citations

Builds on29

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
  4. Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations
  5. A Unified Model for Multi-class Anomaly DetectionZhiyuan You, Lei Cui, Yujun Shen, Kai Yang et al.NeurIPS 2022 · 585 citations

Related papers

  1. Exploring Multimodal Prompts For Unsupervised Continuous Anomaly DetectionMingle Zhou, Jiahui Liu, Jin Wan, Gang Li et al.ACM MM 2025
  2. A Diffusion-Based Framework for Multi-Class Anomaly DetectionHaoyang He, Jiangning Zhang, Hongxu Chen, Xuhai Chen et al.AAAI 2024 · 231 citations
  3. Bidirectional Multimodal Prompt Learning with Scale-Aware Training for Few-Shot Multi-Class Anomaly DetectionYujin Lee, Sewon Kim, Daeun Moon, Seoyoon Jang et al.CVPR 2026
  4. One-for-All: Proposal Masked Cross-Class Anomaly DetectionXincheng Yao, Chongyang Zhang, Ruoqi Li, Jun Sun et al.AAAI 2023 · 42 citations
  5. PromptMoE: Generalizable Zero-Shot Anomaly Detection via Visually-Guided Prompt MixturesYuheng Shao, Lizhang Wang, Changhao Li, Peixian Chen et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines