mlsanityData to 7 Oct 2026

Maintaining Difficulty: A Margin Scheduler for Triplet Loss in Siamese Networks Training

arXiv 2603.26389 ↗First posted 27 Mar 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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 μ according to the proportion of easy triplets observed at each epoch, with the goal of maintaining training difficulty over time. We show that the proposed strategy leads to improved performance when compared to both a constant margin and a monotonically increasing margin scheme. Experimental results on four different datasets show consistent gains in verification performance.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 18 references that are in the map. First posted on arXiv 27 Mar 2026.

Builds on

12 of 18 references.

References · 12

  1. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  2. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  3. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  4. 2022AdaFace: Quality Adaptive Margin for Face Recognitioncited by 390
  5. 2014Learning Fine-grained Image Similarity with Deep Rankingcited by 189
  6. 2017Smart Mining for Deep Metric Learningcited by 96
  7. 2021Self-restrained Triplet Loss for Accurate Masked Face Recognitioncited by 32
  8. 2019A Theoretically Sound Upper Bound on the Triplet Loss for Improving the Efficiency of Deep Distance Metric Learningcited by 25
  9. 2018Learning Incremental Triplet Margin for Person Re-identificationcited by 9
  10. 2021Deep Ranking with Adaptive Margin Triplet Losscited by 8
  11. 2019Cross-Modal Subspace Learning with Scheduled Adaptive Margin Constraintscited by 4
  12. 2024Using Deep Neural Networks to Quantify Parking Dwell Timecited by 2

Built on by

Not cited yet.