paper-with-me

Papers

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

2024-02-01 · 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.

📄 PDF Abstract BibTeX arXiv:2402.00865

Code (1)

qinyu-allen-zhao/optfsood 공식 구현 pytorch

Tasks

Out-of-Distribution DetectionOut of Distribution (OOD) Detection

Similar Papers 제목 키워드 기반

A Variational Information Theoretic Approach to Out-of-Distribution Detection

2025-06-17 · Sudeepta Mondal, Zhuolin Jiang, Ganesh Sundaramoorthi

We present a theory for the construction of out-of-distribution (OOD) detection features for neural networks. We introduce random features for OOD through a novel information-theoretic loss functional consisting of two t…

Out-of-Distribution DetectionOut of Distribution (OOD) Detection

Reward Shaping via Meta-Learning

2019-01-27 · Haosheng Zou, Tongzheng Ren, Dong Yan, Hang Su 외

Reward shaping is one of the most effective methods to tackle the crucial yet challenging problem of credit assignment in Reinforcement Learning (RL). However, designing shaping functions usually requires much expert kno…

Meta-LearningReinforcement LearningReinforcement Learning (RL)

Extremely Simple Activation Shaping for Out-of-Distribution Detection

2022-09-20 · Andrija Djurisic, Nebojsa Bozanic, Arjun Ashok, Rosanne Liu

The separation between training and deployment of machine learning models implies that not all scenarios encountered in deployment can be anticipated during training, and therefore relying solely on advancements in train…

Out-of-Distribution Detection

Reshaping the ISAC Tradeoff Under OFDM Signaling: A Probabilistic Constellation Shaping Approach

2023-12-26 · Zhen Du, Fan Liu, Yifeng Xiong, Tony Xiao Han 외

Integrated sensing and communications is regarded as a key enabling technology in the sixth generation networks, where a unified waveform, such as orthogonal frequency division multiplexing (OFDM) signal, is adopted to f…

ISAC

Optimal Energy Shaping via Neural Approximators

2021-01-14 · Stefano Massaroli, Michael Poli, Federico Califano, Jinkyoo Park 외

We introduce optimal energy shaping as an enhancement of classical passivity-based control methods. A promising feature of passivity theory, alongside stability, has traditionally been claimed to be intuitive performance…