Informed Mixing -- Improving Open Set Recognition via Attribution-based Augmentation
Jiawen Xu, Odej Kao, Margret Keuper
TL;DR
Open set recognition requires detecting unseen classes during inference, a challenge for modern vision models. The paper introduces GradMix, an attribution-based augmentation that masks highly activated regions using LayerCAM-derived maps and patches another image within the batch to force learning from broader regions; it combines supervised and self-supervised contrastive learning and aggregates at multiple layers. A distance-based OSR detector is used, and GradMix yields state-of-the-art results across OSR, close-set classification, and OOD tasks, while also improving robustness to common corruptions and boosting SSL linear probe performance. The approach demonstrates that encouraging feature diversity via gradient-informed augmentation enhances generalization across diverse data regimes and backbone architectures. Overall, GradMix offers a practical, versatile strategy to improve open-world recognition and model robustness.
Abstract
Open set recognition (OSR) is devised to address the problem of detecting novel classes during model inference. Even in recent vision models, this remains an open issue which is receiving increasing attention. Thereby, a crucial challenge is to learn features that are relevant for unseen categories from given data, for which these features might not be discriminative. To facilitate this process and "optimize to learn" more diverse features, we propose GradMix, a data augmentation method that dynamically leverages gradient-based attribution maps of the model during training to mask out already learned concepts. Thus GradMix encourages the model to learn a more complete set of representative features from the same data source. Extensive experiments on open set recognition, close set classification, and out-of-distribution detection reveal that our method can often outperform the state-of-the-art. GradMix can further increase model robustness to corruptions as well as downstream classification performance for self-supervised learning, indicating its benefit for model generalization.
