Out-of-distribution (OOD) detection is a critical task for safe deployment of learning systems in the open world setting. In this work, we investigate the use of feature density estimation via normalizing flows for OOD detection and present a fully unsupervised approach which requires no exposure to OOD data, avoiding researcher bias in OOD sample selection. This is a post-hoc method which can be applied to any pretrained model, and involves training a lightweight auxiliary normalizing flow model to perform the out-of-distribution detection via density thresholding. Experiments on OOD detection in image classification show strong results for far-OOD data detection with only a single epoch of flow training, including 98.2% AUROC for ImageNet-1k vs. Textures, which exceeds the state of the art by 7.8%. We additionally explore the connection between the feature space distribution of the pretrained model and the performance of our method. Finally, we provide insights into training pitfalls that have plagued normalizing flows for use in OOD detection.
Self-Supervised Texture Image Anomaly Detection By Fusing Normalizing Flow and Dictionary Learning
Ningxia University(宁夏大学);Collaborative Innovation Center for Ningxia Big Data and Artificial Intelligence Co-founded by Ningxia Municipality and Ministry of Education(宁夏回族自治区与教育部共建宁夏大数据与人工智能协同创新中心)
Wavelet Flow: Fast Training of High Resolution Normalizing Flows
York University(约克大学);Borealis AI(北极光人工智能);Ryerson University(瑞尔森大学);Samsung AI Centre Toronto(三星人工智能中心多伦多分部);Vector Institute(向量研究所)
规范化流是一类概率生成模型,它允许快速密度计算和有效采样,并且在模拟图像等复杂分布时有效。当前方法的一个缺点是其显著的训练成本,有时需要数月的GPU训练时间才能实现最先进的结果。本文介绍了小波流,一个多尺度,规范化的流架构的基础上小波。小波流具有信号尺度的显式表示,其固有地包括较低分辨率信号的模型和较高分辨率信号的条件生成,即,超分辨率。小波流的一个主要优点是能够为高分辨率数据构建生成模型(例如,1024 x 1024图像),这是不切实际的与以前的模型。此外,在标准(低分辨率)基准测试中,Wavelet Flow在每维比特数方面与之前的归一化流具有竞争力,同时训练速度最多快15倍。
PyramidFlow: High-Resolution Defect Contrastive Localization using Pyramid Normalizing Flow
Zhejiang University(浙江大学);ZJU-Hangzhou Global Scientific and Technological Innovation Center(浙江大学杭州国际科创中心);Jiaxing Research Institute Zhejiang University(浙江大学嘉兴研究院)