This paper, recently presented at ICML 2025, introduces a robust way to bring the power of Decision Trees (DTs) and Random Forests (RFs) to non-Euclidean spaces—specifically, product manifolds. By using a clever angular reformulation for splitting data, the authors achieve state-of-the-art results across a massive suite of 57 benchmarks.
TL;DR
The authors extend Decision Trees and Random Forests to "product manifolds"—spaces that combine Euclidean, hyperbolic, and spherical geometries. By redefining splits as angles in 2D subspaces rather than linear thresholds, they preserve essential geometric properties, allowing these models to outperform standard Euclidean and neural network baselines on complex, non-Euclidean datasets.
What Problem Does This Paper Address?
Most machine learning assumes the world is flat (Euclidean). However, many real-world datasets have inherent non-Euclidean structures: hierarchical data (like taxonomies) fits naturally in hyperbolic space, while cyclical data (like time of day or global coordinates) belongs in spherical space.
"Product manifolds" allow us to combine these geometries to better represent complex data. While neural networks have been adapted for these spaces, Decision Trees—the workhorses of tabular data—have lagged behind. A naive approach of just running a standard DT on the raw coordinates of a manifold fails because linear splits in the "ambient" (surrounding) space can create disconnected or non-convex decision regions, violating the geometric intuition that makes trees effective.
Methods
The core innovation is a unified angular framework for manifold splits. Instead of a standard threshold like $x_d > \theta$, the authors propose projecting data onto two-dimensional subspaces (like the $x_0, x_d$ plane) and representing both data points and splits as angles ($\theta$).
Key components include:
- Angular Reformulation: Splits are defined by an angle $\theta$, partitioning the manifold into regions where the projection angle falls within $[\theta, \theta + \pi)$.
- Geometric Desiderata: This approach ensures five key properties: Continuity (connected regions), Convexity (geodesically convex leaves), Equidistance (splits are halfway between points), Efficiency ($O(nd)$ candidates), and Speed ($O(1)$ evaluation).
- Manifold-Specific Midpoints: The authors derive specific formulas for calculating the "angular midpoint" between two points for Euclidean ($E$), Hyperbolic ($H$), and Hyperspherical ($S$) components to ensure the "Equidistance" property is maintained regardless of curvature.
Datasets
The authors evaluated their method on a diverse suite of 57 benchmarks:
- Synthetic: Mixtures of 8 Gaussians sampled on single and product manifolds with varying curvatures.
- Graph Embeddings: Classification, regression, and link prediction on standard graph datasets (CiteSeer, Cora, PolBlogs, etc.) embedded into product manifolds.
- VAE Latent Spaces: Classifying embeddings from Variational Autoencoders trained on MNIST, CIFAR-100, and biological datasets (Blood, Lymphoma).
- Empirical Datasets: Real-world data with natural non-Euclidean structures, such as geospatial "Landmasses" ($S^2$), neural spiking patterns ($(S^1)^{10}$), global temperatures ($S^2 \times S^1$), and traffic prediction ($(S^1)^4 \times E^1$).
Key Insights and Ideas
- Geometry Matters: The success of DTs in Euclidean space relies on properties like convexity and continuity. By explicitly building these into the manifold version, the authors show that "geometric intuition" translates to better generalization.
- Unified Framework: The angular approach is elegant because it treats $E$, $H$, and $S$ spaces under one umbrella. A split in a product manifold simply iterates through all possible 2D angular projections across all its component manifolds.
- Interpretability: Unlike complex manifold neural networks, these trees remain interpretable. You can visualize exactly which 2D projection and which angle was used to make a decision at any node in the tree.
Key Results
The "Product RF" was a dominant performer:
- Ranked 1st on 29 out of 57 tasks (51%).
- Ranked in the top 2 on 41 out of 57 tasks (72%).
- On the "Landmasses" dataset (predicting land vs. water on a sphere), the Product RF achieved 90% accuracy, significantly outperforming the Ambient RF (85%) and even a specialized Manifold GCN (65%).
Limitations and Future Work
- Embedding Dependency: The method's performance is tied to the quality of the initial manifold embeddings and the choice of the "signature" (the specific mix of $H, S, E$ components).
- Privileged Basis: Standard DTs rely on axis-aligned splits. In non-Euclidean spaces, there isn't always a "natural" set of axes. The authors suggest that future work could explore "rotation forests" or oblique trees to move beyond this limitation.
- Computational Cost: Generating high-quality manifold embeddings can be computationally expensive compared to standard Euclidean preprocessing.
Summary updated