Abstract
Traditional classification algorithms often struggle with datasets characterized by complex, non-spherical geometries. This paper presents a novel framework that leverages Minimax distances—a path-based metric effective at capturing manifold-valued data—by embedding them into a Euclidean vector space. By transforming these distances into "Minimax vectors," standard linear classifiers can achieve state-of-the-art performance on non-linear problems without the need for complex kernel tuning.
Introduction
In machine learning, the choice of distance metric is fundamental to model performance. Most standard algorithms rely on Euclidean distance, which implicitly assumes that classes are compactly clustered in spherical shapes. However, real-world data frequently exhibits elongated or interlocking patterns where Euclidean proximity does not reflect true class membership.
While non-linear kernel methods like Radial Basis Function (RBF) kernels can address some of these complexities, they often require meticulous parameter tuning. This paper introduces a method to utilize Minimax distances—traditionally used in clustering—for general classification. Minimax distance defines the distance between two points as the "minimum largest gap" along any connecting path, making it highly effective for capturing arbitrary shapes.
Methodology
The proposed framework bridges the gap between path-based distances and standard numerical classifiers through three key steps:
- Efficient Computation via Minimum Spanning Trees (MST): To avoid the $O(N^3)$ complexity of all-pairs path searching, the authors utilize the mathematical equivalence between Minimax distances on a full graph and those on its MST. This optimization reduces computational complexity to $O(N^2)$.
- Ultrametric Embedding: Minimax distances satisfy the ultrametric property. The authors demonstrate that these distances can be embedded into a Euclidean space via a centering transformation and eigenvalue decomposition. In this new space, the squared Euclidean distance between points corresponds exactly to their original Minimax distance.
- Dimension-Specific Embedding: For high-dimensional or noisy data, the authors propose a variant where Minimax distances are computed per dimension and then aggregated, enhancing robustness.
Experimental Results
The framework was evaluated on synthetic datasets (DS1 and DS2) and 12 real-world benchmarks from the UCI repository.
Synthetic Benchmarks
As shown in Figure 1, the synthetic dataset DS2 contains complex, non-spherical shapes that pose a significant challenge for standard methods. While a standard Logistic Regression model achieved only 62.5% accuracy on DS2, the Minimax-embedded version reached 99.8%. The results indicate that the embedding effectively "unwraps" the data's geometry, allowing linear classifiers to perform as well as or better than complex non-linear kernels.
Real-World Performance
The Minimax framework demonstrated consistent gains across diverse real-world datasets, including Banknote Authentication, Skin Segmentation, and Glass Identification. The "dimension-specific" variant was particularly potent for high-dimensional tasks; for instance, accuracy on the Balance Scale dataset improved from approximately 87% to 97.4%.
Discussion and Conclusion
A significant advantage of the Minimax approach is its largely non-parametric nature. Unlike RBF kernels that require a "gamma" parameter, Minimax distances adapt to local data density automatically. Furthermore, the eigenvalue decomposition provides a built-in mechanism for denoising, as dimensions with negligible eigenvalues can be discarded without loss of predictive power.
Despite its strengths, the $O(N^2)$ complexity remains a hurdle for massive datasets. Additionally, Minimax distances can be sensitive to "bridge" outliers that might erroneously connect distinct classes. Future work will focus on improving scalability and robustness against such outliers, as well as extending the framework to inductive learning settings for unseen test data.
Summary updated