TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Methods/Triplet Loss

Triplet Loss

GeneralIntroduced 2000424 papers
Source Paper

Description

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(V_p,V_n)=−1MN∑_iM∑_jNlog⁡prob⁡(vp_i,vn_j)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)L_t(V_p,V_n)=−MN1​∑_iM∑_jNlogprob(vp_i,vn_j)

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

Papers Using This Method

Self-supervised Feature Extraction for Enhanced Ball Detection on Soccer Robots2025-06-20Contrast & Compress: Learning Lightweight Embeddings for Short Trajectories2025-06-03Exploring Generalized Gait Recognition: Reducing Redundancy and Noise within Indoor and Outdoor Datasets2025-05-21DeeCLIP: A Robust and Generalizable Transformer-Based Framework for Detecting AI-Generated Images2025-04-28Multi-Task Learning with Multi-Annotation Triplet Loss for Improved Object Detection2025-04-10ContrastiveGaussian: High-Fidelity 3D Generation with Contrastive Learning and Gaussian Splatting2025-04-10Tune It Up: Music Genre Transfer and Prediction2025-03-27CoSimGen: Controllable Diffusion Model for Simultaneous Image and Mask Generation2025-03-25Edgeworth Expansion for Semi-hard Triplet Loss2025-03-17Radar Pulse Deinterleaving with Transformer Based Deep Metric Learning2025-03-04GenIAS: Generator for Instantiating Anomalies in time Series2025-02-12PSM-SQL: Progressive Schema Learning with Multi-granularity Semantics for Text-to-SQL2025-02-07Metric Learning with Progressive Self-Distillation for Audio-Visual Embedding Learning2025-01-16FARE: A Deep Learning-Based Framework for Radar-based Face Recognition and Out-of-distribution Detection2025-01-14Anomaly Triplet-Net: Progress Recognition Model Using Deep Metric Learning Considering Occlusion for Manual Assembly Work2025-01-07Siamese Networks for Cat Re-Identification: Exploring Neural Models for Cat Instance Recognition2025-01-03Cross-Modal Mapping: Mitigating the Modality Gap for Few-Shot Image Classification2024-12-28Hyperbolic-constraint Point Cloud Reconstruction from Single RGB-D Images2024-12-12Securing Social Media Against Deepfakes using Identity, Behavioral, and Geometric Signatures2024-12-07Cross-Spectral Attention for Unsupervised RGB-IR Face Verification and Person Re-identification2024-11-28