Transferring the Contamination Factor between Anomaly Detection Domains by Shape Similarity
Abstract
Anomaly detection attempts to find examples in a dataset that do not conform to the expected behavior. Algorithms for this task assign an anomaly score to each example representing its degree of anomalousness. Setting a threshold on the anomaly scores enables converting these scores into a discrete prediction for each example. Setting an appropriate threshold is challenging in practice since anomaly detection is often treated as an unsupervised problem. A common approach is to set the threshold based on the dataset's contamination factor, i.e., the proportion of anomalous examples in the data. While the contamination factor may be known based on domain knowledge, it is often necessary to estimate it by labeling data. However, many anomaly detection problems involve monitoring multiple related, yet slightly different entities (e.g., a fleet of machines). Then, estimating the contamination factor for each dataset separately by labeling data would be extremely time-consuming. Therefore, this paper introduces a method for transferring the known contamination factor from one dataset (the source domain) to a related dataset where it is unknown (the target domain). Our approach does not require labeled target data and is based on modeling the shape of the distribution of the anomaly scores in both domains. We theoretically analyze how our method behaves when the (biased) target domain anomaly score distribution converges to its true one. Empirically, our method outperforms several baselines on real-world datasets.
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.
6 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
- An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data Contamination cites Estimating the Contamination Factor's Distribution in Unsupervised Anomaly Detection
- Unsupervised Anomaly Detection with Rejection cites Estimating the Contamination Factor's Distribution in Unsupervised Anomaly Detection
- Deep Weakly-supervised Anomaly Detection cites Estimating the Contamination Factor's Distribution in Unsupervised Anomaly Detection
- Learning from Positive and Unlabeled Multi-Instance Bags in Anomaly Detection cites Estimating the Contamination Factor's Distribution in Unsupervised Anomaly Detection
Cited by top-tier papers6
- Deep Weakly-supervised Anomaly DetectionGuansong Pang, Chunhua Shen, Huidong Jin, Anton van den HengelKDD 2023 · 100 citations
- Estimating the Contamination Factor's Distribution in Unsupervised Anomaly DetectionLorenzo Perini, Paul-Christian Bürkner, Arto KlamiICML 2023 · 27 citations
- Unsupervised Anomaly Detection with RejectionLorenzo Perini, Jesse DavisNeurIPS 2023 · 17 citations
- Learning from Positive and Unlabeled Multi-Instance Bags in Anomaly DetectionLorenzo Perini, Vincent Vercruyssen, Jesse DavisKDD 2023 · 13 citations
- An Evidence-Based Post-Hoc Adjustment Framework for Anomaly Detection Under Data ContaminationSukanya Patra, Souhaib Ben TaiebNeurIPS 2025 · 4 citations
Builds on3
- Kitsune: An Ensemble of Autoencoders for Online Network Intrusion DetectionYisroel Mirsky, Tomer Doitshman, Yuval Elovici, Asaf ShabtaiNDSS 2018 · 945 citations
- Classification-Based Anomaly Detection for General DataLiron Bergman, Yedid HoshenICLR 2020 · 412 citations
- Transfer Learning for Anomaly Detection through Localized and Unsupervised Instance SelectionVincent Vercruyssen, Wannes Meert, Jesse DavisAAAI 2020 · 35 citations
Related papers
- Anomaly Detection with Score Distribution DiscriminationMinqi Jiang, Songqiao Han, Hailiang HuangKDD 2023 · 17 citations
- When Model Meets New Normals: Test-Time Adaptation for Unsupervised Time-Series Anomaly DetectionDongmin Kim, Sunghyun Park, Jaegul ChooAAAI 2024 · 43 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
- FlexUOD: The Answer to Real-world Unsupervised Image Outlier DetectionZhonghang Liu, Kun Zhou, Changshuo Wang, Wen-Yan Lin et al.CVPR 2025
- DoKnowAD: Calibrating Normal Representations with Refined Domain Knowledge to Enhance Time Series Anomaly DetectionShiwang Xing, Jianwei Niu, Tao RenAAAI 2026
