Harnessing Superclasses for Learning from Hierarchical Databases

Nicolas Urbani, Sylvain Rousseau, Yves Grandvalet, Leonardo Tanzi
11/25/2024
cs.CVstat.ML

No official code found. Best implementation: heudiasyc/Harnessing-Superclasses-for-Learning-from-Hierarchical-Databases (1 star, MIT, last commit 2024-09-09).

Abstract

In many large-scale classification problems, classes are organized in a known hierarchy, typically represented as a tree expressing the inclusion of classes in superclasses. We introduce a loss for this type of supervised hierarchical classification. It utilizes the knowledge of the hierarchy to assign each example not only to a class but also to all encompassing superclasses. Applicable to any feedforward architecture with a softmax output layer, this loss is a proper scoring rule, in that its expectation is minimized by the true posterior class probabilities. This property allows us to simultaneously pursue consistent classification objectives between superclasses and fine-grained classes, and eliminates the need for a performance trade-off between different granularities. We conduct an experimental study on three reference benchmarks, in which we vary the size of the training sets to cover a diverse set of learning scenarios. Our approach does not entail any significant additional computational cost compared with the loss of cross-entropy. It improves accuracy and reduces the number of coarse errors, with predicted labels that are distant from ground-truth labels in the tree.

View on arXivView PDF

Code Implementations(1)

MIT
12Python, MakefileJun 10, 20242 years agoMIT

Similar Papers

Cite this paper

@article{urbani2024harnessing,
  title  = {Harnessing Superclasses for Learning from Hierarchical Databases},
  author = {Nicolas Urbani and Sylvain Rousseau and Yves Grandvalet and Leonardo Tanzi},
  year   = {2024},
  eprint = {2411.16438},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.16438v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.16438.svg)](https://codeofpaper.com/paper/2411.16438)

Discussion