← 返回论文检索
NeurIPS 2023PosterAccept (poster)

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

Mingyu Xu, Zheng Lian, Bin Liu, Jianhua Tao

Institution of Automation, Chinese Academy of Sciences · Institute of automation, Chinese academy of science, Chinese Academy of Sciences · Institute of Automation,ChineseAcademyof Sciences · Tsinghua University

PDF 由论文原始站点提供,PaperCompass 不保存论文文件。

摘要

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? 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. Our code is available at https://github.com/zeroQiaoba/VRA.