[Paper Review] Ground Metric Learning
This paper introduces ground metric learning (GML), a method to automatically learn the ground metric for transportation distances (e.g., Earth Mover's Distance) from labeled histograms using subgradient descent on a difference of convex functions. The approach improves classification accuracy on image datasets like Caltech-256 with GIST features, outperforming fixed or heuristic ground metrics.
Transportation distances have been used for more than a decade now in machine learning to compare histograms of features. They have one parameter: the ground metric, which can be any metric between the features themselves. As is the case for all parameterized distances, transportation distances can only prove useful in practice when this parameter is carefully chosen. To date, the only option available to practitioners to set the ground metric parameter was to rely on a priori knowledge of the features, which limited considerably the scope of application of transportation distances. We propose to lift this limitation and consider instead algorithms that can learn the ground metric using only a training set of labeled histograms. We call this approach ground metric learning. We formulate the problem of learning the ground metric as the minimization of the difference of two polyhedral convex functions over a convex set of distance matrices. We follow the presentation of our algorithms with promising experimental results on binary classification tasks using GIST descriptors of images taken in the Caltech-256 set.
Motivation & Objective
- To address the limitation that ground metrics in transportation distances have traditionally been set a priori using domain knowledge, which restricts applicability.
- To propose a supervised learning framework that adapts the ground metric to improve performance on histogram-based classification tasks.
- To formulate ground metric learning as a convex optimization problem minimizing a difference of convex functions over distance matrices.
- To evaluate the method empirically on binary image classification using GIST descriptors and compare it to baseline EMD with fixed metrics.
Proposed method
- Formulate ground metric learning as minimizing a criterion that is a difference of two polyhedral convex functions over a convex set of distance matrices.
- Use projected subgradient descent to find local minima of the non-convex objective function.
- Initialize the descent using multiple strategies, including typical tables (based on label similarity) and independence tables (randomized initialization).
- Apply the algorithm to train on labeled histogram pairs, iteratively refining the ground metric to reduce classification error.
- Use the network simplex algorithm with warm starts to compute optimal transport plans efficiently during training.
- Integrate the learned metric into a k-NN classifier to evaluate performance on test data.
Experimental results
Research questions
- RQ1Can a ground metric for Earth Mover’s Distance be learned from labeled histograms to improve classification performance?
- RQ2How does learned ground metric performance compare to handcrafted or default metrics in histogram-based classification?
- RQ3What initialization strategies for the ground metric optimization yield the best convergence and accuracy?
- RQ4Does the learned metric generalize across different k-NN neighborhood settings?
- RQ5Can ground metric learning be applied effectively to complex features like GIST descriptors in computer vision?
Key findings
- The proposed GML-EMD method achieves superior classification accuracy compared to EMD with fixed ground metrics, especially when the k-NN neighborhood parameter matches the training configuration.
- Initialization using typical tables (based on label similarity) significantly outperforms independence tables, demonstrating the value of informed initialization.
- Performance curves show that GML-EMD with k=3 performs best when the k-NN classifier uses k=3, confirming alignment between learning and inference settings.
- The method consistently improves over baseline EMD with the 'Typ∞' metric, illustrating the benefit of adaptive metric learning.
- The computational cost is manageable, with the main bottleneck being repeated optimal transport computations, suggesting potential for acceleration via lower bounds or faster EMD solvers.
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.