Isack Farady, Lakshay Bansal, S. Ruengittinun, Chia-Chen Kuo, Chih-Yang Lin
{"title":"探索使用CNN的不同特征级别进行异常检测","authors":"Isack Farady, Lakshay Bansal, S. Ruengittinun, Chia-Chen Kuo, Chih-Yang Lin","doi":"10.1109/ICSEC56337.2022.10049323","DOIUrl":null,"url":null,"abstract":"Anomaly detection is the task of uncovering out-of-distribution samples from the majority of data. Typically, this is treated as a one-class classification problem where the only data available to analyze is the normal data. With regard to collecting features of normal data, the high-dimensional features from CNN can be used to learn the normality. The last layer of CNN with more semantic information is generally used to learn the normality. In contrast, this work proposes learning features from different levels of high-dimensional features instead of using only high-level features. With the assumption that the training data is normally distributed, we present an anomaly detection algorithm consisting of a deep feature extraction stage with ResNet18 followed by dimensionality reduction via PCA. The anomaly classification stage comprises two class-conditional transformation models implemented via Gaussian Mixture Model. Our proposal leverages feature-reconstruction error as anomaly scores between two high-dimensional feature vectors. In this study, we analyze and compare the effect of using different blocks of a pre-trained ResNet18 on a well-known industrial anomaly detection dataset. Results suggest that using the best output features of CNN can significantly improve the model’s ability to predict anomalous samples.","PeriodicalId":430850,"journal":{"name":"2022 26th International Computer Science and Engineering Conference (ICSEC)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Exploring the Use of Different Feature Levels of CNN for Anomaly Detection\",\"authors\":\"Isack Farady, Lakshay Bansal, S. Ruengittinun, Chia-Chen Kuo, Chih-Yang Lin\",\"doi\":\"10.1109/ICSEC56337.2022.10049323\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Anomaly detection is the task of uncovering out-of-distribution samples from the majority of data. Typically, this is treated as a one-class classification problem where the only data available to analyze is the normal data. With regard to collecting features of normal data, the high-dimensional features from CNN can be used to learn the normality. The last layer of CNN with more semantic information is generally used to learn the normality. In contrast, this work proposes learning features from different levels of high-dimensional features instead of using only high-level features. With the assumption that the training data is normally distributed, we present an anomaly detection algorithm consisting of a deep feature extraction stage with ResNet18 followed by dimensionality reduction via PCA. The anomaly classification stage comprises two class-conditional transformation models implemented via Gaussian Mixture Model. Our proposal leverages feature-reconstruction error as anomaly scores between two high-dimensional feature vectors. In this study, we analyze and compare the effect of using different blocks of a pre-trained ResNet18 on a well-known industrial anomaly detection dataset. Results suggest that using the best output features of CNN can significantly improve the model’s ability to predict anomalous samples.\",\"PeriodicalId\":430850,\"journal\":{\"name\":\"2022 26th International Computer Science and Engineering Conference (ICSEC)\",\"volume\":\"24 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-12-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 26th International Computer Science and Engineering Conference (ICSEC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICSEC56337.2022.10049323\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 26th International Computer Science and Engineering Conference (ICSEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSEC56337.2022.10049323","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Exploring the Use of Different Feature Levels of CNN for Anomaly Detection
Anomaly detection is the task of uncovering out-of-distribution samples from the majority of data. Typically, this is treated as a one-class classification problem where the only data available to analyze is the normal data. With regard to collecting features of normal data, the high-dimensional features from CNN can be used to learn the normality. The last layer of CNN with more semantic information is generally used to learn the normality. In contrast, this work proposes learning features from different levels of high-dimensional features instead of using only high-level features. With the assumption that the training data is normally distributed, we present an anomaly detection algorithm consisting of a deep feature extraction stage with ResNet18 followed by dimensionality reduction via PCA. The anomaly classification stage comprises two class-conditional transformation models implemented via Gaussian Mixture Model. Our proposal leverages feature-reconstruction error as anomaly scores between two high-dimensional feature vectors. In this study, we analyze and compare the effect of using different blocks of a pre-trained ResNet18 on a well-known industrial anomaly detection dataset. Results suggest that using the best output features of CNN can significantly improve the model’s ability to predict anomalous samples.