Perturb-and-Compare Approach for Detecting Out-of-Distribution Samples in Constrained Access Environments
Not on the map. Why?
Abstract (arXiv)
Accessing machine learning models through remote APIs has been gaining prevalence following the recent trend of scaling up model parameters for increased performance. Even though these models exhibit remarkable ability, detecting out-of-distribution (OOD) samples remains a crucial safety concern for end users as these samples may induce unreliable outputs from the model. In this work, we propose an OOD detection framework, MixDiff, that is applicable even when the model's parameters or its activations are not accessible to the end user. To bypass the access restriction, MixDiff applies an identical input-level perturbation to a given target sample and a similar in-distribution (ID) sample, then compares the relative difference in the model outputs of these two samples. MixDiff is model-agnostic and compatible with existing output-based OOD detection methods. We provide theoretical analysis to illustrate MixDiff's effectiveness in discerning OOD samples that induce overconfident outputs from the model and empirically demonstrate that MixDiff consistently enhances the OOD detection performance on various datasets in vision and text domains.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 22 references that are in the map. First posted on arXiv 19 Aug 2024.
Builds on
8 of 22 references.
References · 8
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
- 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
- 2020Robust Out-of-distribution Detection for Neural Networkscited by 57
Built on by
Not cited yet.