Summary
This paper proposes a post-hoc OOD detection algorithm HAct by modeling the statistics of the activation weights of some linear layers of a pretrained network. Specifically, the class-wise average of the activation histograms is used as prototypes and are used to compare with the statistics of test images. A subsampling is employed to speed up computation. The proposed method shows impressive performance on the ImageNet-1K ID dataset using ResNet50 and MobileNet-v2.
Strengths
1. The use of the Wasserstein barycenter of activation histogram as a feature to detect OOD is intuitive and the performance in Tab. 1 looks exceptionally good.
2. The presentation is easy to follow.
Weaknesses
1. Some important technical details are not clear. For example,
- (a) P4L6, "the most likely category $c^*$ ...". How is the most likely category be determined? By the softmax prediction, or by the distance between the average activatioln histograms?
- (b) P4L12, "... to return ID if all the OOD detectors for all layers return ID". Firstly, How the $\tau$'s are determined when multiple layers are used. In the evaluation metric FPR95, the threshould should be chosen s.t. TPR=95%. Is this guaranteed when multiple $\tau$'s are used?
- (c) How to compute AUROC when multiple layers are used? Importantly, how to aggragate the scores from multiple layers to one score? It is unclear in the text since the ID/OOD-ness from different layers are combined logically rather than numerically.
- (d) P3 Equ. (1). How the partition values $\alpha_1, \cdots, \alpha_m$ are determined and what's the typical values of $m$ and $\alpha_i$ in experiments? What's the effect of $\alpha_i, i>1$ on performance?
2. Lack of reference and comparison to related work. The classical baselines MSP [a], Mahalanobis [b], etc. are not reviewed and compared.
3. Insufficient experiment on more network structures and on more datasets. How about models like BiT, RepVGG? Alos, the SUN and Places dataset are quite noisy as the OOD dataset for ImageNet-1K. A large portion of their images are overlapped with the ID dataset [c]. Please test on OpenImage-O [d] and ImageNet-O [e].
4. Can this method be applicable to vision transformers?
- [a] "A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks." ICLR 2016.
- [b] "A simple unified framework for detecting out-of-distribution samples and adversarial attacks." NeurIPS 2018.
- [c] "In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation". ICML 2023.
- [d] "Vim: Out-of-distribution with virtual-logit matching." CVPR 2022.
- [e] "Natural adversarial examples". CVPR 2021.
Questions
Other than the questions raised in the weakness section, my main question is on the evaluation practice in the experiments. As mentioned in the weakness part, the evaluated OOD dataset is very noisy and many ID images are mixed in the OOD dataset. So it is counter-intuitive that the FPR95 could reach 0.x% and AUROC reach 99%. Please clarify the evaluation process. Specifically, (a) is the validation set of ImageNet-1K used in the computation of FPR95/AUROC? The training set for tuning the histogram should be independent of the val set used for evaluation. (b) pretend that the test set of ImageNet-1K is an OOD dataset of ImageNet-1K, and please test the AUROC of your method.
Rating
3: reject, not good enough
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.