Lune

ICLR2024顶会

Towards Optimal Feature-Shaping Methods for Out-of-Distribution Detection

Qinyu Zhao, Ming Xu, Kartik Gupta, Akshay Asthana, Liang Zheng, Stephen Gould

摘要

Feature shaping refers to a family of methods that exhibit state-of-the-art performance for out-of-distribution (OOD) detection. These approaches manipulate the feature representation, typically from the penultimate layer of a pre-trained deep learning model, so as to better differentiate between in-distribution (ID) and OOD samples. However, existing feature-shaping methods usually employ rules manually designed for specific model architectures and OOD datasets, which consequently limit their generalization ability. To address this gap, we first formulate an abstract optimization framework for studying feature-shaping methods. We then propose a concrete reduction of the framework with a simple piecewise constant shaping function and show that existing feature-shaping methods approximate the optimal solution to the concrete optimization problem. Further, assuming that OOD data is inaccessible, we propose a formulation that yields a closed-form solution for the piecewise constant shaping function, utilizing solely the ID data. Through extensive experiments, we show that the feature-shaping function optimized by our method improves the generalization ability of OOD detection across a large variety of datasets and model architectures. 1

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • MLP-Mixer: An all-MLP Architecture for Vision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AdaSCALE: Adaptive Scaling for OOD Detection 引用了 Energy-based Out-of-distribution Detection
  • AdaSCALE: Adaptive Scaling for OOD Detection 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
  • AdaSCALE: Adaptive Scaling for OOD Detection 引用了 Learning to Shape In-distribution Feature Space for Out-of-distribution Detection
  • ReAct: Out-of-distribution Detection With Rectified Activations 引用了 Energy-based Out-of-distribution Detection
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 MLP-Mixer: An all-MLP Architecture for Vision
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection 引用了 Energy-based Out-of-distribution Detection
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
  • A Geometry-Based View of Mahalanobis OOD Detection 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Diffusion-based Layer-wise Semantic Reconstruction for Unsupervised Out-of-Distribution Detection 引用了 Energy-based Out-of-distribution Detection
  • DCAC: Dynamic Class-Aware Cache Creates Stronger Out-of-Distribution Detectors 引用了 Energy-based Out-of-distribution Detection
  • DCAC: Dynamic Class-Aware Cache Creates Stronger Out-of-Distribution Detectors 引用了 ReAct: Out-of-distribution Detection With Rectified Activations
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Learning to Shape In-distribution Feature Space for Out-of-distribution DetectionYonggang Zhang, Jie Lu, Bo Peng, Zhen Fang 等NeurIPS 2024 · 33 次引用
  2. AdaSCALE: Adaptive Scaling for OOD DetectionSudarshan RegmiICML 2026 · 9 次引用
  3. Diffusion-based Layer-wise Semantic Reconstruction for Unsupervised Out-of-Distribution DetectionYing Yang, De Cheng, Chaowei Fang, Yubiao Wang 等NeurIPS 2024 · 9 次引用
  4. A Geometry-Based View of Mahalanobis OOD DetectionDenis Janiak, Jakub Binkowski, Tomasz KajdanowiczICML 2026 · 3 次引用
  5. DCAC: Dynamic Class-Aware Cache Creates Stronger Out-of-Distribution DetectorsYanqi Wu, Qichao Chen, Runhe Lai, Xinhua Lu 等AAAI 2026 · 1 次引用

它引用的 Paper13

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. MLP-Mixer: An all-MLP Architecture for VisionIlya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer 等NeurIPS 2021 · 3,862 次引用
  4. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
  5. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 次引用

相关 Paper

  1. A Variational Information Theoretic Approach to Out-of-Distribution DetectionSudeepta Mondal, Zhuolin Jiang, Ganesh SundaramoorthiICML 2025
  2. Watermarking for Out-of-distribution DetectionQizhou Wang, Feng Liu, Yonggang Zhang, Jing Zhang 等NeurIPS 2022 · 44 次引用
  3. Extremely Simple Activation Shaping for Out-of-Distribution DetectionAndrija Djurisic, Nebojsa Bozanic, Arjun Ashok, Rosanne LiuICLR 2023 · 23 次引用
  4. Scaling for Training Time and Post-hoc Out-of-distribution Detection EnhancementKai Xu, Rongyu Chen, Gianni Franchi, Angela YaoICLR 2024 · 81 次引用
  5. Activation Subspaces for Out-of-Distribution DetectionBaris Zöngür, Robin Hesse, Stefan RothICCV 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖