Leveraging Class Hierarchies with Metric-Guided Prototype Learning
About
In many classification tasks, the set of target classes can be organized into a hierarchy. This structure induces a semantic distance between classes, and can be summarised under the form of a cost matrix, which defines a finite metric on the class set. In this paper, we propose to model the hierarchical class structure by integrating this metric in the supervision of a prototypical network. Our method relies on jointly learning a feature-extracting network and a set of class prototypes whose relative arrangement in the embedding space follows an hierarchical metric. We show that this approach allows for a consistent improvement of the error rate weighted by the cost matrix when compared to traditional methods and other prototype-based strategies. Furthermore, when the induced metric contains insight on the data structure, our method improves the overall precision as well. Experiments on four different public datasets - from agricultural time series classification to depth image semantic segmentation - validate our approach.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Skin lesion classification | molemap+ | Accuracy60.76 | 8 | |
| Image Classification | DeepFashion In-Shop (Unseen) | Top-1 Acc74.04 | 7 | |
| Image Classification | ModelNet40 (Seen) | Top-1 Accuracy89.01 | 7 | |
| Image Classification | ModelNet40 Unseen | Top-1 Accuracy82.22 | 7 | |
| Image Classification | DeepFashion In-Shop (Seen) | Top-1 Accuracy79.34 | 7 | |
| Image Classification | iNaturalist finest sub-category level (full) | Top-1 Accuracy0.5733 | 5 | |
| Object Classification | ModelNet40 super-category level (full) | Top-1 Acc83.49 | 5 | |
| Image Classification | DeepFashion super-category level (full) | Top-1 Acc72.61 | 5 | |
| Image Classification | ImageNet finest sub-category level (full) | Top-1 Acc76.6 | 5 |