Abstract
Hyperbolic embeddings have become the standard for representing hierarchical data due to their ability to capture tree-like structures with low distortion. However, classification in these spaces remains challenging. Traditional hyperbolic Support Vector Machines (SVMs) typically employ geodesics as decision boundaries, which often results in non-convex optimization problems and a geometric mismatch with data clustered near the boundary. We introduce HoroSVM, a novel large-margin classifier that utilizes horospheres as decision boundaries. By leveraging the properties of the Busemann function, HoroSVM achieves a geodesically convex formulation, ensuring global optimality. Empirical results on social networks and WordNet taxonomies demonstrate that HoroSVM consistently outperforms existing hyperbolic and Euclidean baselines.
Introduction
Hyperbolic space is uniquely suited for representing hierarchical data, such as taxonomies or social networks, because its volume grows exponentially with radius, mirroring the branching factor of trees. Despite the success of hyperbolic embeddings, supervised learning—specifically classification—in these spaces faces significant hurdles.
Most existing hyperbolic classifiers rely on geodesics (the hyperbolic equivalent of straight lines) to separate classes. This approach suffers from two primary drawbacks:
- Optimization Complexity: Using geodesics as decision boundaries typically leads to non-convex optimization landscapes, making training susceptible to local minima.
- Geometric Mismatch: In hierarchical embeddings, leaf nodes often cluster near the boundary of the Poincaré disk. Geodesic boundaries, which appear as arcs, often fail to effectively isolate these peripheral clusters.
The HoroSVM Framework
To address these limitations, we propose HoroSVM, which replaces geodesics with horospheres (or horocycles in 2D). In the Poincaré ball model, a horosphere is a sphere internally tangent to the boundary. These structures are the level sets of the Busemann function and serve as the natural hyperbolic analogs of Euclidean hyperplanes because the distance between parallel horospheres remains constant.
A key theoretical contribution of this work is the proof that the loss function for a horospherical classifier is geodesically convex. This allows for the application of Riemannian gradient descent techniques that are guaranteed to converge to a global optimum, bridging the gap between hyperbolic geometry and robust optimization. The decision rule is formulated as $f(x) = \text{sign}(\mu \langle \omega, x \rangle_B - b)$, where $\langle \cdot, \cdot \rangle_B$ denotes a "Poincaré inner product" derived from the Busemann function.
Experimental Results
We evaluated HoroSVM against state-of-the-art methods, including Euclidean SVMs, Hyperboloid SVMs, and Poincaré SVMs, across several benchmarks.
Network Datasets
On standard network benchmarks such as the Karate club and Football league networks, HoroSVM consistently achieved superior F1 scores. For instance, on the Karate dataset, HoroSVM reached an F1 of 0.98, outperforming standard hyperbolic SVMs (0.95).
WordNet Taxonomy
The task of "subtree classification" in WordNet—identifying if a word belongs to a specific hierarchy (e.g., "mammal")—highlights the advantage of horospherical boundaries in low-dimensional embeddings.
As shown in the results, HoroSVM provides significant gains, particularly in 2D embeddings where the geometric mismatch of geodesics is most pronounced. For the "Animal" subtree (D=2), HoroSVM achieved an F1 of 0.57, compared to 0.53 for the Hyperboloid SVM.
Robustness to Noise
Synthetic tests with varying levels of label noise demonstrated that HoroSVM’s large-margin approach provides a significant buffer. Its performance degraded more gracefully than Hyperbolic Logistic Regression or Hyperbolic Neural Networks (HNNs) even at 50% noise levels.
Conclusion and Future Work
HoroSVM offers a theoretically grounded and practically superior approach to classification in hyperbolic space. By utilizing horospheres, it ensures global optimality through geodesic convexity and provides a better geometric fit for hierarchical data.
Future research will focus on extending this framework to non-linearly separable data through the development of hyperbolic kernels, potentially leading to a "Kernel HoroSVM." Additionally, optimizing the computational efficiency of Riemannian manifold operations remains a priority for scaling to massive datasets.
Summary updated