Skip to main content
QUICK REVIEW

[Paper Review] Geometric Mean Metric Learning

Pourya Habib Zadeh, Reshad Hosseini|arXiv (Cornell University)|Jul 18, 2016
Face and Expression RecognitionComputer Science21 references61 citations
TL;DR

This paper proposes Geometric Mean Metric Learning (Gmml), a novel approach to Euclidean metric learning that formulates the problem as a smooth, strictly convex optimization task on the Riemannian manifold of symmetric positive definite matrices. It achieves a closed-form solution via matrix geometric mean, enabling orders-of-magnitude faster computation than LMNN and ITML while matching or exceeding their classification accuracy on benchmark datasets.

ABSTRACT

We revisit the task of learning a Euclidean metric from data. We approach this problem from first principles and formulate it as a surprisingly simple optimization problem. Indeed, our formulation even admits a closed form solution. This solution possesses several very attractive properties: (i) an innate geometric appeal through the Riemannian geometry of positive definite matrices; (ii) ease of interpretability; and (iii) computational speed several orders of magnitude faster than the widely used LMNN and ITML methods. Furthermore, on standard benchmark datasets, our closed-form solution consistently attains higher classification accuracy.

Motivation & Objective

  • To develop a new, principled approach to Euclidean metric learning that is both computationally efficient and geometrically interpretable.
  • To formulate metric learning as an unconstrained, smooth, strictly convex optimization problem on the manifold of symmetric positive definite matrices.
  • To derive a closed-form solution that naturally arises from the geometric mean of similarity and dissimilarity matrices, ensuring global optimality and interpretability.
  • To validate the method’s performance against state-of-the-art techniques like LMNN and ITML in terms of classification accuracy and computational efficiency.
  • To demonstrate scalability and robustness on large-scale datasets with high dimensionality and numerous training samples.

Proposed method

  • The method formulates metric learning as minimizing a geometric mean-based objective function over the Riemannian manifold of symmetric positive definite (SPD) matrices.
  • It introduces a closed-form solution derived from the matrix geometric mean of the empirical similarity and dissimilarity matrices, ensuring uniqueness and stability.
  • The optimization is cast as a smooth, strictly convex problem, guaranteeing a unique global minimizer without requiring iterative solvers.
  • The approach leverages Riemannian geometry to naturally incorporate the SPD constraint and interpret the solution as a weighted geometric mean of data-induced matrices.
  • A regularized variant is introduced for ill-conditioned or non-invertible similarity matrices, using a Tikhonov-type regularization with parameter λ=0.1.
  • The method is implemented efficiently in MATLAB and evaluated using k-NN classification with 5-fold cross-validation for hyperparameter tuning.

Experimental results

Research questions

  • RQ1Can a geometrically principled formulation of metric learning lead to a closed-form solution that is both interpretable and computationally efficient?
  • RQ2How does the performance of a closed-form metric learning method based on matrix geometric mean compare to iterative methods like LMNN and ITML in terms of classification accuracy?
  • RQ3To what extent does the proposed method scale with respect to data dimensionality and number of training samples?
  • RQ4Does the geometric mean formulation on the SPD manifold provide inherent robustness and stability compared to other convex optimization-based metric learning approaches?
  • RQ5Can the method maintain high accuracy even when the similarity matrix is rank-deficient or non-invertible?

Key findings

  • Gmml achieves classification error rates on par with or better than LMNN and ITML across all tested datasets, including Letters, USPS, MNIST, and Isolet.
  • On the Letters and USPS datasets, Gmml matches the best performance of LMNN, while significantly outperforming it on one dataset and being outperformed on another.
  • For the Isolet and MNIST datasets, using 1000c(c−1) data pairs improved Gmml’s accuracy by approximately 1% and 0.5%, respectively, surpassing the FlatGeo method.
  • Gmml runs up to three orders of magnitude faster than LMNN and ITML, with reported runtimes of 0.0137s on Letters and 1.6795s on MNIST, compared to over 400s for LMNN.
  • The method’s computational efficiency is maintained across all datasets, with the fastest runtime among all methods tested, including FlatGeo and ITML.
  • The regularized version of Gmml with λ=0.1 successfully handles non-invertible similarity matrices in MNIST, ensuring stable performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.