Multi-Similarity Loss with General Pair Weighting for Deep Metric Learning
Xun Wang, Xintong Han, Weilin Huang, Dengke Dong, Matthew R. Scott

TL;DR
This paper introduces a general pair weighting framework for deep metric learning, proposes a new multi-similarity loss under this framework, and achieves state-of-the-art results on image retrieval benchmarks.
Contribution
It establishes a unified weighting framework for pair-based loss functions, compares existing methods, and proposes a novel multi-similarity loss that improves retrieval performance.
Findings
MS loss outperforms recent approaches like ABE and HTL.
MS loss achieves state-of-the-art recall@1 on CUB200 and In-Shop datasets.
The framework clarifies differences and limitations of existing pair-based methods.
Abstract
A family of loss functions built on pair-based computation have been proposed in the literature which provide a myriad of solutions for deep metric learning. In this paper, we provide a general weighting framework for understanding recent pair-based loss functions. Our contributions are three-fold: (1) we establish a General Pair Weighting (GPW) framework, which casts the sampling problem of deep metric learning into a unified view of pair weighting through gradient analysis, providing a powerful tool for understanding recent pair-based loss functions; (2) we show that with GPW, various existing pair-based methods can be compared and discussed comprehensively, with clear differences and key limitations identified; (3) we propose a new loss called multi-similarity loss (MS loss) under the GPW, which is implemented in two iterative steps (i.e., mining and weighting). This allows it to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Image and Video Retrieval Techniques · Face recognition and analysis · Domain Adaptation and Few-Shot Learning
