Abstract
Deep learning models frequently exhibit overconfidence when encountering out-of-distribution (OOD) data, posing significant risks in safety-critical applications. Traditional solutions like Outlier Exposure (OE) rely on computationally expensive outlier synthesis and often fail to generalize to truly unseen data. This paper introduces Prototypical Outlier Proxy (POP), a novel framework that enables OOD detection without requiring any real or synthetic outliers during training. By integrating "virtual" outlier prototypes into a fixed, hierarchically-structured classifier, POP reshapes decision boundaries to mitigate overconfidence. POP achieves state-of-the-art detection accuracy on the OpenOOD benchmark, reducing FPR95 by up to 7.7% while operating up to 19.5× faster than existing synthesis-based methods.
1. Introduction
The deployment of deep neural networks in real-world environments is often hindered by their tendency to assign high-confidence scores to inputs from unknown categories. This "overconfidence" problem is a major hurdle for autonomous systems. While post-hoc methods and Outlier Exposure (OE) have been proposed, they suffer from either limited accuracy or high computational overhead and poor generalization to "unseen" outliers. POP addresses these limitations by shifting from a data-driven approach to a structure-driven one, defining the space of outliers mathematically rather than through explicit examples.
2. Methodology
The POP framework consists of three primary components designed to organize the feature space and define clear boundaries for OOD data.
2.1 Fixed Hierarchical Classifier
Instead of learning classifier weights freely, POP fixes them based on a semantic hierarchy (e.g., WordNet). This ensures that semantically similar classes (like "cat" and "dog") have proximal weight vectors in the feature space, leveraging the principle of "neural collapse" to force the feature extractor to organize data more cleanly.
2.2 Prototypical Outlier Proxies
The core innovation is the addition of non-learnable "proxies" to the classifier. These proxies act as virtual class centers for OOD data. By placing them at strategic distances from In-Distribution (ID) prototypes, they "attract" OOD samples during inference and compress the ID decision boundaries during training, effectively carving out a "void" for unknown data.
2.3 Hierarchical Similarity Boundary Loss (HSBL)
To further refine the feature space, POP employs HSBL. Unlike standard cross-entropy, HSBL applies an adaptive penalty based on semantic distance: misclassifying a "sedan" as a "truck" incurs a smaller penalty than misclassifying it as a "person." This forces the model to learn discriminative features that naturally separate ID data from the OOD proxy space.
3. Experiments and Results
POP was evaluated using the OpenOOD benchmark across various ID datasets (CIFAR-10, CIFAR-100, ImageNet-200) and a diverse suite of OOD sets, including both "near-OOD" and "far-OOD" scenarios.
3.1 Detection Accuracy
POP demonstrated superior performance in reducing the False Positive Rate at 95% True Positive Rate (FPR95). It outperformed competing methods by 7.70% on CIFAR-10, 6.30% on CIFAR-100, and 5.42% on ImageNet-200. Notably, it maintained high performance across both simple (e.g., MNIST) and complex OOD scenarios, showcasing its robustness.
3.2 Computational Efficiency
A key advantage of POP is its efficiency. By avoiding outlier synthesis, it trains 7.2× faster than state-of-the-art methods like NPOS. Furthermore, its inference speed is 19.5× faster, making it highly suitable for real-time applications.
4. Conclusion
Prototypical Outlier Proxy (POP) provides a robust and efficient framework for OOD detection by leveraging structural priors rather than outlier data. While it relies on the availability of a semantic hierarchy, its ability to generalize to unseen outliers and its significant speed advantages mark a substantial step forward in reliable deep learning. Future work will explore automated hierarchy generation and scaling to larger datasets like ImageNet-1k.
Summary updated