English

Leveraging Class Hierarchies with Metric-Guided Prototype Learning

Machine Learning 2021-11-30 v3 Computer Vision and Pattern Recognition Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2007.03047,
  title  = {Leveraging Class Hierarchies with Metric-Guided Prototype Learning},
  author = {Vivien Sainte Fare Garnot and Loic Landrieu},
  journal= {arXiv preprint arXiv:2007.03047},
  year   = {2021}
}

Comments

Published at BMVC2021

R2 v1 2026-06-23T16:53:54.558Z