Introduction
Most deep learning classifiers operate under a "Closed Set" assumption, where the model expects every test sample to belong to one of the categories encountered during training. In real-world applications, such as autonomous driving or medical diagnosis, this assumption is often violated. When a model encounters an "unknown" class—such as a self-driving car seeing an animal it wasn't trained on—it should ideally reject the sample rather than misclassifying it with high confidence. This challenge is known as Open Set Recognition (OSR).
Existing OSR methods frequently rely on complex generative models or heuristics that can be computationally expensive or fail to capture the nuanced boundaries between known and unknown data. This paper introduces MICC (Multi-granularity Inter-class Correlation), a framework designed to enhance a model's "self-awareness" by learning hierarchical relationships between known classes.
The MICC Framework
The authors propose that OSR performance is fundamentally tied to the quality of representations learned for known classes. MICC attacks the problem through a dual-pronged approach:
- Instance-Level Representation: Utilizing supervised contrastive learning ($L_{sup}$), the model forces samples of the same class to cluster tightly in the feature space while maximizing the distance between different classes. This creates a more structured and discriminative feature landscape.
- Class-Level Correlation: The core innovation of MICC is the integration of semantic relationships. By mapping class names to a semantic space using pre-trained language models like BERT, the framework clusters labels into "coarse-grained" categories (e.g., grouping "dog" and "cat" under "animal"). A multi-granularity loss ($L_{cr}$) then trains the model to recognize these broader hierarchies, helping to define the boundaries of the "known world."
A New Decision Variable
Beyond representation learning, the authors identified that the 1-norm ($L_1$) of the feature vector serves as a highly effective indicator for OSR. They utilize the inverse of the 1-norm ($r = 1 / ||z||_1$) as a scoring mechanism to determine if a sample is known or unknown, moving away from notoriously overconfident Softmax probabilities.
Experimental Results
MICC was evaluated across several standard benchmarks, including CIFAR-10, TinyImageNet, and ImageNet-crop/resize. The results demonstrate that MICC consistently outperforms previous state-of-the-art (SOTA) methods like CGDL and C2AE.
- Performance: On the ImageNet-crop dataset, MICC achieved a Macro-averaged F1-score of 0.917, a significant improvement over the previous SOTA of 0.840. In CIFAR-10 experiments, it reached an AUROC of 0.936, compared to 0.890 for CGDL.
- Efficiency: MICC is remarkably parameter-efficient. Its OSR-specific modules require only 174k parameters, whereas competing methods like CGDL require over 170,000k.
Conclusion
By combining supervised contrastive learning with semantic-aware hierarchical structures, MICC provides a robust and efficient solution for Open Set Recognition. The discovery of the 1-norm as a stable metric for anomaly detection further distinguishes this approach from traditional Softmax-based classifiers. Future work will explore deeper hierarchical structures and the scalability of this method to extreme open-set scenarios involving thousands of classes.
Summary updated