On the Stability and Generalization of Triplet Learning
Jun Chen, Hong Chen, Xue Jiang, Bin Gu, Weifu Li, Tieliang Gong, Feng Zheng
Abstract
Triplet learning, i.e. learning from triplet data, has attracted much attention in computer vision tasks with an extremely large number of categories, e.g., face recognition and person re-identification. Albeit with rapid progress in designing and applying triplet learning algorithms, there is a lacking study on the theoretical understanding of their generalization performance. To fill this gap, this paper investigates the generalization guarantees of triplet learning by leveraging the stability analysis. Specifically, we establish the first general high-probability generalization bound for the triplet learning algorithm satisfying the uniform stability, and then obtain the excess risk bounds of the order O(n -1 2 logn) for both stochastic gradient descent (SGD) and regularized risk minimization (RRM), where 2n is approximately equal to the number of training samples. Moreover, an optimistic generalization bound in expectation as fast as O(n -1 ) is derived for RRM in a low noise case via the on-average stability analysis. Finally, our results are applied to triplet metric learning to characterize its theoretical underpinning.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Towards Generalization beyond Pointwise Learning: A Unified Information-theoretic PerspectiveYuxin Dong, Tieliang Gong, Hong Chen, Zhongjiang He et al.ICML 2024 · 4 citations
- Toward Better PAC-Bayes Bounds for Uniformly Stable AlgorithmsSijia Zhou, Yunwen Lei, Ata KabánNeurIPS 2023 · 4 citations
- Stability-based Generalization Analysis of Randomized Coordinate Descent for Pairwise LearningLiang Wu, Ruixi Hu, Yunwen LeiAAAI 2025
- Enhancing Small-Scale Dataset Expansion with Triplet-Connection-based Sample Re-WeightingTing Xiang, Changjian Chen, Zhuo Tang, Qifeng Zhang et al.ACM MM 2025
Builds on13
- Accuracy on the Line: on the Strong Correlation Between Out-of-Distribution and In-Distribution GeneralizationJohn Miller, Rohan Taori, Aditi Raghunathan, Shiori Sagawa et al.ICML 2021 · 323 citations
- Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient DescentYunwen Lei, Yiming YingICML 2020 · 165 citations
- Towards a Theoretical Framework of Out-of-Distribution GeneralizationHaotian Ye, Chuanlong Xie, Tianle Cai, Ruichen Li et al.NeurIPS 2021 · 159 citations
- On the Algorithmic Stability of Adversarial TrainingYue Xing, Qifan Song, Guang ChengNeurIPS 2021 · 74 citations
- Stability and Deviation Optimal Risk Bounds with Convergence Rate Yegor Klochkov, Nikita ZhivotovskiyNeurIPS 2021 · 72 citations
Related papers
- Sharper Generalization Bounds for Pairwise LearningYunwen Lei, Antoine Ledent, Marius KloftNeurIPS 2020 · 50 citations
- Generalization Guarantee of SGD for Pairwise LearningYunwen Lei, Mingrui Liu, Yiming YingNeurIPS 2021 · 37 citations
- Stability-Based Generalization Analysis for Mixtures of Pointwise and Pairwise LearningJiahuan Wang, Jun Chen, Hong Chen, Bin Gu et al.AAAI 2023 · 2 citations
- Deep Meta Metric LearningGuangyi Chen, Tianren Zhang, Jiwen Lu, Jie ZhouICCV 2019 · 65 citations
- Deep Metric Learning With Tuplet Margin LossBaosheng Yu, Dacheng TaoICCV 2019 · 104 citations
