Abstract
Traditional Open Set Recognition (OSR) models typically categorize unseen data into a single, monolithic "unknown" class. This paper presents a novel approach that automatically constructs a data-driven hierarchy to provide relational context for unknown objects. By utilizing constrained agglomerative clustering on visual embeddings, the system avoids the biases of manual taxonomies and provides more informative classifications for autonomous agents. Experimental results on the Animals with Attributes 2 (AwA2) dataset demonstrate that this method achieves competitive performance while offering superior interpretability through a new metric: Concentration Centrality.
Introduction
In autonomous systems, the ability to recognize when an object falls outside of training data is critical for safety and reliability. While standard Open Set Recognition (OSR) allows models to reject unknown samples, it often fails to provide any descriptive information about what those samples might be. Existing attempts to solve this using hierarchical taxonomies (e.g., WordNet) rely on human-curated structures that may not align with visual features. For instance, while a dolphin and a cow are biologically related as mammals, a visual system may find a dolphin more similar to a shark. This research proposes a method to generate these hierarchies automatically from data, allowing robots to identify unknown objects by their proximity to known categories.
Methodology
1. Data-Driven Hierarchy Construction
Rather than relying on predefined human taxonomies, the proposed pipeline uses an encoder to generate embeddings of known classes. These embeddings are processed via a constrained agglomerative clustering algorithm. This algorithm groups classes based purely on visual similarity, building a tree structure ($T$) where leaf nodes represent known classes and internal nodes represent broader visual categories. This ensures the hierarchy reflects how the model actually perceives pixels rather than abstract biological or linguistic relationships.
2. Classification Strategies
To place a sample within the hierarchy, the authors evaluate two primary strategies:
- Score-based Classification: A global function evaluates the fit of a sample across all nodes in the tree, selecting the node with the highest compatibility score.
- Traversal-based Classification: The model begins at the root and moves downward. At each node, a combination of binary classifiers and outlier detectors determines whether to proceed to a child node or stop at the current internal node. Stopping at an internal node signifies that the object is "unknown" but belongs to the broader category represented by that parent node.
3. Concentration Centrality (CC)
A key contribution of this work is the introduction of Concentration Centrality (CC), a metric inspired by graph theory. CC measures the consistency with which a model assigns unknown samples of a specific type to a particular internal node. High Class Concentration Centrality (CCC) indicates that the model has successfully "discovered" a consistent new category, even if it lacks a specific label for it.
Experimental Setup
The approach was evaluated using the Animals with Attributes 2 (AwA2) dataset, which contains 50 animal classes. To simulate an open-set environment, the dataset was split: a subset of classes was held out during training to serve as the "unseen" test subjects. This allows the researchers to measure how effectively the model categorizes animals it has never encountered before.
Results and Discussion
The proposed model achieved an AUC ROC of 0.82 and an average utility score of 0.85. While these metrics are comparable to existing state-of-the-art OSR methods, the primary advantage of this approach is the "relational information" it provides.
Key observations include:
- Informative Failures: Instead of a generic "unknown" label, the model provides context (e.g., identifying a fox as belonging to a node representing "four-legged predators").
- Clustering Consistency: Unknown classes exhibited high CCC scores, proving that the model's placement of unseen data is logical and stable rather than random.
- Visual vs. Semantic Alignment: The data-driven hierarchy successfully avoided the pitfalls of human intuition, grouping objects by visual features that are more relevant for computer vision tasks.
Conclusion and Future Work
This research demonstrates that data-driven hierarchies can match the performance of traditional OSR while providing significantly more context for unknown detections. Future work will focus on scaling this approach to larger datasets like ImageNet, refining the traversal-based logic to improve accuracy at higher levels of the hierarchy, and further validating the Concentration Centrality metric across diverse neural architectures.
Summary updated