Lune

NeurIPS2020顶会

Understanding Anomaly Detection with Deep Invertible Networks through Hierarchies of Distributions and Features

Robin Schirrmeister, Yuxuan Zhou, Tonio Ball, Dan Zhang

摘要

Deep generative networks trained via maximum likelihood on a natural image dataset like CIFAR10 often assign high likelihoods to images from datasets with different objects (e.g., SVHN). We refine previous investigations of this failure at anomaly detection for invertible generative networks and provide a clear explanation of it as a combination of model bias and domain prior: Convolutional networks learn similar low-level feature distributions when trained on any natural image dataset and these low-level features dominate the likelihood. Hence, when the discriminative features between inliers and outliers are on a high-level, e.g., object shapes, anomaly detection becomes particularly challenging. To remove the negative impact of model bias and domain prior on detecting high-level differences, we propose two methods, first, using the log likelihood ratios of two identical models, one trained on the in-distribution data (e.g., CIFAR10) and the other one on a more general distribution of images (e.g., 80 Million Tiny Images). We also derive a novel outlier loss for the in-distribution network on samples from the more general distribution to further improve the performance. Secondly, using a multi-scale model like Glow, we show that lowlevel features are mainly captured at early scales. Therefore, using only the likelihood contribution of the final scale performs remarkably well for detecting high-level feature differences of the out-of-distribution and the in-distribution. This method is especially useful if one does not have access to a suitable general distribution. Overall, our methods achieve strong anomaly detection performance in the unsupervised setting, and only slightly underperform state-of-the-art classifier-based methods in the supervised setting. Code can be found at https: //github.com/boschresearch/hierarchical_anomaly_detection .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • On the Importance of Gradients for Detecting Distributional Shifts in the Wild 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • On the Importance of Gradients for Detecting Distributional Shifts in the Wild 引用了 Why Normalizing Flows Fail to Detect Out-of-Distribution Data
  • RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection 引用了 On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
  • RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • RankFeat: Rank-1 Feature Removal for Out-of-distribution Detection 引用了 Why Normalizing Flows Fail to Detect Out-of-Distribution Data
  • ReAct: Out-of-distribution Detection With Rectified Activations 引用了 On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • ReAct: Out-of-distribution Detection With Rectified Activations 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • ReAct: Out-of-distribution Detection With Rectified Activations 引用了 Why Normalizing Flows Fail to Detect Out-of-Distribution Data
  • Hierarchical VAEs Know What They Don't Know 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • Why Normalizing Flows Fail to Detect Out-of-Distribution Data 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • Understanding Failures in Out-of-Distribution Detection with Deep Generative Models 引用了 Input Complexity and Out-of-distribution Detection with Likelihood-based Generative Models
  • Understanding Failures in Out-of-Distribution Detection with Deep Generative Models 引用了 Why Normalizing Flows Fail to Detect Out-of-Distribution Data
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 次引用
  2. On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 次引用
  3. Understanding Failures in Out-of-Distribution Detection with Deep Generative ModelsLily H. Zhang, Mark Goldstein, Rajesh RanganathICML 2021 · 129 次引用
  4. Hierarchical VAEs Know What They Don't KnowJakob Drachmann Havtorn, Jes Frellsen, Søren Hauberg, Lars MaaløeICML 2021 · 87 次引用
  5. RankFeat: Rank-1 Feature Removal for Out-of-distribution DetectionYue Song, Nicu Sebe, Wei WangNeurIPS 2022 · 76 次引用

它引用的 Paper7

  1. Deep Semi-Supervised Anomaly DetectionLukas Ruff, Robert A. Vandermeulen, Nico Görnitz, Alexander Binder 等ICLR 2020 · 678 次引用
  2. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud 等ICLR 2020 · 643 次引用
  3. Classification-Based Anomaly Detection for General DataLiron Bergman, Yedid HoshenICLR 2020 · 412 次引用
  4. Why Normalizing Flows Fail to Detect Out-of-Distribution DataPolina Kirichenko, Pavel Izmailov, Andrew Gordon WilsonNeurIPS 2020 · 370 次引用
  5. Input Complexity and Out-of-distribution Detection with Likelihood-based Generative ModelsJoan Serrà, David Álvarez, Vicenç Gómez, Olga Slizovskaia 等ICLR 2020 · 307 次引用

相关 Paper

  1. Towards In-Distribution Compatible Out-of-Distribution DetectionBoxi Wu, Jie Jiang, Haidong Ren, Zifan Du 等AAAI 2023 · 2 次引用
  2. Further Analysis of Outlier Detection with Deep Generative ModelsZiyu Wang, Bin Dai, David P. Wipf, Jun ZhuNeurIPS 2020 · 45 次引用
  3. Invariant Anomaly Detection under Distribution Shifts: A Causal PerspectiveJoão B. S. Carvalho, Mengtao Zhang, Robin Geyer, Carlos Cotrini 等NeurIPS 2023 · 18 次引用
  4. Multiscale Score Matching for Out-of-Distribution DetectionAhsan Mahmood, Junier Oliva, Martin Andreas StynerICLR 2021 · 41 次引用
  5. A Geometric Explanation of the Likelihood OOD Detection ParadoxHamidreza Kamkari, Brendan Leigh Ross, Jesse C. Cresswell, Anthony L. Caterini 等ICML 2024 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖