CVPR Findings2026
MegAD: An Expert in Meta-Learning Guided Few-Shot Anomaly Detection
Xinying Li, Junfeng Jing, Tong Wu, Tian Gao, Zhihong Sheng
Abstract
Current anomaly detection methods face significant challenges in complex industrial scenarios, including pronounced Inter-Class Disparity (ICD), insufficient few-shot generalization capabilities, and heavy reliance on manual prompt engineering. This paper proposes an anomaly detection expert framework (called MegAD), which eliminates the need for manually designed anomaly prompt templates and enables the detection of unseen anomalies with minimal samples. Our main insight is to employ an assisted learning mechanism to balance and optimize the Mixture of Experts (MoE) architecture, effectively addressing ICD. Combined with meta-learning guided anomaly prompt generation, the framework automatically produces context-aware anomaly semantic descriptions, significantly enhancing generalization performance for unseen anomaly types. Furthermore, we introduce the M-Former module to ensure visual-textual feature consistency during expert learning while strengthening fine-grained anomaly localization capabilities. All components undergo end-to-end joint training for synergistic optimization. Extensive experiments across 9 anomaly detection datasets spanning industrial and medical domains demonstrate that MegAD consistently achieves state-of-the-art performance, validating its robustness and generalization superiority. Code: https://github.com/lixinying0727/MegAD
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.
Lineage
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Learning Transferable Visual Models From Natural Language Supervision
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites A Unified Model for Multi-class Anomaly Detection
- A Unified Model for Multi-class Anomaly Detection cites Anomaly Detection via Reverse Distillation from One-Class Embedding
Builds on23
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
- Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations
- A Unified Model for Multi-class Anomaly DetectionZhiyuan You, Lei Cui, Yujun Shen, Kai Yang et al.NeurIPS 2022 · 585 citations
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly DetectionQihang Zhou, Guansong Pang, Yu Tian, Shibo He et al.ICLR 2024 · 380 citations
Related papers
- 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
- PromptMoE: Generalizable Zero-Shot Anomaly Detection via Visually-Guided Prompt MixturesYuheng Shao, Lizhang Wang, Changhao Li, Peixian Chen et al.AAAI 2026
- 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
- Exploring High-order-aware Prompt Learning for Zero-shot Anomaly DetectionShun Wei, Jielin Jiang, Xiaolong XuAAAI 2026
- PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly DetectionXiaofan Li, Zhizhong Zhang, Xin Tan, Chengwei Chen et al.CVPR 2024
