Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

BackMix: Regularizing Open Set Recognition by Removing Underlying Fore-Background Priors

About

Open set recognition (OSR) requires models to classify known samples while detecting unknown samples for real-world applications. Existing studies show impressive progress using unknown samples from auxiliary datasets to regularize OSR models, but they have proved to be sensitive to selecting such known outliers. In this paper, we discuss the aforementioned problem from a new perspective: Can we regularize OSR models without elaborately selecting auxiliary known outliers? We first empirically and theoretically explore the role of foregrounds and backgrounds in open set recognition and disclose that: 1) backgrounds that correlate with foregrounds would mislead the model and cause failures when encounters 'partially' known images; 2) Backgrounds unrelated to foregrounds can serve as auxiliary known outliers and provide regularization via global average pooling. Based on the above insights, we propose a new method, Background Mix (BackMix), that mixes the foreground of an image with different backgrounds to remove the underlying fore-background priors. Specifically, BackMix first estimates the foreground with class activation maps (CAMs), then randomly replaces image patches with backgrounds from other images to obtain mixed images for training. With backgrounds de-correlated from foregrounds, the open set recognition performance is significantly improved. The proposed method is quite simple to implement, requires no extra operation for inferences, and can be seamlessly integrated into almost all of the existing frameworks. The code is released on https://github.com/Vanixxz/BackMix.

Yu Wang, Junxian Mu, Hongzhi Huang, Qilong Wang, Pengfei Zhu, Qinghua Hu• 2025

Related benchmarks

TaskDatasetResultRank
Open Set RecognitionCIFAR10
AUROC0.913
76
Open Set RecognitionSVHN
AUROC0.97
51
Open Set RecognitionTinyImageNet
AUROC80.4
51
Open Set RecognitionCIFAR+50
AUROC92.3
50
Open Set RecognitionCIFAR+10
AUROC0.934
24
Open Set RecognitionCIFAR10 vs CIFAR100 Legacy Benchmark B
DTACC84.9
12
Open Set RecognitionCIFAR10 vs SVHN Legacy Benchmark B
DTACC88.5
12
Showing 7 of 7 rows

Other info

Follow for update