[Paper Review] Large Margin Nearest Neighbor Classification using Curved Mahalanobis Distances
This paper extends the Large Margin Nearest Neighbor (LMNN) framework to hyperbolic and elliptic Cayley-Klein geometries by learning curved Mahalanobis distances, demonstrating that Cayley-Klein Voronoi diagrams are affine and equivalent to clipped power diagrams, and introducing a mixed elliptic-hyperbolic distance that improves classification accuracy over constant-curvature models on benchmark datasets.
Hilbert geometry is a metric geometry that extends the hyperbolic Cayley-Klein geometry. In this video, we explain the shape of balls and their properties in a convex polygonal Hilbert geometry. First, we study the combinatorial properties of Hilbert balls, showing that the shapes of Hilbert polygonal balls depend both on the center location and on the complexity of the Hilbert domain but not on their radii. We give an explicit description of the Hilbert ball for any given center and radius. We then study the intersection of two Hilbert balls. In particular, we consider the cases of empty intersection and internal/external tangencies.
Motivation & Objective
- Extend the LMNN algorithm to hyperbolic Cayley-Klein geometry, which was not previously addressed in the literature.
- Investigate the computational geometry properties of Cayley-Klein Voronoi diagrams and balls in non-Euclidean spaces.
- Develop and evaluate a mixed elliptic-hyperbolic Cayley-Klein distance to model data with variable curvature.
- Demonstrate that curved Mahalanobis distances in Cayley-Klein geometries can be efficiently computed and used in k-NN classification.
- Establish theoretical foundations for using non-Euclidean metric learning in supervised classification tasks.
Proposed method
- Reformulate the hyperbolic and elliptic Cayley-Klein distances as curved Mahalanobis distances using bilinear forms with indefinite signature matrices.
- Use Cholesky or LDLT decomposition to canonicalize the bilinear form and map data into standard elliptic or hyperbolic projective spaces.
- Prove that Cayley-Klein bisectors are affine (clipped) hyperplanes, enabling efficient Voronoi diagram construction via equivalent power diagrams.
- Show that Cayley-Klein balls are Mahalanobis-shaped with displaced centers, providing geometric insight into the metric structure.
- Extend the LMNN optimization framework to hyperbolic geometry by adapting the margin constraints and loss function to the non-Euclidean metric.
- Introduce a linearly mixed distance: d(x,y) = αdE(x,y) + (1−α)dH(x,y), and tune α via cross-validation to balance elliptic and hyperbolic components.
Experimental results
Research questions
- RQ1Can the LMNN framework be successfully extended to hyperbolic Cayley-Klein geometry, and how does it compare to its elliptic counterpart?
- RQ2Are Cayley-Klein Voronoi diagrams affine, and can they be computed efficiently using power diagram algorithms?
- RQ3Do Cayley-Klein balls retain Mahalanobis-like geometric properties, and if so, how are their centers displaced relative to the origin?
- RQ4Does combining elliptic and hyperbolic metrics via a learnable mixture improve classification performance over single-curvature models?
- RQ5Can curved Mahalanobis distances in Cayley-Klein geometries support efficient nearest neighbor queries and scalable learning?
Key findings
- The proposed hyperbolic LMNN extension successfully learns curved Mahalanobis distances in hyperbolic Cayley-Klein geometry, enabling effective metric learning in non-Euclidean spaces.
- Cayley-Klein Voronoi diagrams are affine and can be constructed from equivalent (clipped) power diagrams, enabling efficient computation using standard geometric data structures.
- Cayley-Klein balls exhibit Mahalanobis-like shapes but are centered at displaced points relative to the origin, with an explicit formula for the center shift provided.
- The mixed elliptic-hyperbolic distance model achieves superior classification performance on five benchmark datasets (Wine, Sonar, Balance, Pima, Vowel), with the best accuracy of 0.841 on Vowel and 0.920 on Balance.
- The hyperparameter α in the mixed model is highly dataset-dependent, with optimal values ranging from 0.206 (Sonar) to 0.593 (Vowel), indicating that curvature mixtures adapt better to data structure than constant-curvature models.
- Theoretical and empirical results confirm that blending positive and negative curvature geometries yields a non-constant curvature Riemannian manifold that better models complex data distributions than constant-curvature alternatives.
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.