Representer Theorems for Metric and Preference Learning: Geometric Insights and Algorithms
Peyman Morteza
TL;DR
The paper introduces a unified Hilbert-space framework for metric and preference learning by defining a space of generalized Mahalanobis inner products \\mathcal{F}_{\\mathcal{H}} and deriving a novel representer theorem for simultaneous metric and preference learning, plus a simple representer theorem for metric learning from triplet comparisons. By leveraging regularization with the induced inner-product norm, the authors reduce infinite-dimensional problems to finite-dimensional ones and show how RKHS kernelization yields finite kernel representations, enabling scalable nonlinear algorithms. They develop kernelized algorithms that express solutions in terms of kernel terms and Gram matrices, and validate them on synthetic and real rank-inference benchmarks where the approach competitively outperforms baselines including vanilla ideal-point methods. The work provides both theoretical advances (new representer theorems) and practical algorithms with strong empirical performance, and it supplies code for reproducibility. Overall, the framework broadens the toolkit for metric and preference learning in nonlinear, kernelized settings with broad applicability to ranking and recommendation tasks.
Abstract
We develop a mathematical framework to address a broad class of metric and preference learning problems within a Hilbert space. We obtain a novel representer theorem for the simultaneous task of metric and preference learning. Our key observation is that the representer theorem for this task can be derived by regularizing the problem with respect to the norm inherent in the task structure. For the general task of metric learning, our framework leads to a simple and self-contained representer theorem and offers new geometric insights into the derivation of representer theorems for this task. In the case of Reproducing Kernel Hilbert Spaces (RKHSs), we illustrate how our representer theorem can be used to express the solution of the learning problems in terms of finite kernel terms similar to classical representer theorems. Lastly, our representer theorem leads to a novel nonlinear algorithm for metric and preference learning. We compare our algorithm against challenging baseline methods on real-world rank inference benchmarks, where it achieves competitive performance. Notably, our approach significantly outperforms vanilla ideal point methods and surpasses strong baselines across multiple datasets. Code available at: https://github.com/PeymanMorteza/Metric-Preference-Learning-RKHS
