mlsanityData to 7 Oct 2026

Taxes Are All You Need: Integration of Taxonomical Hierarchy Relationships into the Contrastive Loss

arXiv 2406.06848 ↗First posted 10 Jun 2024cs.CV cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

In this work, we propose a novel supervised contrastive loss that enables the integration of taxonomic hierarchy information during the representation learning process. A supervised contrastive loss operates by enforcing that images with the same class label (positive samples) project closer to each other than images with differing class labels (negative samples). The advantage of this approach is that it directly penalizes the structure of the representation space itself. This enables greater flexibility with respect to encoding semantic concepts. However, the standard supervised contrastive loss only enforces semantic structure based on the downstream task (i.e. the class label). In reality, the class label is only one level of a hierarchy of different semantic relationships known as a taxonomy. For example, the class label is oftentimes the species of an animal, but between different classes there are higher order relationships such as all animals with wings being ``birds". We show that by explicitly accounting for these relationships with a weighting penalty in the contrastive loss we can out-perform the supervised contrastive loss. Additionally, we demonstrate the adaptability of the notion of a taxonomy by integrating our loss into medical and noise-based settings that show performance improvements by as much as 7%.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 14 of its 15 references that are in the map. First posted on arXiv 10 Jun 2024.

Builds on

14 of 15 references.

References · 14

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2020Supervised Contrastive Learningcited by 2,803
  3. 2020Contrastive Learning with Hard Negative Samplescited by 619
  4. 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 374
  5. 2022RankMe: Assessing the downstream performance of pretrained self-supervised representations by their rankcited by 145
  6. 2020Conditional Negative Sampling for Contrastive Learning of Visual Representationscited by 57
  7. 2017CURE-TSR: Challenging Unreal and Real Environments for Traffic Sign Recognitioncited by 32
  8. 2022HiURE: Hierarchical Exemplar Contrastive Learning for Unsupervised Relation Extractioncited by 32
  9. 2022Simplicial Embeddings in Self-Supervised Learning and Downstream Classificationcited by 23
  10. 2022OLIVES Dataset: Ophthalmic Labels for Investigating Visual Eye Semanticscited by 23
  11. 2022Contrastive Multi-view Hyperbolic Hierarchical Clusteringcited by 19
  12. 2022Volumetric Supervised Contrastive Learning for Seismic Semantic Segmentationcited by 12
2 more
  1. 2023Hierarchical Contrastive Learning for Pattern-Generalizable Image Corruption Detectioncited by 3
  2. 2022Clinical Contrastive Learning for Biomarker Detectioncited by 2

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.