U-Flow: A U-Shaped Normalizing Flow for Anomaly Detection with Unsupervised Threshold

IF 1.3 4区 数学 Q4 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Matías Tailanian, Álvaro Pardo, Pablo Musé
{"title":"U-Flow: A U-Shaped Normalizing Flow for Anomaly Detection with Unsupervised Threshold","authors":"Matías Tailanian, Álvaro Pardo, Pablo Musé","doi":"10.1007/s10851-024-01193-y","DOIUrl":null,"url":null,"abstract":"<p>In this work, we propose a one-class self-supervised method for anomaly segmentation in images that benefits from both a modern machine learning approach and a more classic statistical detection theory. The method consists of four phases. First, features are extracted using a multi-scale image transformer architecture. Then, these features are fed into a U-shaped normalizing flow (NF) that lays the theoretical foundations for the subsequent phases. The third phase computes a pixel-level anomaly map from the NF embedding, and the last phase performs a segmentation based on the <i>a contrario</i> framework. This multiple hypothesis testing strategy permits the derivation of robust unsupervised detection thresholds, which are crucial in real-world applications where an operational point is needed. The segmentation results are evaluated using the mean intersection over union metric, and for assessing the generated anomaly maps we report the area under the receiver operating characteristic curve (<i>AUROC</i>), as well as the area under the per-region-overlap curve (<i>AUPRO</i>). Extensive experimentation in various datasets shows that the proposed approach produces state-of-the-art results for all metrics and all datasets, ranking first in most MVTec-AD categories, with a mean pixel-level <i>AUROC</i> of 98.74%. Code and trained models are available at https://github.com/mtailanian/uflow.</p>","PeriodicalId":16196,"journal":{"name":"Journal of Mathematical Imaging and Vision","volume":null,"pages":null},"PeriodicalIF":1.3000,"publicationDate":"2024-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Mathematical Imaging and Vision","FirstCategoryId":"100","ListUrlMain":"https://doi.org/10.1007/s10851-024-01193-y","RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

In this work, we propose a one-class self-supervised method for anomaly segmentation in images that benefits from both a modern machine learning approach and a more classic statistical detection theory. The method consists of four phases. First, features are extracted using a multi-scale image transformer architecture. Then, these features are fed into a U-shaped normalizing flow (NF) that lays the theoretical foundations for the subsequent phases. The third phase computes a pixel-level anomaly map from the NF embedding, and the last phase performs a segmentation based on the a contrario framework. This multiple hypothesis testing strategy permits the derivation of robust unsupervised detection thresholds, which are crucial in real-world applications where an operational point is needed. The segmentation results are evaluated using the mean intersection over union metric, and for assessing the generated anomaly maps we report the area under the receiver operating characteristic curve (AUROC), as well as the area under the per-region-overlap curve (AUPRO). Extensive experimentation in various datasets shows that the proposed approach produces state-of-the-art results for all metrics and all datasets, ranking first in most MVTec-AD categories, with a mean pixel-level AUROC of 98.74%. Code and trained models are available at https://github.com/mtailanian/uflow.

Abstract Image

U-Flow:利用无监督阈值进行异常检测的 U 型归一化流程
在这项工作中,我们提出了一种用于图像异常分割的单类自监督方法,该方法同时受益于现代机器学习方法和更经典的统计检测理论。该方法包括四个阶段。首先,使用多尺度图像转换器架构提取特征。然后,将这些特征输入 U 型归一化流程(NF),为后续阶段奠定理论基础。第三阶段根据 NF 嵌入计算像素级异常图,最后一个阶段根据相反框架进行分割。这种多重假设检验策略允许推导出稳健的无监督检测阈值,这在需要操作点的实际应用中至关重要。分割结果使用平均交叉比联合度量进行评估,为评估生成的异常地图,我们报告了接收者操作特征曲线下的面积(AUROC)以及每个区域重叠曲线下的面积(AUPRO)。在各种数据集上进行的广泛实验表明,所提出的方法在所有指标和所有数据集上都取得了最先进的结果,在大多数 MVTec-AD 类别中排名第一,平均像素级 AUROC 为 98.74%。代码和训练有素的模型可在 https://github.com/mtailanian/uflow 上获取。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Mathematical Imaging and Vision
Journal of Mathematical Imaging and Vision 工程技术-计算机:人工智能
CiteScore
4.30
自引率
5.00%
发文量
70
审稿时长
3.3 months
期刊介绍: The Journal of Mathematical Imaging and Vision is a technical journal publishing important new developments in mathematical imaging. The journal publishes research articles, invited papers, and expository articles. Current developments in new image processing hardware, the advent of multisensor data fusion, and rapid advances in vision research have led to an explosive growth in the interdisciplinary field of imaging science. This growth has resulted in the development of highly sophisticated mathematical models and theories. The journal emphasizes the role of mathematics as a rigorous basis for imaging science. This provides a sound alternative to present journals in this area. Contributions are judged on the basis of mathematical content. Articles may be physically speculative but need to be mathematically sound. Emphasis is placed on innovative or established mathematical techniques applied to vision and imaging problems in a novel way, as well as new developments and problems in mathematics arising from these applications. The scope of the journal includes: computational models of vision; imaging algebra and mathematical morphology mathematical methods in reconstruction, compactification, and coding filter theory probabilistic, statistical, geometric, topological, and fractal techniques and models in imaging science inverse optics wave theory. Specific application areas of interest include, but are not limited to: all aspects of image formation and representation medical, biological, industrial, geophysical, astronomical and military imaging image analysis and image understanding parallel and distributed computing computer vision architecture design.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信