UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

ReweightOOD: Loss Reweighting for Distance-based OOD Detection

Regmi, S; Panthi, B; Ming, Y; Gyawali, PK; Stoyanov, D; Bhattarai, B; (2024) ReweightOOD: Loss Reweighting for Distance-based OOD Detection. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops. (pp. pp. 131-141). IEEE: Seattle, WA, USA. Green open access

[thumbnail of Regmi_ReweightOOD_Loss_Reweighting_for_Distance-based_OOD_Detection_CVPRW_2024_paper.pdf]
Preview
Text
Regmi_ReweightOOD_Loss_Reweighting_for_Distance-based_OOD_Detection_CVPRW_2024_paper.pdf - Accepted Version

Download (3MB) | Preview

Abstract

Out-of-Distribution (OOD) detection is crucial for ensuring safety and reliability of neural networks in critical applications. Distance-based OOD detection is based on the assumption that OOD samples are mapped far from In-Distribution (ID) clusters in embedding space. A recent approach for obtaining OOD-detection-friendly embedding space has been contrastive optimization of pulling similar pairs and pushing apart dissimilar pairs. It assigns equal significance to all similarity instances with the implicit objective of maximizing the mean proximity between samples with their corresponding hypothetical class centroids. However, the emphasis should be directed towards reducing the Minimum Enclosing Sphere (MES) for each class and achieving higher inter-class dispersion to effectively mitigate the potential for ID-OOD overlap. Optimizing low-signal dissimilar pairs might potentially act against achieving maximal inter-class dispersion while less-optimized similar pairs prevent achieving smaller MES. Based on this, we propose a reweighting scheme ReweightOOD, that adopts the similarity optimization which prioritizes the optimization of less-optimized contrasting pairs while assigning lower importance to already well-optimized contrasting pairs. Such a reweighting scheme serves to minimize the MES for each class while achieving maximal interclass dispersion. Experimental results on a challenging CIFAR100 benchmark using ResNet-18 network demonstrate that ReweightOOD outperforms supervised contrastive loss by a whopping 38% in the average FPR metric. In various classification datasets, our method provides a promising solution for enhancing OOD detection capabilities in neural networks.

Type: Proceedings paper
Title: ReweightOOD: Loss Reweighting for Distance-based OOD Detection
Event: 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)
Dates: 17 Jun 2024 - 18 Jun 2024
Open access status: An open access version is available from UCL Discovery
DOI: 10.1109/CVPRW63382.2024.00018
Publisher version: https://doi.org/10.1109/CVPRW63382.2024.00018
Language: English
Additional information: This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions.
Keywords: Measurement, Computer vision, Conferences, Neural networks, Benchmark testing, Safety, Pattern recognition
UCL classification: UCL
UCL > Provost and Vice Provost Offices > UCL BEAMS
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science
URI: https://discovery.ucl.ac.uk/id/eprint/10198867
Downloads since deposit
4Downloads
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item