Beyond Normal References: Discriminative Few-Shot Anomaly Detection
Huan Wang, Jun Shen, Jun Yan, Guansong Pang
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Anomaly Detection and Model Robustness · Type: new method · Keywords: few-shot anomaly detection, discriminative references, intrinsic deviation, normal variation eraser, generalization
Areas: Continual Learning & Adaptation › Domain Shift Adaptation › Domain Adaptation
Summary
IDEAL is an intrinsic deviation learning framework that leverages both normal and anomalous references to learn discriminative deviation patterns for few-shot anomaly detection.
Explained to a 5-year-old
In some tasks we need to spot things that are not normal, like a broken toy among working ones. Usually we only have a few examples of normal things to learn from, but sometimes we also have a few examples of broken things. The new idea uses both kinds of examples to learn what makes things special. First, it looks at the normal toys and removes the parts that are just normal differences, like different colors or sizes. This helps the system focus on the parts that really show something is wrong. Then it uses those important differences to check new items and see if they look unusual.
Explained to a 5-year-old, longer
Imagine you have a box of toys, and you know what a normal toy looks like. You also have a few toys that are broken or look different. The goal is to tell if a new toy you haven't seen before is normal or broken. The paper says that using only normal toys is not enough because you miss important clues. It also says that using both normal and broken toys can cause the system to remember the broken ones too well. So the new method tries to learn from both kinds of toys without getting confused. First, it looks at the normal toys and removes the parts that are just normal differences, like different colors or sizes. This helps the system focus on the parts that really show something is wrong. Then it creates special directions that capture the most important differences between normal and broken toys. These directions act like a map that shows how things can go wrong. When a new toy appears, the system checks if it follows the normal map or goes off the map in a bad way. This way, the system can spot new problems it has never seen before.
For a technical reader
IDEAL addresses the limitation of existing few-shot anomaly detection methods that rely solely on normal reference examples. It introduces a Normal Variation Eraser to filter out irrelevant normal variations and an Intrinsic Deviation Encoder to extract discriminative deviation vectors. By projecting query samples onto these deviation vectors, the approach scores how far they deviate from normality, enabling generalization to unseen anomalies. Experiments on eight real-world datasets demonstrate that IDEAL consistently outperforms state-of-the-art baselines. The framework is lightweight and can be integrated into existing pipelines for robust anomaly detection with limited labeled data.
Problem
Existing few-shot anomaly detection methods rely only on normal reference examples, missing discriminative information from anomalous references, while using both can overfit to seen anomalies.
Method
The approach decomposes learning into a component that suppresses nuisance normal variations to highlight anomaly-relevant deviations, and another component that encodes these deviations into intrinsic deviation vectors capturing discriminative orthogonal directions. At inference, query-to-normal deviations are scored after projection onto these vectors.
Results
The approach shows effective generalization to unseen anomalies and consistently outperforms existing state-of-the-art methods.
Contributions
The paper introduces a discriminative few-shot anomaly detection setting that utilizes both normal and anomalous references, proposes a Normal Variation Eraser and an Intrinsic Deviation Encoder to learn intrinsic deviation patterns, and demonstrates strong generalization to unseen anomalies.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction