SoftTriple Loss: Deep Metric Learning Without Triplet Sampling
Qi Qian, Lei Shang, Baigui Sun, Juhua Hu, Hao Li, Rong Jin

TL;DR
This paper introduces SoftTriple loss, a novel deep metric learning approach that eliminates the need for triplet sampling by using multiple class centers, leading to improved embedding learning.
Contribution
It proposes SoftTriple loss, extending SoftMax with multiple centers per class, enabling sampling-free deep metric learning with better performance.
Findings
Outperforms traditional DML methods on benchmark datasets.
Eliminates the need for triplet sampling, simplifying training.
Achieves superior embedding quality in fine-grained recognition tasks.
Abstract
Distance metric learning (DML) is to learn the embeddings where examples from the same class are closer than examples from different classes. It can be cast as an optimization problem with triplet constraints. Due to the vast number of triplet constraints, a sampling strategy is essential for DML. With the tremendous success of deep learning in classifications, it has been applied for DML. When learning embeddings with deep neural networks (DNNs), only a mini-batch of data is available at each iteration. The set of triplet constraints has to be sampled within the mini-batch. Since a mini-batch cannot capture the neighbors in the original set well, it makes the learned embeddings sub-optimal. On the contrary, optimizing SoftMax loss, which is a classification loss, with DNN shows a superior performance in certain DML tasks. It inspires us to investigate the formulation of SoftMax. Our…
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
TopicsFace recognition and analysis · Face and Expression Recognition · Human Pose and Action Recognition
MethodsTriplet Loss · Softmax
