Abstract
Traditional Mahalanobis distance metric learning faces significant scalability issues in high-dimensional spaces, often requiring $O(d^2)$ storage and $O(d^3)$ computation. This paper presents LRSML (Low-Rank Similarity Metric Learning), a convex framework designed for high-dimensional data. By leveraging a theoretical proof that the optimal metric resides within the training data's subspace, LRSML reduces the problem complexity to scale linearly with input dimensionality, enabling efficient learning in spaces with tens of thousands of features.
The Challenge of High-Dimensional Metric Learning
In domains such as genomics and computer vision, data often exceeds tens of thousands of dimensions ($d$). Standard metric learning methods are computationally prohibitive in these settings. While low-rank approximations exist to mitigate this, they frequently rely on non-convex objectives—which are prone to local minima—or heuristic bases like PCA, which may not align with the specific learning task. LRSML seeks a method that is simultaneously convex, principled, and scalable.
The LRSML Framework
LRSML addresses these issues through a principled, convex approach that focuses on the geometric relationships between data points.
Angle-Based Similarity
Instead of focusing on Euclidean distances, LRSML optimizes bilinear similarity: $S_M(x, x') = x^\top M x'$. The objective is to learn a metric $M$ such that similar pairs form acute angles (positive similarity) and dissimilar pairs form obtuse angles (negative similarity).
Convex Optimization and Trace Norm
The framework utilizes a hinge loss to enforce margins between pairs and employs trace norm regularization. As a convex surrogate for the rank of a matrix, the trace norm encourages the model to discover an optimal low-rank structure automatically, rather than imposing one via heuristics. To solve this efficiently, the authors use a linearized version of the Alternating Direction Method of Multipliers (ADMM), allowing for analytical-form updates.
Subspace Reducibility
A core contribution of this work is the "Optimality Characterization" proof. The authors demonstrate that any optimal solution $M^*$ must take the form $UWU^\top$, where $U$ is derived from the Singular Value Decomposition (SVD) of the data matrix $X$. This allows the high-dimensional problem to be projected into a lower-dimensional space defined by the number of samples ($n$), making the heavy computation independent of the feature count $d$.
Experimental Evaluation
The algorithm was benchmarked against several state-of-the-art methods on high-dimensional datasets, including Reuters-28 (18,933 dimensions), TDT2-30 (36,771 dimensions), and UIUC-Sports (87,040 dimensions).
Performance and Efficiency
LRSML consistently outperformed baselines like ITML, MLR, and LMNN in 1NN classification accuracy. Notably, the method maintains high efficiency even as dimensionality grows.
On the Reuters-28 dataset, LRSML achieved an error rate of approximately 7.29% (using 30x28 training samples), a significant improvement over the original baseline of 16.56%. Furthermore, the training time remains manageable due to the subspace projection trick, completing in a fraction of the time required by other convex methods that do not utilize this reduction.
Conclusion
LRSML provides a scalable, convex, and principled solution for metric learning in high-dimensional regimes. By reducing the problem to the data's inherent subspace, it achieves linear scaling with respect to features, making it a robust choice for modern large-scale data applications where $n \ll d$.
Summary updated