Maintaining Difficulty: A Margin Scheduler for Triplet Loss in Siamese Networks Training
The Triplet Margin Ranking Loss is one of the most widely used loss functions in Siamese Networks for solving Distance Metric Learning (DML) problems. This loss function depends on a margin parameter μ, which defines the minimum distance that should separate positive and negative pairs during training. In this work, we show that, during training, the effective margin of many triplets often exceeds the predefined value of μ, provided that a sufficient number of triplets violating this margin is observed. This behavior indicates that fixing the margin throughout training may limit the learning process. Based on this observation, we propose a margin scheduler that adjusts the value of μ acco...
| Authors | Roberto Sprengel Minozzo Tomchak, Oge Marques, Lucas Garcia Pedroso et al. |
|---|---|
| Primary category | cs.LG |
| Published | 27 March 2026 |
| Last updated at source | 27 March 2026 |
Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.