Class Anchor Margin Loss for Content-Based Image Retrieval
Not on the map. Why?
Abstract (arXiv)
The performance of neural networks in content-based image retrieval (CBIR) is highly influenced by the chosen loss (objective) function. The majority of objective functions for neural models can be divided into metric learning and statistical learning. Metric learning approaches require a pair mining strategy that often lacks efficiency, while statistical learning approaches are not generating highly compact features due to their indirect feature optimization. To this end, we propose a novel repeller-attractor loss that falls in the metric learning paradigm, yet directly optimizes for the L2 metric without the need of generating pairs. Our loss is formed of three components. One leading objective ensures that the learned features are attracted to each designated learnable class anchor. The second loss component regulates the anchors and forces them to be separable by a margin, while the third objective ensures that the anchors do not collapse to zero. Furthermore, we develop a more efficient two-stage retrieval system by harnessing the learned class anchors during the first stage of the retrieval process, eliminating the need of comparing the query with every image in the database. We establish a set of four datasets (CIFAR-100, Food-101, SVHN, and Tiny ImageNet) and evaluate the proposed objective in the context of few-shot and full-set training on the CBIR task, by using both convolutional and transformer architectures. Compared to existing objective functions, our empirical evidence shows that the proposed objective is generating superior and more consistent results.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 27 of its 48 references that are in the map. First posted on arXiv 1 Jun 2023.
Builds on
27 of 48 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2020Supervised Contrastive Learningcited by 2,803
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 968
- 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 733
- 2017Fine-tuning CNN Image Retrieval with No Human Annotationcited by 497
- 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
- 2017Sampling Matters in Deep Embedding Learningcited by 285
15 more
- 2018Additive Margin Softmax for Face Verificationcited by 275
- 2021TrivialAugment: Tuning-free Yet State-of-the-Art Data Augmentationcited by 225
- 2019Learning with Average Precision: Training Image Retrieval with a Listwise Losscited by 184
- 2017Beyond triplet loss: a deep quadruplet network for person re-identificationcited by 172
- 2017Smart Mining for Deep Metric Learningcited by 96
- 2020A Decade Survey of Content Based Image Retrieval using Deep Learningcited by 72
- 2018ArcFace: Additive Angular Margin Loss for Deep Face Recognitioncited by 56
- 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
- 2022Correlation Verification for Image Retrievalcited by 47
- 2019Deep Learning on Small Datasets without Pre-Training using Cosine Losscited by 41
- 2020Teacher-Student Training and Triplet Loss for Facial Expression Recognition under Occlusioncited by 11
- 2019A New Loss Function for CNN Classifier Based on Pre-defined Evenly-Distributed Class Centroidscited by 10
- 2021Teacher-Student Training and Triplet Loss to Reduce the Effect of Drastic Face Occlusioncited by 9
- 2022The Group Loss++: A deeper look into group loss for deep metric learningcited by 6
- 2022CROLoss: Towards a Customizable Loss for Retrieval Models in Recommender Systemscited by 4
Built on by
Not cited yet.