Lune

NeurIPS2020Top-tier venue

Generalization Bound of Gradient Descent for Non-Convex Metric Learning

Mingzhi Dong, Xiaochen Yang, Rui Zhu, Yujiang Wang, Jing-Hao Xue

Abstract

Metric learning aims to learn a distance measure that can benefit distance-based methods such as the nearest neighbour (NN) classifier. While considerable efforts have been made to improve its empirical performance and analyze its generalization ability by focusing on the data structure and model complexity, an unresolved question is how choices of algorithmic parameters, such as the number of training iterations, affect metric learning as it is typically formulated as an optimization problem and nowadays more often as a non-convex problem. In this paper, we theoretically address this question and prove the agnostic Probably Approximately Correct (PAC) learnability for metric learning algorithms with non-convex objective functions optimized via gradient descent (GD); in particular, our theoretical guarantee takes the iteration number into account. We first show that the generalization PAC bound is a sufficient condition for agnostic PAC learnability and this bound can be obtained by ensuring the uniform convergence on a densely concentrated subset of the parameter space. We then show that, for classifiers optimized via GD, their generalizability can be guaranteed if the classifier and loss function are both Lipschitz smooth, and further improved by using fewer iterations. To illustrate and exploit the theoretical findings, we finally propose a novel metric learning method called Smooth Metric and representative Instance LEarning (SMILE), designed to satisfy the Lipschitz smoothness property and learned via GD with an early stopping mechanism for better discriminability and less computational cost of NN.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Stability-based Generalization Analysis of Randomized Coordinate Descent for Pairwise Learning cites Generalization Guarantee of SGD for Pairwise Learning
  • Generalized Sum Pooling for Metric Learning cites Revisiting Training Strategies and Generalization Performance in Deep Metric Learning
  • Generalized Sum Pooling for Metric Learning cites Generalization Guarantee of SGD for Pairwise Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Generalization Guarantee of SGD for Pairwise LearningYunwen Lei, Mingrui Liu, Yiming YingNeurIPS 2021 · 37 citations
  2. Generalized Sum Pooling for Metric LearningYeti Ziya Gürbüz, Ozan Sener, A. Aydin AlatanICCV 2023 · 10 citations
  3. Stability-based Generalization Analysis of Randomized Coordinate Descent for Pairwise LearningLiang Wu, Ruixi Hu, Yunwen LeiAAAI 2025

Builds on1

  1. Revisiting Training Strategies and Generalization Performance in Deep Metric LearningKarsten Roth, Timo Milbich, Samarth Sinha, Prateek Gupta et al.ICML 2020 · 187 citations

Related papers

  1. Metric Learning via Penalized OptimizationHao Huang, Yanan Peng, Ting Gan, Weiping Tu et al.KDD 2021 · 2 citations
  2. Learning to Approximate a Bregman DivergenceAli Siahkamari, Xide Xia, Venkatesh Saligrama, David A. Castañón et al.NeurIPS 2020 · 19 citations
  3. Fine-Grained Analysis of Stability and Generalization for Modern Meta Learning AlgorithmsJiechao Guan, Yong Liu, Zhiwu LuNeurIPS 2022 · 9 citations
  4. Learning via Surrogate PAC-BayesAntoine Picard-Weibel, Roman Moscoviz, Benjamin GuedjNeurIPS 2024 · 2 citations
  5. Generalization Bounds for Meta-Learning via PAC-Bayes and Uniform StabilityAlec Farid, Anirudha MajumdarNeurIPS 2021 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines