Learning Intra-Batch Connections for Deep Metric Learning
Not on the map. Why?
Abstract (arXiv)
The goal of metric learning is to learn a function that maps samples to a lower-dimensional space where similar samples lie closer than dissimilar ones. Particularly, deep metric learning utilizes neural networks to learn such a mapping. Most approaches rely on losses that only take the relations between pairs or triplets of samples into account, which either belong to the same class or two different classes. However, these methods do not explore the embedding space in its entirety. To this end, we propose an approach based on message passing networks that takes all the relations in a mini-batch into account. We refine embedding vectors by exchanging messages among all samples in a given batch allowing the training process to be aware of its overall structure. Since not all samples are equally important to predict a decision boundary, we use an attention mechanism during message passing to allow samples to weigh the importance of each neighbor accordingly. We achieve state-of-the-art results on clustering and image retrieval on the CUB-200-2011, Cars196, Stanford Online Products, and In-Shop Clothes datasets. To facilitate further research, we make available the code and the models at https://github.com/dvl-tum/intra_batch_connections.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). Builds on 52 of its 83 references that are in the map. First posted on arXiv 15 Feb 2021.
Builds on
52 of 83 references.
References · 52
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2017Graph Attention Networkscited by 8,854
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2016Layer Normalizationcited by 5,579
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
38 more
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2016Geometric deep learning: going beyond Euclidean datacited by 1,042
- 2019Relational Knowledge Distillationcited by 873
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2020A Metric Learning Reality Checkcited by 317
- 2017Sampling Matters in Deep Embedding Learningcited by 285
- 2017Re-ranking Person Re-identification with k-reciprocal Encodingcited by 260
- 2017No Fuss Distance Metric Learning using Proxiescited by 225
- 2019Learning a Neural Solver for Multiple Object Trackingcited by 198
- 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
- 2019Learning with Average Precision: Training Image Retrieval with a Listwise Losscited by 184
- 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
- 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
- 2017Deep Metric Learning with Angular Losscited by 107
- 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
- 2020Hard negative examples are hard, but usefulcited by 82
- 2019Ranked List Loss for Deep Metric Learningcited by 77
- 2019Improved Embeddings with Easy Positive Triplet Miningcited by 66
- 2020Scattering GCN: Overcoming Oversmoothness in Graph Convolutional Networkscited by 57
- 2018Attention-based Ensemble for Deep Metric Learningcited by 56
- 2016Hard-Aware Deeply Cascaded Embeddingcited by 44
- 2018Local Descriptors Optimized for Average Precisioncited by 43
- 2019MIC: Mining Interclass Characteristics for Improved Metric Learningcited by 41
- 2018Deep Metric Learning with BIER: Boosting Independent Embeddings Robustlycited by 40
- 2020DiVA: Diverse Visual Feature Aggregation for Deep Metric Learningcited by 40
- 2019Divide and Conquer the Embedding Space for Metric Learningcited by 39
- 2020Fewer is More: A Deep Graph Metric Learning Perspective Using Fewer Proxiescited by 36
- 2019Metric Learning With HORDE: High-Order Regularizer for Deep Embeddingscited by 29
- 2019The Group Loss for Deep Metric Learningcited by 20
- 2020PADS: Policy-Adapted Sampling for Visual Similarity Learningcited by 20
- 2017Hashing as Tie-Aware Learning to Rankcited by 18
- 2015Embedding Label Structures for Fine-Grained Feature Representationcited by 17
- 2018Deep Randomized Ensembles for Metric Learningcited by 17
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2021: 3; 2022: 10; 2023: 6; 2024: 9; 2025: 5; 2026: 1.
34 papers.
Sort:
- 2021Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learningcited by 112
- 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learningcited by 33
- 2023Towards Universal Image Embeddings: A Large-Scale Dataset and Challenge for Generic Image Representationscited by 28
- 2022Integrating Language Guidance into Vision-based Deep Metric Learningcited by 19
- 2021Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learningcited by 17
- 2022Fine-grained Retrieval Prompt Tuningcited by 11
- 2024Towards Improved Proxy-based Deep Metric Learning via Data-Augmented Domain Adaptationcited by 9
- 2022Granularity-aware Adaptation for Image Retrieval over Multiple Taskscited by 8
- 2022The Group Loss++: A deeper look into group loss for deep metric learningcited by 6
- 2023IBAFormer: Intra-batch Attention Transformer for Domain Generalized Semantic Segmentationcited by 6
- 2024DVF: Advancing Robust and Accurate Fine-Grained Image Retrieval with Retrieval Guidelinescited by 6
22 more
- 2022Supervised Metric Learning to Rank for Retrieval via Contextual Similarity Optimizationcited by 5
- 2024Globally Correlation-Aware Hard Negative Generationcited by 5
- 2022Semi-supervised New Event Type Induction and Description via Contrastive Loss-Enforced Batch Attentioncited by 4
- 2022Self-Attention Message Passing for Contrastive Few-Shot Learningcited by 4
- 2024GSSF: Generalized Structural Sparse Function for Deep Cross-modal Metric Learningcited by 4
- 2022Deep Metric Learning with Chance Constraintscited by 3
- 2023Joint Local Relational Augmentation and Global Nash Equilibrium for Federated Learning with Non-IID Datacited by 3
- 2023Generalizable Embeddings with Cross-batch Metric Learningcited by 2
- 2023ProcSim: Proxy-based Confidence for Robust Similarity Learningcited by 2
- 2024FlameFinder: Illuminating Obscured Fire through Smoke with Attentive Deep Metric Learningcited by 2
- 2025Fine-grained Image Retrieval via Dual-Vision Adaptationcited by 2
- 2025SAGE: Spatial-visual Adaptive Graph Exploration for Efficient Visual Place Recognitioncited by 2
- 2022Coded Residual Transform for Generalizable Deep Metric Learningcited by 1
- 2023Generalized Sum Pooling for Metric Learningcited by 1
- 2024Spatiotemporal Graph Guided Multi-modal Network for Livestreaming Product Retrievalcited by 1
- 2025Instance-Level Generation for Representation Learningcited by 1
- 2025Exploiting Inter-Sample Information for Long-tailed Out-of-Distribution Detectioncited by 1
- 2024Anti-Collapse Loss for Deep Metric Learning Based on Coding Rate Metriccited by 0
- 2024Realigned Softmax Warping for Deep Metric Learningcited by 0
- 2024Three Things to Know about Deep Metric Learningcited by 0
- 2025Adversarial Reconstruction Feedback for Robust Fine-grained Generalizationcited by 0
- 2026OmniFashion: Towards Generalist Fashion Intelligence via Multi-Task Vision-Language Learningcited by 0
- 2026OmniFashion: Towards Generalist Fashion Intelligence via Multi-Task Vision-Language Learning3 Mar 2026
- 2025Exploiting Inter-Sample Information for Long-tailed Out-of-Distribution Detection20 Nov 2025
- 2025Instance-Level Generation for Representation Learning10 Oct 2025
- 2025SAGE: Spatial-visual Adaptive Graph Exploration for Efficient Visual Place Recognition30 Sep 2025
- 2025Adversarial Reconstruction Feedback for Robust Fine-grained Generalization29 Jul 2025
- 2025Fine-grained Image Retrieval via Dual-Vision Adaptation19 Jun 2025
- 2024Three Things to Know about Deep Metric Learning17 Dec 2024
- 2024Globally Correlation-Aware Hard Negative Generation20 Nov 2024
- 2024GSSF: Generalized Structural Sparse Function for Deep Cross-modal Metric Learning20 Oct 2024
- 2024Realigned Softmax Warping for Deep Metric Learning28 Aug 2024
- 2024Spatiotemporal Graph Guided Multi-modal Network for Livestreaming Product Retrieval23 Jul 2024
- 2024Anti-Collapse Loss for Deep Metric Learning Based on Coding Rate Metric3 Jul 2024
22 more
- 2024DVF: Advancing Robust and Accurate Fine-Grained Image Retrieval with Retrieval Guidelines24 Apr 2024
- 2024FlameFinder: Illuminating Obscured Fire through Smoke with Attentive Deep Metric Learning9 Apr 2024
- 2024Towards Improved Proxy-based Deep Metric Learning via Data-Augmented Domain Adaptation1 Jan 2024
- 2023ProcSim: Proxy-based Confidence for Robust Similarity Learning1 Nov 2023
- 2023IBAFormer: Intra-batch Attention Transformer for Domain Generalized Semantic Segmentation12 Sep 2023
- 2023Towards Universal Image Embeddings: A Large-Scale Dataset and Challenge for Generic Image Representations4 Sep 2023
- 2023Generalized Sum Pooling for Metric Learning18 Aug 2023
- 2023Joint Local Relational Augmentation and Global Nash Equilibrium for Federated Learning with Non-IID Data17 Aug 2023
- 2023Generalizable Embeddings with Cross-batch Metric Learning14 Jul 2023
- 2022Self-Attention Message Passing for Contrastive Few-Shot Learning12 Oct 2022
- 2022Coded Residual Transform for Generalizable Deep Metric Learning9 Oct 2022
- 2022Granularity-aware Adaptation for Image Retrieval over Multiple Tasks5 Oct 2022
- 2022Supervised Metric Learning to Rank for Retrieval via Contextual Similarity Optimization4 Oct 2022
- 2022Deep Metric Learning with Chance Constraints19 Sep 2022
- 2022Fine-grained Retrieval Prompt Tuning29 Jul 2022
- 2022The Group Loss++: A deeper look into group loss for deep metric learning4 Apr 2022
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learning16 Mar 2022
- 2022Integrating Language Guidance into Vision-based Deep Metric Learning16 Mar 2022
- 2022Semi-supervised New Event Type Induction and Description via Contrastive Loss-Enforced Batch Attention12 Feb 2022
- 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixup25 Aug 2021
- 2021Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learning20 Jul 2021
- 2021Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learning4 Jun 2021
- 2021Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learningcited by 112
- 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
- 2022Non-isotropy Regularization for Proxy-based Deep Metric Learningcited by 33
- 2023Towards Universal Image Embeddings: A Large-Scale Dataset and Challenge for Generic Image Representationscited by 28
- 2022Integrating Language Guidance into Vision-based Deep Metric Learningcited by 19
- 2021Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learningcited by 17
- 2022Fine-grained Retrieval Prompt Tuningcited by 11
- 2024Towards Improved Proxy-based Deep Metric Learning via Data-Augmented Domain Adaptationcited by 9
- 2022Granularity-aware Adaptation for Image Retrieval over Multiple Taskscited by 8
- 2022The Group Loss++: A deeper look into group loss for deep metric learningcited by 6
- 2023IBAFormer: Intra-batch Attention Transformer for Domain Generalized Semantic Segmentationcited by 6
- 2024DVF: Advancing Robust and Accurate Fine-Grained Image Retrieval with Retrieval Guidelinescited by 6
12 most cited of 34 All 34 (JSON)
- 2026OmniFashion: Towards Generalist Fashion Intelligence via Multi-Task Vision-Language Learning3 Mar 2026
- 2025Exploiting Inter-Sample Information for Long-tailed Out-of-Distribution Detection20 Nov 2025
- 2025Instance-Level Generation for Representation Learning10 Oct 2025
- 2025SAGE: Spatial-visual Adaptive Graph Exploration for Efficient Visual Place Recognition30 Sep 2025
- 2025Adversarial Reconstruction Feedback for Robust Fine-grained Generalization29 Jul 2025
- 2025Fine-grained Image Retrieval via Dual-Vision Adaptation19 Jun 2025
- 2024Three Things to Know about Deep Metric Learning17 Dec 2024
- 2024Globally Correlation-Aware Hard Negative Generation20 Nov 2024
- 2024GSSF: Generalized Structural Sparse Function for Deep Cross-modal Metric Learning20 Oct 2024
- 2024Realigned Softmax Warping for Deep Metric Learning28 Aug 2024
- 2024Spatiotemporal Graph Guided Multi-modal Network for Livestreaming Product Retrieval23 Jul 2024
- 2024Anti-Collapse Loss for Deep Metric Learning Based on Coding Rate Metric3 Jul 2024
12 newest of 34 All 34 (JSON)