Semi-Supervised Anomaly Detection through Denoising-Aware Contrastive Distance Learning
Jianling Gao, Chongyang Tao, Zhenchao Sun, Xiya Jiang, Shuai Ma
Abstract
Semi-supervised anomaly detection (AD) has garnered growing attention due to its ability to effectively leverage limited labeled data to identify anomalies. However, current methods often impose artificial constraints on the proportion of unlabeled anomalies in the training set, thereby impeding the effective training of models for anomaly detection in real-world scenarios where several anomalies may be present in the unlabeled dataset. Additionally, existing methods often struggle to effectively exploit and model the complex relationships between data instances, which is critical for learning more discriminative features and accurate distance measures. Distance-based methods, in particular, typically rely on Euclidean distance metric, which lacks the flexibility to capture complex correlations across different data dimensions. To address the above challenges, we propose CAD, a denoising-aware Contrastive distance learning framework for semi-supervised AD. It introduces a contrastive training objective to facilitate the learning of distinctive representations by contrasting the average distance between anomalies and unlabeled samples. To fully exploit the information from the unlabeled data meanwhile mitigate the effects of noise, we incorporate a two-stage anomaly denoising and expansion strategy to refine the dataset by identifying high-confidence samples from the unlabeled set. Furthermore, we employ a parameterized bilinear tensor distance layer to learn a customized distance metric, enabling the model to capture intricate relationships among data points. Extensive experiments on 10 real-world datasets demonstrate that CAD significantly outperforms existing semi-supervised AD models. Code available at https://github.com/CADrepo/CAD.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 7641368d-96cd-4283-baa8-9e244b489c83Related papers
- Diffusion-Scheduled Denoising Autoencoders for Anomaly Detection in Tabular DataTimur Sattarov, Marco Schreyer, Damian BorthKDD 2025 · 3 citations
- Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly DetectionXincheng Yao, Ruoqi Li, Jing Zhang, Jun Sun et al.CVPR 2023
- Contrastive Learning for Fraud Detection from Noisy LabelsVinay M. S., Shuhan Yuan, Xintao WuICDE 2024 · 2 citations
- Cross-Domain Graph Anomaly Detection via Anomaly-Aware Contrastive AlignmentQizhou Wang, Guansong Pang, Mahsa Salehi, Wray L. Buntine et al.AAAI 2023 · 51 citations
- Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly DetectionHyunGi Kim, Jisoo Mok, Dongjun Lee, Jaihyun Lew et al.ICML 2025
