CADet: Fully Self-Supervised Anomaly Detection With Contrastive Learning

被引:0
作者
Guille-Escuret, Charles [1 ,2 ]
Rodriguez, Pau [1 ]
Vazquez, David [1 ]
Mitliagkas, Ioannis [2 ,3 ]
Monteiro, Joao [1 ]
机构
[1] ServiceNow Res, Montreal, PQ, Canada
[2] Univ Montreal, Mila, Montreal, PQ, Canada
[3] CIFAR AI, Toronto, ON, Canada
来源
ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023) | 2023年
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Handling out-of-distribution (OOD) samples has become a major stake in the real-world deployment of machine learning systems. This work explores the use of self-supervised contrastive learning to the simultaneous detection of two types of OOD samples: unseen classes and adversarial perturbations. First, we pair self-supervised contrastive learning with the maximum mean discrepancy (MMD) two-sample test. This approach enables us to robustly test whether two independent sets of samples originate from the same distribution, and we demonstrate its effectiveness by discriminating between CIFAR-10 and CIFAR-10.1 with higher confidence than previous work. Motivated by this success, we introduce CADet (Contrastive Anomaly Detection), a novel method for OOD detection of single samples. CADet draws inspiration from MMD, but leverages the similarity between contrastive transformations of a same sample. CADet outperforms existing adversarial detection methods in identifying adversarially perturbed samples on ImageNet and achieves comparable performance to unseen label detection methods on two challenging benchmarks: ImageNet-O and iNaturalist. Significantly, CADet is fully self-supervised and requires neither labels for in-distribution samples nor access to OOD examples.(1)
引用
收藏
页数:16
相关论文
共 76 条
[1]  
Abusnaina A., 2021, INT C COMP VIS
[2]  
[Anonymous], 2016, ARXIV161104488
[3]  
Bergman L., 2020, arXiv preprint arXiv:2005.02359
[4]  
Carlini N., 2017, SECURITY PRIVACY
[5]  
Chen T., 2020, Advances in Neural Information Processing Systems, V33, P22243
[6]  
Chen T., 2020, INT C MACHINE LEARNI
[7]  
Cheng X., 2019, ARXIV190911298
[8]  
Choi H., 2018, ARXIV181001392
[9]  
Chwialkowski K., 2015, ARXIV150604725
[10]  
Deecke Lucas, 2018, JOINT EUR C MACH LEA, P3