Gradient-Based Novelty Detection Boosted by Self-Supervised Binary Classification
Jingbo Sun, Li Yang, Jiaxin Zhang, Frank Liu, Mahantesh Halappanavar, Deliang Fan, Yu Cao
Abstract
Novelty detection aims to automatically identify out-of-distribution (OOD) data, without any prior knowledge of them. It is a critical step in data monitoring, behavior analysis and other applications, helping enable continual learning in the field. Conventional methods of OOD detection perform multi-variate analysis on an ensemble of data or features, and usually resort to the supervision with OOD data to improve the accuracy. In reality, such supervision is impractical as one cannot anticipate the anomalous data. In this paper, we propose a novel, self-supervised approach that does not rely on any pre-defined OOD data: (1) The new method evaluates the Mahalanobis distance of the gradients between the in-distribution and OOD data. (2) It is assisted by a self-supervised binary classifier to guide the label selection to generate the gradients, and maximize the Mahalanobis distance. In the evaluation with multiple datasets, such as CIFAR-10, CIFAR-100, SVHN and TinyImageNet, the proposed approach consistently outperforms state-of-the-art supervised and unsupervised methods in the area under the receiver operating characteristic (AUROC) and area under the precision-recall curve (AUPR) metrics. We further demonstrate that this detector is able to accurately learn one OOD class in continual learning.
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.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites SSD: A Unified Framework for Self-Supervised Outlier Detection
- GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites Pursuing Feature Separation based on Neural Collapse for Out-of-Distribution Detection
Cited by top-tier papers4
- Exploring Transformers for Open-world Instance SegmentationJiannan Wu, Yi Jiang, Bin Yan, Huchuan Lu et al.ICCV 2023 · 7 citations
- GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution DetectionMariia Seleznova, Hung-Hsu Chou, Claudio Mayrink Verdun, Gitta KutyniokICLR 2026 · 2 citations
- Topological Structure Learning for Weakly-Supervised Out-of-Distribution DetectionRundong He, Rongxue Li, Zhongyi Han, Xihong Yang et al.ACM MM 2023 · 1 citation
- Pursuing Feature Separation based on Neural Collapse for Out-of-Distribution DetectionYingwen Wu, Ruiji Yu, Xinwen Cheng, Zhengbao He et al.ICLR 2025
Builds on1
Related papers
- Contrastive Out-of-Distribution Detection for Pretrained TransformersWenxuan Zhou, Fangyu Liu, Muhao ChenEMNLP 2021 · 63 citations
- CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive LearningCharles Guille-Escuret, Pau Rodríguez, David Vázquez, Ioannis Mitliagkas et al.NeurIPS 2023 · 17 citations
- Forte : Finding Outliers with Representation Typicality EstimationDebargha Ganguly, Warren Richard Morningstar, Andrew Seohwan Yu, Vipin ChaudharyICLR 2025
- Simple and Effective Out-of-Distribution Detection via Cosine-based Softmax LossSoonCheol Noh, DongEon Jeong, Jee-Hyong LeeICCV 2023 · 6 citations
- Anomaly Detection under Distribution ShiftTri Cao, Jiawen Zhu, Guansong PangICCV 2023 · 54 citations
