[Paper Review] Learning to Approximate a Bregman Divergence
This paper proposes a method to learn arbitrary Bregman divergences by approximating their underlying convex generating function using piecewise linear functions, enabling a generalization of Mahalanobis metric learning to non-linear divergences. The approach achieves a generalization error of $\mathcal{O}_p(m^{-1/2})$, matching the theoretical bound of linear methods, and outperforms existing baselines in clustering and ranking tasks on UCI benchmarks.
Bregman divergences generalize measures such as the squared Euclidean distance and the KL divergence, and arise throughout many areas of machine learning. In this paper, we focus on the problem of approximating an arbitrary Bregman divergence from supervision, and we provide a well-principled approach to analyzing such approximations. We develop a formulation and algorithm for learning arbitrary Bregman divergences based on approximating their underlying convex generating function via a piecewise linear function. We provide theoretical approximation bounds using our parameterization and show that the generalization error $O_p(m^{-1/2})$ for metric learning using our framework matches the known generalization error in the strictly less general Mahalanobis metric learning setting. We further demonstrate empirically that our method performs well in comparison to existing metric learning methods, particularly for clustering and ranking problems.
Motivation & Objective
- To develop a principled framework for learning arbitrary Bregman divergences from supervised data, extending beyond the limitations of linear metric learning.
- To address the challenge of parameterizing the class of convex functions underlying Bregman divergences in a way that enables theoretical analysis and practical optimization.
- To generalize Mahalanobis metric learning to non-linear divergences while preserving strong theoretical guarantees such as generalization error bounds.
- To empirically validate the method on clustering, ranking, and k-nearest neighbor classification tasks, demonstrating superior performance over linear and non-linear baselines.
Proposed method
- The method parameterizes the convex generating function $\phi$ of a Bregman divergence using a max-affine (piecewise linear) function $h(\mathbf{x}) = \max_{k \in [K]} \mathbf{a}_k^T \mathbf{x} + b_k$.
- The Bregman divergence is then approximated as $D_h(\mathbf{x}_1, \mathbf{x}_2) = h(\mathbf{x}_1) - h(\mathbf{x}_2) - \nabla h(\mathbf{x}_2)^T (\mathbf{x}_1 - \mathbf{x}_2)$, where the gradient is computed via subgradient.
- The framework enables learning through supervised signals such as relative comparisons or similar/dissimilar pairs, using convex optimization.
- Theoretical analysis shows that the approximation error of the Bregman divergence via this parameterization is $\mathcal{O}(K^{-1/d})$, where $d$ is the input dimension.
- Generalization error is bounded at $\mathcal{O}_p(m^{-1/2})$, matching the known bound for Mahalanobis metric learning.
- The method is implemented as a flexible framework, PBDL (Piecewise Linear Bregman Divergence Learning), applicable to clustering, ranking, and nearest neighbor classification.
Experimental results
Research questions
- RQ1Can piecewise linear functions provide a theoretically grounded and effective parameterization for approximating arbitrary Bregman divergences?
- RQ2Does the proposed framework achieve generalization error comparable to the well-established Mahalanobis metric learning setting?
- RQ3How does the performance of the proposed method compare to existing linear and non-linear metric learning baselines in clustering and ranking tasks?
- RQ4Can the method effectively model non-linear divergences that Mahalanobis learning cannot capture?
Key findings
- The proposed method, PBDL, achieves a generalization error of $\mathcal{O}_p(m^{-1/2})$, matching the theoretical bound of the Mahalanobis metric learning setting.
- The approximation error of the Bregman divergence via piecewise linear functions is bounded by $\mathcal{O}(K^{-1/d})$, demonstrating convergence as the number of linear pieces increases.
- On 30 UCI benchmark datasets, PBDL achieves first or second place in 22 out of 30 comparisons across clustering, ranking, and k-NN accuracy, outperforming both linear and non-linear baselines.
- In clustering and ranking tasks, PBDL achieves a mean Rand Index of 94.5% and AUC of 93.5%, significantly outperforming ITML and LMNN on several datasets.
- On the Wine dataset, PBDL achieves 96.5% k-NN accuracy, outperforming all other methods including GMML and Kernel NCA.
- Empirical results show that PBDL effectively models complex, non-linear data structures that linear methods like ITML fail to capture, as demonstrated in synthetic divergence fitting experiments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.