                                     Mixed-Curvature Decision Trees and Random Forests



        Hyperspherical                                 Euclidean                                     Hyperbolic

             x0                                           x0                                            x0







                         θ

                                                                      θ                                           θ

                                xd                                            xd                                          xd







Figure 3: Decision boundaries in any constant-curvature manifold can be found by projection into 2-dimensional subspaces.

Depending on the manifold, points end up inside a circle, a line, or a hyperbola; from there, data and splits can both be

represented as a single angle θ. Each split divides the manifold into positive and negative regions.





2. Preliminaries                                                    2.1.2. H YPERSPHERICAL SPACE

We review relevant details of different Riemannian mani-            Hyperspherical space is characterized by constant positive

folds (Euclidean spaces, hyperspheres, hyperboloids, and            curvature. In such spaces, angles in any triangle sum to more

product manifolds), along with key properties of the Eu-            than π and there are no parallel lines. The familiar examples

clidean and hyperbolic variants of DTs and RFs.                     of circles and 2-spheres are low-dimensional examples of

                                                                    hyperspherical spaces.

2.1. Riemannian manifolds                                           Hyperspheres can be viewed as surfaces embedded in a

We will begin by reviewing key details of hyperspheres, hy-         higher-dimensional, Euclidean ambient space. Hyperspheri-

perboloids, and Euclidean spaces. For more details, readers         cal space uses the same inner products as Euclidean space.

can consult Do Carmo (1992).                                        The hypersphere is the set of points in the ambient space

                                                                    having a Euclidean norm equal to some radius inversely

Each space described is a Riemannian manifold, meaning              proportional to the curvature K > 0:

that it is locally isomorphic to Euclidean space and equipped

with a distance metric. The shortest paths between two                        SD,K = {x ∈ RD+1 : ∥x∥ = 1/K}.                   (5)

points u and v on a manifold are called geodesics. As all

three spaces we consider have constant Gaussian curvature,          Because shortest paths between two points u and v in SD,K

we define simple closed forms for geodesic distances in             through the ambient space leave the surface of the manifold,

each of the following subsections in lieu of a more general         we must define the hyperspherical distance function for the

discussion of geodesics in arbitrary Riemannian manifolds.          shortest path entirely in SD,K between u and v:

Any constant-curvature manifold M is parameterized by                            δS (u, v) = cos−1 (K 2 ⟨u, v⟩)/K.             (6)

a dimensionality D and a curvature K, and resides in an

ambient space RD+1 . Finally, for each point x ∈ M, the

                                                                    2.1.3. H YPERBOLIC SPACE

tangent plane at x, Tx M, is the space of all tangent vectors

at x:                                                               Hyperbolic space is characterized by constant negative met-

          Tx M = {v ∈ RD+1 : ⟨v, x⟩M = 0}.                (1)       ric curvature. This has several consequences: for instance,

                                                                    the angles in any triangle sum to less than π, many lines

2.1.1. E UCLIDEAN SPACE                                             through a point can be parallel to any given line, and neigh-

                                                                    borhoods grow exponentially with radius.

Euclidean spaces are naturally understood as RD , but we

will use the notation ED = RD when treating Euclidean               There are several equivalent models of hyperbolic space.

spaces as manifolds. In contrast, we will continue to use           For our purposes, we will describe the hyperbolic space

RD to refer to ambient spaces. Euclidean spaces use the             from the perspective of the hyperboloid model. First, we

familiar inner product (dot product), norm (ℓ2 norm), and           must define the ambient Minkowski space. This is a vector

distance function (Euclidean distance):                             space equipped with the Minkowski inner product:



            ⟨u, v⟩ = u0 v0 + u1 v1 + . . . + u2 v2 ,     (2)                 ⟨u, v⟩L = −u0 v0 + u1 v1 + . . . + un vn .        (7)

                     p

              ∥u∥ = ⟨u, u⟩,                              (3)        Similar to the Euclidean case, we let ∥u∥L = ⟨u, u⟩L (we

          δE (u, v) = ∥u − v∥.                           (4)        do not wish to take the square root of a negative number).



                                                                3

