维持难度:Siamese网络训练中的三元组损失边际调度器
Maintaining Difficulty: A Margin Scheduler for Triplet Loss in Siamese Networks Training
AI总结:
本文提出一种边际调度器,根据每epoch观察到的简单三元组比例调整三元组损失中的边际参数,以维持训练难度,实验显示其优于固定和单调递增的边际方案。
摘要:
三元组边际排名损失是Siamese网络中解决距离度量学习(DML)问题最广泛使用的损失函数之一。该损失函数依赖于一个边际参数μ,定义了训练过程中正负对之间应保持的最小距离。本文表明,在观察到足够数量违反该边际的三元组时,许多三元组的有效边际往往超过预定义的μ值。这种行为表明,在训练过程中固定边际可能限制学习过程。基于这一观察,我们提出了一种边际调度器,根据每个epoch观察到的简单三元组比例调整μ的值,目标是维持训练难度。我们证明,与固定边际和单调递增边际方案相比,所提策略在性能上有所提升。在四个不同数据集上的实验结果显示出验证性能的一致提升。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。