Lune

NeurIPS2025Top-tier venue

Normal-Abnormal Guided Generalist Anomaly Detection

Yuexin Wang, Xiaolei Wang, Yizheng Gong, Jimin Xiao

Abstract

Generalist Anomaly Detection (GAD) aims to train a unified model on an original domain that can detect anomalies in new target domains. Previous GAD methods primarily use only normal samples as references, overlooking the valuable information contained in anomalous samples that are often available in real-world scenarios. To address this limitation, we propose a more practical approach: normal-abnormal-guided generalist anomaly detection, which leverages both normal and anomalous samples as references to guide anomaly detection across diverse domains. We introduce the Normal-Abnormal Generalist Learning (NAGL) framework, consisting of two key components: Residual Mining (RM) and Anomaly Feature Learning (AFL). RM extracts abnormal patterns from normal-abnormal reference residuals to establish transferable anomaly representations, while AFL adaptively learns anomaly features in query images through residual mapping to identify instance-aware anomalies. Our approach effectively utilizes both normal and anomalous references for more accurate and efficient cross-domain anomaly detection. Extensive experiments across multiple benchmarks demonstrate that our method significantly outperforms existing GAD approaches. This work represents the first to adopt a mixture of normal and abnormal samples as references in generalist anomaly detection. The code and datasets are available at https://github.com/JasonKyng/NAGL.

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.

2 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

  • Wavelet-Driven 3D Anomaly Detection under Pose-Agnostic and Sparse-View cites A Diffusion-Based Framework for Multi-Class Anomaly Detection
  • Hunting Normality from Query Sample via Residual Learning for Generalist Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
  • Hunting Normality from Query Sample via Residual Learning for Generalist Anomaly Detection cites Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection
  • Hunting Normality from Query Sample via Residual Learning for Generalist Anomaly Detection cites Dice Loss for Data-imbalanced NLP Tasks
  • Hunting Normality from Query Sample via Residual Learning for Generalist Anomaly Detection cites AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection
  • Hunting Normality from Query Sample via Residual Learning for Generalist Anomaly Detection cites A Diffusion-Based Framework for Multi-Class Anomaly Detection
  • 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 Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection
  • AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection cites Dice Loss for Data-imbalanced NLP Tasks
  • A Diffusion-Based Framework for Multi-Class Anomaly Detection cites Towards Total Recall in Industrial Anomaly Detection
  • A Diffusion-Based Framework for Multi-Class Anomaly Detection cites Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Wavelet-Driven 3D Anomaly Detection under Pose-Agnostic and Sparse-ViewMingwen Shao, Qiao Zhang, Xinyuan Chen, Xiang Lv et al.CVPR 2026
  2. Hunting Normality from Query Sample via Residual Learning for Generalist Anomaly DetectionXiaolei Wang, Yuexin Wang, Tianhong Dai, Huihui Bai et al.CVPR 2026

Builds on44

  1. Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
  2. Dice Loss for Data-imbalanced NLP TasksXiaoya Li, Xiaofei Sun, Yuxian Meng, Junjun Liang et al.ACL 2020 · 575 citations
  3. AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly DetectionQihang Zhou, Guansong Pang, Yu Tian, Shibo He et al.ICLR 2024 · 380 citations
  4. A Diffusion-Based Framework for Multi-Class Anomaly DetectionHaoyang He, Jiangning Zhang, Hongxu Chen, Xuhai Chen et al.AAAI 2024 · 231 citations
  5. Catching Both Gray and Black Swans: Open-set Supervised Anomaly DetectionChoubo Ding, Guansong Pang, Chunhua ShenCVPR 2022 · 163 citations

Related papers

  1. ResAD: A Simple Framework for Class Generalizable Anomaly DetectionXincheng Yao, Zixin Chen, Chao Gao, Guangtao Zhai et al.NeurIPS 2024 · 42 citations
  2. Learning Invariant Discriminative Patterns for Unified Anomaly DetectionChengcheng Xing, Yanyu Xu, Yonghui Xu, Lizhen CuiACM MM 2025
  3. Toward Generalist Anomaly Detection via In-Context Residual Learning with Few-Shot Sample PromptsJiawen Zhu, Guansong PangCVPR 2024 · 43 citations
  4. Rethinking Feature Alignment in Generalist Graph Anomaly Detection: A Relational Fingerprint-based ApproachYujing Liu, Yixin Liu, Yu Zheng, Alan Liew et al.ICML 2026 · 1 citation
  5. ARC: A Generalist Graph Anomaly Detector with In-Context LearningYixin Liu, Shiyuan Li, Yu Zheng, Qingfeng Chen et al.NeurIPS 2024 · 73 citations
Dusk over the sea between two cliffs drawn in fine vertical lines