arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.11716cs.LG
收藏

VRA:用于分布外检测的变分校正激活

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

University of Chinese Academy of Sciences(中国科学院大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Tsinghua University(清华大学)

Mingyu Xu, Zheng Lian, Bin Liu, Jianhua Tao

AI总结:

针对OOD检测中ReAct仅截断高激活值的局限,本文基于变分方法提出变分校正激活(VRA)技术,通过分段函数同时抑制异常高/低激活值并放大中间激活值,有效增大分布内外差距,在多个基准上优于现有事后策略且兼容多种架构与评分函数。

摘要:

分布外(OOD)检测对于在开放世界中构建可靠的机器学习系统至关重要。研究人员提出了各种策略来降低模型在OOD数据上的过度自信。其中,ReAct是一种典型且有效的处理模型过度自信的技术,它通过截断高激活值来增大分布内和OOD之间的差距。尽管其结果很有前景,但该技术是扩大差距的最佳选择吗?为了回答这个问题,我们利用变分方法寻找最优操作,并验证了在OOD检测中抑制异常低和异常高激活值以及放大中间激活值的必要性,而不是像ReAct那样仅关注高激活值。这促使我们提出了一种名为“变分校正激活(VRA)”的新技术,该技术使用分段函数来模拟这些抑制和放大操作。在多个基准数据集上的实验结果表明,我们的方法优于现有的事后策略。同时,VRA与不同的评分函数和网络架构兼容。我们的代码可在补充材料中找到。

英文摘要:

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. \textcolor[rgb]{0.93,0.0,0.47}{Our code can be found in Supplementary Material}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑