Signed Graph Metric Learning via Gershgorin Disc Perfect Alignment

Cheng Yang, Gene Cheung, Wei Hu
6/15/2020
cs.LGstat.ML

Official code: bobchengyang/SGML (6 stars, MATLAB, MIT, last commit 2023-09-04).

Abstract

Given a convex and differentiable objective $Q(\M)$ for a real symmetric matrix $\M$ in the positive definite (PD) cone -- used to compute Mahalanobis distances -- we propose a fast general metric learning framework that is entirely projection-free. We first assume that $\M$ resides in a space $\cS$ of generalized graph Laplacian matrices corresponding to balanced signed graphs. $\M \in \cS$ that is also PD is called a graph metric matrix.

Show full abstract

Unlike low-rank metric matrices common in the literature, $\cS$ includes the important diagonal-only matrices as a special case. The key theorem to circumvent full eigen-decomposition and enable fast metric matrix optimization is Gershgorin disc perfect alignment (GDPA): given $\M \in \cS$ and diagonal matrix $§$, where $S_{ii} = 1/v_i$ and $\v$ is $\M$'s first eigenvector, we prove that Gershgorin disc left-ends of similarity transform $\B = §\M §^{-1}$ are perfectly aligned at the smallest eigenvalue $λ_{\min}$. Using this theorem, we replace the PD cone constraint in the metric learning problem with tightest possible linear constraints per iteration, so that the alternating optimization of the diagonal / off-diagonal terms in $\M$ can be solved efficiently as linear programs via the Frank-Wolfe method. We update $\v$ using Locally Optimal Block Preconditioned Conjugate Gradient (LOBPCG) with warm start as entries in $\M$ are optimized successively. Experiments show that our graph metric optimization is significantly faster than cone-projection schemes, and produces competitive binary classification performance.

View on arXivView PDF

Code Implementations(1)

bobchengyang/SGMLOfficial100%
MIT

source code for running experiments in paper https://arxiv.org/abs/2006.08816v6.pdf

62MATLAB, MJun 18, 20203 years agoMIT

Similar Papers

Cite this paper

@article{yang2020signed,
  title  = {Signed Graph Metric Learning via Gershgorin Disc Perfect Alignment},
  author = {Cheng Yang and Gene Cheung and Wei Hu},
  year   = {2020},
  eprint = {2006.08816},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.08816}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.08816.svg)](https://codeofpaper.com/paper/2006.08816)

Discussion