Loss Functions

Triplet Loss

Introduced by Dong et al. in Triplet Loss in Siamese Network for Object Tracking

The goal of Triplet loss, in the context of Siamese Networks, is to maximize the joint probability among all score-pairs i.e. the product of all probabilities. By using its negative logarithm, we can get the loss formulation as follows:

$$ L_{t}\left(\mathcal{V}_{p}, \mathcal{V}_{n}\right)=-\frac{1}{M N} \sum_{i}^{M} \sum_{j}^{N} \log \operatorname{prob}\left(v p_{i}, v n_{j}\right) $$

where the balance weight $1/MN$ is used to keep the loss with the same scale for different number of instance sets.

Source: Triplet Loss in Siamese Network for Object Tracking

Papers


Paper Code Results Date Stars

Tasks


Task Papers Share
Retrieval 81 8.79%
Metric Learning 78 8.47%
Person Re-Identification 46 4.99%
Image Retrieval 35 3.80%
Face Recognition 21 2.28%
General Classification 21 2.28%
Image Classification 20 2.17%
Clustering 19 2.06%
Cross-Modal Retrieval 16 1.74%

Components


Component Type
🤖 No Components Found You can add them if they exist; e.g. Mask R-CNN uses RoIAlign

Categories