arXiv reaDer
分布外検出における特徴ノルムを使用するためのブロック選択方法
Block Selection Method for Using Feature Norm in Out-of-distribution Detection
推論段階で分布外 (OOD) 入力を検出することは、実世界でニューラル ネットワークを展開するために重要です。以前の方法は、一般に、高度に活性化された機能マップから派生したネットワークの出力に依存していました。この研究では、最後のブロック以外のブロックから取得された特徴マップのノルムが、OOD 検出のより良い指標になる可能性があることを最初に明らかにしました。これに動機付けられて、FeatureNorm: 特徴マップのノルムと、NormRatio: ID と OOD の FeatureNorm の比率で構成される単純なフレームワークを提案し、各ブロックの OOD 検出パフォーマンスを測定します。具体的には、ID の FeatureNorm と OOD の FeatureNorm の差が最も大きいブロックを選択するため、ID 学習サンプルから疑似 OOD としてジグソー パズル画像を作成し、NormRatio を計算して、値が最も大きいブロックを選択します。適切なブロックが選択された後、FeatureNorm を使用した OOD 検出は、FPR95 を CIFAR10 ベンチマークで最大 52.77%、ImageNet ベンチマークで最大 48.53% 削減することにより、他の OOD 検出方法よりも優れています。フレームワークがさまざまなアーキテクチャとブロック選択の重要性に一般化できることを示します。これにより、以前の OOD 検出方法も改善されます。
Detecting out-of-distribution (OOD) inputs during the inference stage is crucial for deploying neural networks in the real world. Previous methods commonly relied on the output of a network derived from the highly activated feature map. In this study, we first revealed that a norm of the feature map obtained from the other block than the last block can be a better indicator of OOD detection. Motivated by this, we propose a simple framework consisting of FeatureNorm: a norm of the feature map and NormRatio: a ratio of FeatureNorm for ID and OOD to measure the OOD detection performance of each block. In particular, to select the block that provides the largest difference between FeatureNorm of ID and FeatureNorm of OOD, we create Jigsaw puzzle images as pseudo OOD from ID training samples and calculate NormRatio, and the block with the largest value is selected. After the suitable block is selected, OOD detection with the FeatureNorm outperforms other OOD detection methods by reducing FPR95 by up to 52.77% on CIFAR10 benchmark and by up to 48.53% on ImageNet benchmark. We demonstrate that our framework can generalize to various architectures and the importance of block selection, which can improve previous OOD detection methods as well.
updated: Thu Mar 02 2023 15:23:11 GMT+0000 (UTC)
published: Mon Dec 05 2022 14:19:21 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト