Deep Metric Learning with Hierarchical Triplet Loss
Not on the map. Why?
Abstract (arXiv)
We present a novel hierarchical triplet loss (HTL) capable of automatically collecting informative training samples (triplets) via a defined hierarchical tree that encodes global context information. This allows us to cope with the main limitation of random sampling in training a conventional triplet loss, which is a central issue for deep metric learning. Our main contributions are two-fold. (i) we construct a hierarchical class-level tree where neighboring classes are merged recursively. The hierarchical structure naturally captures the intrinsic data distribution over the whole database. (ii) we formulate the problem of triplet collection by introducing a new violate margin, which is computed dynamically based on the designed hierarchical tree. This allows it to automatically select meaningful hard samples with the guide of global context. It encourages the model to learn more discriminative features from visual similar classes, leading to faster convergence and better performance. Our method is evaluated on the tasks of image retrieval and face recognition, where it outperforms the standard triplet loss substantially by 1%-18%. It achieves new state-of-the-art performance on a number of benchmarks, with much fewer learning iterations.
Key facts. Cited by 112 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 36; 2022: 32; 2023: 26; 2024: 13; 2025: 3; 2026: 2.
112 papers.
Sort:
By area:
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
- 2022Hyperbolic Vision Transformers: Combining Improvements in Metric Learningcited by 109
- 2021Training Vision Transformers for Image Retrievalcited by 90
- 2022Deep Hierarchical Semantic Segmentationcited by 84
- 2021ArtiBoost: Boosting Articulated 3D Hand-Object Pose Estimation via Online Exploration and Synthesiscited by 76
- 2022Use All The Labels: A Hierarchical Multi-Label Contrastive Learning Frameworkcited by 59
- 2021High-Dimensional Bayesian Optimisation with Variational Autoencoders and Deep Metric Learningcited by 54
- 2022Knowledge Injected Prompt Based Fine-tuning for Multi-label Few-shot ICD Codingcited by 40
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understandingcited by 40
- 2022Ranking Info Noise Contrastive Estimation: Boosting Contrastive Learning via Ranked Positivescited by 37
- 2021Learning Intra-Batch Connections for Deep Metric Learningcited by 34
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learningcited by 33
38 more
- 2021Towards Interpretable Deep Metric Learning with Structural Matchingcited by 30
- 2021Deep Spatially and Temporally Aware Similarity Computation for Road Network Constrained Trajectoriescited by 29
- 2022A Survey of Deep Graph Clustering: Taxonomy, Challenge, Application, and Open Resourcecited by 26
- 2022HIER: Metric Learning Beyond Class Labels via Hierarchical Regularizationcited by 26
- 2021SphereFace Revived: Unifying Hyperspherical Face Recognitioncited by 23
- 2021Deep Relational Metric Learningcited by 22
- 2021Learning with Memory-based Virtual Classes for Deep Metric Learningcited by 21
- 2023Internet Explorer: Targeted Representation Learning on the Open Webcited by 21
- 2023Adaptive Sparse Pairwise Loss for Object Re-Identificationcited by 20
- 2021Robust and Decomposable Average Precision for Image Retrievalcited by 19
- 2022Integrating Language Guidance into Vision-based Deep Metric Learningcited by 19
- 2021Hierarchical Proxy-based Loss for Deep Metric Learningcited by 18
- 2021Proxy Synthesis: Learning with Synthetic Classes for Deep Metric Learningcited by 17
- 2021Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learningcited by 17
- 2021MIN2Net: End-to-End Multi-Task Learning for Subject-Independent Motor Imagery EEG Classificationcited by 16
- 2024Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detectioncited by 15
- 2023Generalizing and Decoupling Neural Collapse via Hyperspherical Uniformity Gapcited by 14
- 2021A Strong Baseline for Vehicle Re-Identificationcited by 13
- 2022Self-Taught Metric Learning without Labelscited by 13
- 2023Optimization of Rank Losses for Image Retrievalcited by 10
- 2024Understanding Hyperbolic Metric Learning through Hard Negative Samplingcited by 10
- 2021Informative and Representative Triplet Selection for Multilabel Remote Sensing Image Retrievalcited by 9
- 2022Improving Molecular Representation Learning with Metric Learning-enhanced Optimal Transportcited by 9
- 2023Hierarchical Skeleton Meta-Prototype Contrastive Learning with Hard Skeleton Mining for Unsupervised Person Re-Identificationcited by 9
- 2021Entropy-Based Uncertainty Calibration for Generalized Zero-Shot Learningcited by 8
- 2021Ranking Models in Unlabeled New Environmentscited by 8
- 2021Adaptive Hierarchical Similarity Metric Learning with Noisy Labelscited by 8
- 2022Cross Vision-RF Gait Re-identification with Low-cost RGB-D Cameras and mmWave Radarscited by 8
- 2023Global Proxy-based Hard Mining for Visual Place Recognitioncited by 8
- 2021LoOp: Looking for Optimal Hard Negative Embeddings for Deep Metric Learningcited by 7
- 2022RankDNN: Learning to Rank for Few-shot Learningcited by 7
- 2023Introspective Deep Metric Learningcited by 7
- 2023Beyond Prototypes: Semantic Anchor Regularization for Better Representation Learningcited by 7
- 2021Multi-level Distance Regularization for Deep Metric Learningcited by 6
- 2022The Group Loss++: A deeper look into group loss for deep metric learningcited by 6
- 2022Do Different Deep Metric Learning Losses Lead to Similar Learned Features?cited by 6
- 2022PCCT: Progressive Class-Center Triplet Loss for Imbalanced Medical Image Classificationcited by 6
- 2023SemPPL: Predicting pseudo-labels for better contrastive representationscited by 6
50 most cited of 112 All 112 (JSON)
- 2026Region-Aware CLS Token Augmentation for Fine-Grained Image Retrieval7 Oct 2026
- 2026SeCo-SBIR: Semantically Consistent Prompt Learning for Zero-Shot Sketch-Based Image Retrieval4 Aug 2026
- 2025Generalized Fine-Grained Category Discovery with Multi-Granularity Conceptual Experts30 Sep 2025
- 2025Frequency-Semantic Enhanced Variational Autoencoder for Zero-Shot Skeleton-based Action Recognition27 Jun 2025
- 2025Exploring the Capabilities of LLMs for IMU-based Fine-grained Human Activity Understanding2 Apr 2025
- 2024Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detection6 Dec 2024
- 2024Is Function Similarity Over-Engineered? Building a Benchmark30 Oct 2024
- 2024DAAL: Density-Aware Adaptive Line Margin Loss for Multi-Modal Deep Metric Learning7 Oct 2024
- 2024Learning Structured Representations by Embedding Class Hierarchy with Fast Optimal Transport4 Oct 2024
- 2024Towards Fine-Grained Webpage Fingerprinting at Scale6 Sep 2024
- 2024Deep Learning-Based Robust Multi-Object Tracking via Fusion of mmWave Radar and Camera Sensors10 Jul 2024
- 2024Multi-threshold Deep Metric Learning for Facial Expression Recognition24 Jun 2024
38 more
- 2024Potential Field Based Deep Metric Learning28 May 2024
- 2024Understanding Hyperbolic Metric Learning through Hard Negative Sampling23 Apr 2024
- 2024Understanding and Mitigating Human-Labelling Errors in Supervised Contrastive Learning10 Mar 2024
- 2024Dual Pose-invariant Embeddings: Learning Category and Object-specific Discriminative Representations for Recognition and Retrieval1 Mar 2024
- 2024CLCE: An Approach to Refining Cross-Entropy and Contrastive Learning for Optimized Learning Fusion22 Feb 2024
- 2024Learning Label Hierarchy with Supervised Contrastive Learning31 Jan 2024
- 2023SMC-NCA: Semantic-guided Multi-level Contrast for Semi-supervised Temporal Action Segmentation19 Dec 2023
- 2023Beyond Prototypes: Semantic Anchor Regularization for Better Representation Learning19 Dec 2023
- 2023Elucidating and Overcoming the Challenges of Label Noise in Supervised Contrastive Learning25 Nov 2023
- 2023ProcSim: Proxy-based Confidence for Robust Similarity Learning1 Nov 2023
- 2023ProtoKD: Learning from Extremely Scarce Data for Parasite Ova Recognition18 Sep 2023
- 2023Optimization of Rank Losses for Image Retrieval15 Sep 2023
- 2023Introspective Deep Metric Learning11 Sep 2023
- 2023When hard negative sampling meets supervised contrastive learning28 Aug 2023
- 2023Center Contrastive Loss for Metric Learning1 Aug 2023
- 2023Pretrained deep models outperform GBDTs in Learning-To-Rank under label scarcity31 Jul 2023
- 2023Hierarchical Skeleton Meta-Prototype Contrastive Learning with Hard Skeleton Mining for Unsupervised Person Re-Identification24 Jul 2023
- 2023Deep Metric Learning with Soft Orthogonal Proxies22 Jun 2023
- 2023Contrasting Intra-Modal and Ranking Cross-Modal Hard Negatives to Enhance Visio-Linguistic Compositional Understanding15 Jun 2023
- 2023Improving Deep Representation Learning via Auxiliary Learnable Target Coding30 May 2023
- 2023Deep Visual-Genetic Biometrics for Taxonomic Classification of Rare Species11 May 2023
- 2023Deep Metric Learning Assisted by Intra-variance in A Semi-supervised View of Learning21 Apr 2023
- 2023Robust Calibrate Proxy Loss for Deep Metric Learning6 Apr 2023
- 2023Adaptive Sparse Pairwise Loss for Object Re-Identification31 Mar 2023
- 2023A Triplet-loss Dilated Residual Network for High-Resolution Representation Learning in Image Retrieval15 Mar 2023
- 2023Generalizing and Decoupling Neural Collapse via Hyperspherical Uniformity Gap11 Mar 2023
- 2023Global Proxy-based Hard Mining for Visual Place Recognition28 Feb 2023
- 2023Internet Explorer: Targeted Representation Learning on the Open Web27 Feb 2023
- 2023On the Stability and Generalization of Triplet Learning20 Feb 2023
- 2023Web Photo Source Identification based on Neural Enhanced Camera Fingerprint18 Feb 2023
- 2023Triplet Loss-less Center Loss Sampling Strategies in Facial Expression Recognition Scenarios8 Feb 2023
- 2023SemPPL: Predicting pseudo-labels for better contrastive representations12 Jan 2023
- 2022HIER: Metric Learning Beyond Class Labels via Hierarchical Regularization29 Dec 2022
- 2022Statistical Physics of Deep Neural Networks: Initialization toward Optimal Channels4 Dec 2022
- 2022RankDNN: Learning to Rank for Few-shot Learning28 Nov 2022
- 2022A Survey of Deep Graph Clustering: Taxonomy, Challenge, Application, and Open Resource23 Nov 2022
- 2022Rethinking Batch Sample Relationships for Data Representation: A Batch-Graph Transformer based Approach19 Nov 2022
- 2022Self-distillation with Online Diffusion on Batch Manifolds Improves Deep Metric Learning14 Nov 2022
50 newest of 112 All 112 (JSON)
- 2022Hyperbolic Vision Transformers: Combining Improvements in Metric Learningcited by 109
- 2021Training Vision Transformers for Image Retrievalcited by 90
- 2022Deep Hierarchical Semantic Segmentationcited by 84
- 2021ArtiBoost: Boosting Articulated 3D Hand-Object Pose Estimation via Online Exploration and Synthesiscited by 76
- 2022Use All The Labels: A Hierarchical Multi-Label Contrastive Learning Frameworkcited by 59
- 2021High-Dimensional Bayesian Optimisation with Variational Autoencoders and Deep Metric Learningcited by 54
- 2022Knowledge Injected Prompt Based Fine-tuning for Multi-label Few-shot ICD Codingcited by 40
- 2022Ranking Info Noise Contrastive Estimation: Boosting Contrastive Learning via Ranked Positivescited by 37
- 2021Learning Intra-Batch Connections for Deep Metric Learningcited by 34
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learningcited by 33
- 2021Towards Interpretable Deep Metric Learning with Structural Matchingcited by 30
- 2021Deep Spatially and Temporally Aware Similarity Computation for Road Network Constrained Trajectoriescited by 29
12 most cited of 110 All 110 (JSON)
- 2026Region-Aware CLS Token Augmentation for Fine-Grained Image Retrieval7 Oct 2026
- 2026SeCo-SBIR: Semantically Consistent Prompt Learning for Zero-Shot Sketch-Based Image Retrieval4 Aug 2026
- 2025Generalized Fine-Grained Category Discovery with Multi-Granularity Conceptual Experts30 Sep 2025
- 2025Frequency-Semantic Enhanced Variational Autoencoder for Zero-Shot Skeleton-based Action Recognition27 Jun 2025
- 2025Exploring the Capabilities of LLMs for IMU-based Fine-grained Human Activity Understanding2 Apr 2025
- 2024Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detection6 Dec 2024
- 2024Is Function Similarity Over-Engineered? Building a Benchmark30 Oct 2024
- 2024DAAL: Density-Aware Adaptive Line Margin Loss for Multi-Modal Deep Metric Learning7 Oct 2024
- 2024Learning Structured Representations by Embedding Class Hierarchy with Fast Optimal Transport4 Oct 2024
- 2024Towards Fine-Grained Webpage Fingerprinting at Scale6 Sep 2024
- 2024Deep Learning-Based Robust Multi-Object Tracking via Fusion of mmWave Radar and Camera Sensors10 Jul 2024
- 2024Multi-threshold Deep Metric Learning for Facial Expression Recognition24 Jun 2024
12 newest of 110 All 110 (JSON)