English

On the Stability and Generalization of Triplet Learning

Machine Learning 2023-02-21 v1 Machine Learning

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(n12logn)O(n^{-\frac{1}{2}} \mathrm{log}n) for both stochastic gradient descent (SGD) and regularized risk minimization (RRM), where 2n2n is approximately equal to the number of training samples. Moreover, an optimistic generalization bound in expectation as fast as O(n1)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.

Keywords

Cite

@article{arxiv.2302.09815,
  title  = {On the Stability and Generalization of Triplet Learning},
  author = {Jun Chen and Hong Chen and Xue Jiang and Bin Gu and Weifu Li and Tieliang Gong and Feng Zheng},
  journal= {arXiv preprint arXiv:2302.09815},
  year   = {2023}
}

Comments

AAAI2023

R2 v1 2026-06-28T08:44:13.529Z