Xin Xie, Zixi Li, Shenping Xiong, Zhaoyang Liu, Tijian Cai
{"title":"MemFlow-AD: An anomaly detection and localization model based on memory module and normalizing flow","authors":"Xin Xie, Zixi Li, Shenping Xiong, Zhaoyang Liu, Tijian Cai","doi":"10.1016/j.jvcir.2025.104454","DOIUrl":null,"url":null,"abstract":"<div><div>Presently, in most anomaly detection methods, the training dataset contains a low frequency of anomalous data with diverse categories. However, these methods exhibit limited learning capacity for anomalous information, leading to weak model generalization and low detection accuracy. This paper proposes MemFlow-AD, an anomaly detection and localization model that integrates a memory module and a normalizing flow. MemFlow-AD supplements anomalous data using anomaly simulation, retains general patterns from normal samples via the memory module to discern potential differences between normal and anomalous samples, employs a 2D normalizing flow to extract distributional feature information from the data, and through multiscale feature fusion and attention mechanism to further enhance the feature expression ability of the model. Experimental results demonstrate outstanding performance in detecting and localizing anomalies on the MVTec dataset, achieving accuracies of 98.61% and 94.02%, respectively. Moreover, on the BTAD dataset, the model exhibits a 2.15% improvement in detection accuracy compared to current mainstream methods.</div></div>","PeriodicalId":54755,"journal":{"name":"Journal of Visual Communication and Image Representation","volume":"110 ","pages":"Article 104454"},"PeriodicalIF":2.6000,"publicationDate":"2025-04-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Visual Communication and Image Representation","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1047320325000689","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Presently, in most anomaly detection methods, the training dataset contains a low frequency of anomalous data with diverse categories. However, these methods exhibit limited learning capacity for anomalous information, leading to weak model generalization and low detection accuracy. This paper proposes MemFlow-AD, an anomaly detection and localization model that integrates a memory module and a normalizing flow. MemFlow-AD supplements anomalous data using anomaly simulation, retains general patterns from normal samples via the memory module to discern potential differences between normal and anomalous samples, employs a 2D normalizing flow to extract distributional feature information from the data, and through multiscale feature fusion and attention mechanism to further enhance the feature expression ability of the model. Experimental results demonstrate outstanding performance in detecting and localizing anomalies on the MVTec dataset, achieving accuracies of 98.61% and 94.02%, respectively. Moreover, on the BTAD dataset, the model exhibits a 2.15% improvement in detection accuracy compared to current mainstream methods.
期刊介绍:
The Journal of Visual Communication and Image Representation publishes papers on state-of-the-art visual communication and image representation, with emphasis on novel technologies and theoretical work in this multidisciplinary area of pure and applied research. The field of visual communication and image representation is considered in its broadest sense and covers both digital and analog aspects as well as processing and communication in biological visual systems.