Use All The Labels: A Hierarchical Multi-Label Contrastive Learning Framework
Shu Zhang, Ran Xu, Caiming Xiong, Chetan Ramaiah
Abstract
Current contrastive learning frameworks focus on leveraging a single supervisory signal to learn representations, which limits the efficacy on unseen data and downstream tasks. In this paper, we present a hierarchical multi-label representation learning framework that can leverage all available labels and preserve the hierarchical relationship between classes. We introduce novel hierarchy preserving losses, which jointly apply a hierarchical penalty to the contrastive loss, and enforce the hierarchy constraint. The loss function is data driven and automatically adapts to arbitrary multi-label structures. Experiments on several datasets show that our relationship-preserving embedding performs well on a variety of tasks and outperform the base-line supervised and self-supervised approaches. Code is available at https://github.com/salesforce/hierarchicalContrastiveLearning.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Simple Framework for Contrastive Learning of Visual Representations cites Data-Efficient Image Recognition with Contrastive Predictive Coding
- OmniSeg3D: Omniversal 3D Segmentation via Hierarchical Contrastive Learning cites Prototypical Contrastive Learning of Unsupervised Representations
- Multi-Label Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Multi-Label Supervised Contrastive Learning cites Supervised Contrastive Learning
- Revisiting Logistic-softmax Likelihood in Bayesian Meta-Learning for Few-Shot Classification cites A Simple Framework for Contrastive Learning of Visual Representations
- Supervised Contrastive Learning cites Data-Efficient Image Recognition with Contrastive Predictive Coding
- Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Prototypical Contrastive Learning of Unsupervised Representations cites A Simple Framework for Contrastive Learning of Visual Representations
- Generative Retrieval Meets Multi-Graded Relevance cites A Simple Framework for Contrastive Learning of Visual Representations
- Generative Retrieval Meets Multi-Graded Relevance cites Coherent Hierarchical Multi-Label Classification Networks
Cited by top-tier papers21
- Multi-Label Supervised Contrastive LearningPingyue Zhang, Mengyue WuAAAI 2024 · 42 citations
- OmniSeg3D: Omniversal 3D Segmentation via Hierarchical Contrastive LearningHaiyang Ying, Yixuan Yin, Jinzhi Zhang, Fan Wang et al.CVPR 2024 · 32 citations
- TransHP: Image Classification with Hierarchical PromptingWenhao Wang, Yifan Sun, Wei Li, Yi YangNeurIPS 2023 · 25 citations
- Generative Retrieval Meets Multi-Graded RelevanceYubao Tang, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke et al.NeurIPS 2024 · 18 citations
- Revisiting Logistic-softmax Likelihood in Bayesian Meta-Learning for Few-Shot ClassificationTianjun Ke, Haoqun Cao, Zenan Ling, Feng ZhouNeurIPS 2023 · 17 citations
Builds on11
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
- Data-Efficient Image Recognition with Contrastive Predictive CodingOlivier J. HénaffICML 2020 · 1,553 citations
- Prototypical Contrastive Learning of Unsupervised RepresentationsJunnan Li, Pan Zhou, Caiming Xiong, Steven C. H. HoiICLR 2021 · 484 citations
- Coherent Hierarchical Multi-Label Classification NetworksEleonora Giunchiglia, Thomas LukasiewiczNeurIPS 2020 · 142 citations
Related papers
- Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text ClassificationZihan Wang, Peiyi Wang, Lianzhe Huang, Xin Sun et al.ACL 2022 · 157 citations
- Instances and Labels: Hierarchy-aware Joint Supervised Contrastive Learning for Hierarchical Multi-Label Text ClassificationSimon Chi Lok U, Jie He, Víctor Gutiérrez-Basulto, Jeff Z. PanEMNLP Findings 2023 · 18 citations
- Multi-Label Learning with Contrastive Cluster Self-Supervision for 3D Hierarchical Semantic SegmentationShuyu Cao, Chongshou Li, Jie Xu, Tianrui Li et al.ICML 2026
- Applying Contrastive Learning to Code Vulnerability Type ClassificationChen Ji, Su Yang, Hongyu Sun, Yuqing ZhangEMNLP 2024 · 6 citations
- Adaptive and Multi-scale Affinity Alignment for Hierarchical Contrastive LearningJiawei Huang, Minming Li, Hu DingNeurIPS 2025
