Lune

NeurIPS2023Top-tier venue

VRA: Variational Rectified Activation for Out-of-distribution Detection

Mingyu Xu, Zheng Lian, Bin Liu, Jianhua Tao

Abstract

Out-of-distribution (OOD) detection is critical to building reliable machine learning systems in the open world. Researchers have proposed various strategies to reduce model overconfidence on OOD data. Among them, ReAct is a typical and effective technique to deal with model overconfidence, which truncates high activations to increase the gap between in-distribution and OOD. Despite its promising results, is this technique the best choice for widening the gap? To answer this question, we leverage the variational method to find the optimal operation and verify the necessity of suppressing abnormally low and high activations and amplifying intermediate activations in OOD detection, rather than focusing only on high activations like ReAct. This motivates us to propose a novel technique called ``Variational Rectified Activation (VRA)'', which simulates these suppression and amplification operations using piecewise functions. Experimental results on multiple benchmark datasets demonstrate that our method outperforms existing post-hoc strategies. Meanwhile, VRA is compatible with different scoring functions and network architectures. 0.93,0.0,0.47Our code can be found in Supplementary Material.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Variational Information Theoretic Approach to Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • A Variational Information Theoretic Approach to Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • A Variational Information Theoretic Approach to Out-of-Distribution Detection cites Learning to Shape In-distribution Feature Space for Out-of-distribution Detection
  • A Variational Information Theoretic Approach to Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • ITP: Instance-Aware Test Pruning for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • ITP: Instance-Aware Test Pruning for Out-of-Distribution Detection cites GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradients
  • ITP: Instance-Aware Test Pruning for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • ITP: Instance-Aware Test Pruning for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradients cites Energy-based Out-of-distribution Detection
  • GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradients cites ReAct: Out-of-distribution Detection With Rectified Activations
  • GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradients cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Activation Subspaces for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Activation Subspaces for Out-of-Distribution Detection cites GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of Gradients
  • Activation Subspaces for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Activation Subspaces for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of GradientsSima Behpour, Thang Long Doan, Xin Li, Wenbin He et al.NeurIPS 2023 · 34 citations
  2. Learning to Shape In-distribution Feature Space for Out-of-distribution DetectionYonggang Zhang, Jie Lu, Bo Peng, Zhen Fang et al.NeurIPS 2024 · 33 citations
  3. ITP: Instance-Aware Test Pruning for Out-of-Distribution DetectionHaonan Xu, Yang YangAAAI 2025 · 3 citations
  4. Activation Subspaces for Out-of-Distribution DetectionBaris Zöngür, Robin Hesse, Stefan RothICCV 2025 · 2 citations
  5. A Variational Information Theoretic Approach to Out-of-Distribution DetectionSudeepta Mondal, Zhuolin Jiang, Ganesh SundaramoorthiICML 2025

Builds on15

  1. Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le et al.ICCV 2019 · 9,163 citations
  2. EfficientNetV2: Smaller Models and Faster TrainingMingxing Tan, Quoc V. LeICML 2021 · 4,239 citations
  3. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  4. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
  5. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations

Related papers

  1. LHAct: Rectifying Extremely Low and High Activations for Out-of-Distribution DetectionYue Yuan, Rundong He, Zhongyi Han, Yilong YinACM MM 2023 · 8 citations
  2. Leveraging Perturbation Robustness to Enhance Out-of-Distribution DetectionWenxi Chen, Raymond A. Yeh, Shaoshuai Mou, Yan GuCVPR 2025
  3. Scaling for Training Time and Post-hoc Out-of-distribution Detection EnhancementKai Xu, Rongyu Chen, Gianni Franchi, Angela YaoICLR 2024 · 81 citations
  4. Revisiting Logit Distributions for Reliable Out-of-Distribution DetectionJiachen Liang, Ruibing Hou, Minyang Hu, Hong Chang et al.NeurIPS 2025 · 9 citations
  5. Extremely Simple Activation Shaping for Out-of-Distribution DetectionAndrija Djurisic, Nebojsa Bozanic, Arjun Ashok, Rosanne LiuICLR 2023 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines