Learnable product quantization for anomaly detection

被引:0
作者
Zhang, Shi [1 ,2 ]
Chen, Weilin [1 ]
Lu, Binolong [1 ]
Lai, Huixia [1 ]
机构
[1] Fujian Normal Univ, Coll Comp & Cyber Secur, Fuzhou 350117, Fujian, Peoples R China
[2] Fujian Normal Univ, Digit Fujian Internet Things Lab Environm Monitori, Fuzhou 350117, Fujian, Peoples R China
基金
中国国家自然科学基金;
关键词
Anomaly detection; Product quantization; Deep learning; Quantization error;
D O I
10.1016/j.neucom.2024.127532
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In many anomaly detection applications, anomaly samples are difficult to obtain. We propose a novel product quantization (PQ) -based anomaly detection scheme: Learnable Product Quantization (LPQ), which only requires very few abnormal samples to train the model. The scheme extracts feature from high -dimensional data using the deep learning network, decomposes the feature space into a Cartesian product of low dimensional subspaces using PQ, and then produces sub-codebooks consisting of sub-codewords with clustering techniques. As a result, the extracted features with similar sub -vector are mapped into the same bucket, which reduces the time complexity of nearest neighbor retrieval significantly. In order to achieve reasonable codebooks, a PQ Table is embedded into the network. While training, we propose a novel metric learning strategy that makes the semantically similar (normal) samples closer and dissimilar (outlier) samples farther. The experimental results on benchmark datasets demonstrate that our metric learning strategy is better than the triplet loss and the sigmoid cross -entropy loss on the anomaly detection task. In general, LPQ shows excellent performance and high efficiency in anomaly detection.
引用
收藏
页数:10
相关论文
共 41 条
[1]  
Andrews J., 2016, International Journal of Machine Learning and Computing, V6, P21, DOI [10.18178/ijmlc.2016.6.1.565, DOI 10.18178/IJMLC.2016.6.1.565, 10.18178/ijmlc.2016. 6.1.565]
[2]  
Arias LAS, 2022, Arxiv, DOI arXiv:2212.02645
[3]   A Review on Outlier/Anomaly Detection in Time Series Data [J].
Blazquez-Garcia, Ane ;
Conde, Angel ;
Mori, Usue ;
Lozano, Jose A. .
ACM COMPUTING SURVEYS, 2022, 54 (03)
[4]  
Chalapathy R, 2016, Arxiv, DOI arXiv:1609.07585
[5]  
Chalapathy R, 2019, Arxiv, DOI arXiv:1802.06360
[6]  
Chalapathy R, 2019, Arxiv, DOI [arXiv:1901.03407, DOI 10.48550/ARXIV.1901.03407]
[7]   Learning to Index for Nearest Neighbor Search [J].
Chiu, Chih-Yi ;
Prayoonwong, Amorntip ;
Liao, Yin-Chih .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2020, 42 (08) :1942-1956
[8]  
Di Mattia F, 2021, Arxiv, DOI [arXiv:1906.11632, 10.48550/ARXIV.1906.11632]
[9]   Unsupervised Anomaly Detection With LSTM Neural Networks [J].
Ergen, Tolga ;
Kozat, Suleyman Serdar .
IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2020, 31 (08) :3127-3141
[10]   Quantization [J].
Gray, RM ;
Neuhoff, DL .
IEEE TRANSACTIONS ON INFORMATION THEORY, 1998, 44 (06) :2325-2383