Manuscript Offprint

arXiv:2610.01336

Hyperbolic Sphericity

Thomas Bläsius, Lennart Großkreutz, Jean-Pierre von der Heydt

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The sphericity of a graph is the minimum dimension d such that the graph has an intersection representation of d-dimensional balls of equal radius. While sphericity has been studied in Euclidean space, we initiate the study of hyperbolic sphericity. The hyperbolic sphericity of a graph can be significantly smaller than its Euclidean counterpart, but, contrary to the Euclidean setting, depends strongly on the radius of the balls.

We show that, if the radius of the balls can be chosen depending on the graph, the hyperbolic sphericity is upper bounded by the Euclidean sphericity. This extends a previous result for 2-dimensional hyperbolic space, i.e., uniform disk graphs, to arbitrary dimensions. Moreover, our proof is significantly simpler. If we fix the radius, i.e., do not make it dependent on the graph, we show that hyperbolic sphericity can be larger than Euclidean sphericity, but by at most 1. Additionally, we study how hyperbolic sphericity changes with the ball radius. We show that choosing a larger radius can substantially decrease the sphericity while increasing it by at most 1. We also provide a construction of a graph where the sphericity oscillates between different values as the radius increases.

Besides being theoretically interesting, we note that these results are relevant for graph embeddings in machine learning, where one is interested in low-dimensional numeric representations of symbolic data like graphs.

2012 ACM Subject Classification Theory of computation → Computational geometry; Mathematics of computing → Graph theory; Human-centered computing → Graph drawings

Keywords and phrases hyperbolic sphericity, sphericity, hyperbolic geometry, unit ball graphs, intersection graphs, graph embeddings

Funding Jean-Pierre von der Heydt: This work was supported by funding from the pilot program Core-Informatics of the Helmholtz Association (HGF).

1 Introduction

Graph embeddings map each vertex of a graph to a position in a geometric space, providing a geometric representation of the graph's structure. Ideally, neighboring vertices are positioned close together, while non-neighboring vertices are farther apart. An obvious application of embeddings is graph visualization [3, 26]. Moreover, embeddings provide a numeric representation of symbolic data, which is essential for machine learning techniques such as link prediction, node classification, or community detection [22, 45, 51].

In both applications, having a low-dimensional embedding that accurately represents the graph is key. For visualization purposes, it is clear that fewer dimensions (ideally 2 or 3) are advantageous [24]. Moreover, while inaccurate representations can be visually pleasing, they can also be misleading [1]. For machine learning, low-dimensional representations are less prone to overfitting and are important for computational efficiency. Accuracy is clearly necessary for good performance.

One way to formalize the required dimensionality for accurately representing a graph

Hyperbolic Sphericity

is via the concept of sphericity, introduced by Maehara [34]. The sphericity of a graph G is the smallest dimension d such that G can be represented as an intersection graph of d-dimensional Euclidean unit balls. Equivalently, each vertex can be assigned a position such that two vertices are connected if and only if their distance is at most 2.

From an algorithmic perspective, determining the sphericity of a given graph is NP-hard and even ∃R\exists\mathbb{R}-complete [17,50]. However, multiple structural results provide upper bounds on the sphericity. For example, every graph with nn vertices has sphericity at most n−ωn - \omega, where ω\omega is the size of the largest clique [34]. Using the Johnson-Lindenstrauss lemma [25], Frankl and Maehara [20] show that the sphericity for graphs with maximum degree Δ\Delta is bounded by O(Δ2log⁡n)O(\Delta^2 \log n).

Some lower bounds are known as well. For instance, the complete bipartite graph with 2k vertices has a sphericity of at least k [35]. Furthermore, even structurally simple graphs such as stars exhibit a high sphericity of at least Ω(log⁡n)\Omega(\log n) in Euclidean space [35]. The reason for this is, that there is insufficient space close to the center of the star to host all leaves without them being close to each other.

This limitation highlights a fundamental challenge of Euclidean embeddings to represent graphs with highly skewed degree distributions. Such distributions commonly appear in real-world graphs, like social networks, whose degree distributions often follow a power law [52]. Interestingly, unlike in Euclidean geometry, skewed degree distributions naturally emerge in hyperbolic geometry [32]. The crucial difference is that hyperbolic space expands exponentially, i.e., the volume of a ball with radius r grows exponentially (2Θ(r))(2^{\Theta(r)}) while it grows polynomially (Θ(rd))(\Theta(r^{d})) in d-dimensional Euclidean space. This provides more space for separating non-adjacent vertices while keeping them close to a common center, making it possible, for example, to represent stars, or in fact arbitrary trees, as 2-dimensional hyperbolic disk graphs of equal radius [49], see Figure 2 for such an embedding.

Although hyperbolic disk graphs have been studied before [10,14,27], higher-dimensional hyperbolic ball graphs have not been considered much, particularly from a graph theoretic perspective. To build a better understanding of how well graphs can be represented in different geometric spaces, we introduce the notion of hyperbolic sphericity, which is defined as the smallest dimension d in which a graph can be represented as an intersection graph of equally sized balls in d-dimensional hyperbolic space.

A key difference between Euclidean and hyperbolic sphericity is the dependence on the radius of the balls. In Euclidean space, the intersection representation can be scaled uniformly, making the concrete choice of the radius irrelevant. In hyperbolic space, however, this scaling invariance does not hold, and the radius strongly influences which structures can be represented. A useful intuition for this is that small patches of hyperbolic space behave similarly to Euclidean space, while in larger patches, the exponential expansion becomes more significant. As an example, the k×kk \times k grid graph on k2k^2 vertices is a hyperbolic uniform disk graph for radii less than 1/k61/k^6 but not for large radii [14]. On the other hand, stars on nn vertices require a radius of at least log⁡n\log n to be hyperbolic uniform disk graphs [14]. These observations raise two natural questions:

  1. How does Euclidean sphericity compare to hyperbolic sphericity, depending on the chosen ball radius?

  2. What is the optimal radius for representing a given graph in hyperbolic geometry?

Contribution. Towards the first question, we investigate the behavior of hyperbolic sphericity for extremely small and large radii. Because small patches behave similarly to Euclidean space, it seems natural that hyperbolic sphericity can be at most as large as Euclidean sphericity for sufficiently small radii. However, a formal proof still requires some work. For 2-dimensional hyperbolic space this was already shown in [10], and we generalize this result to arbitrary dimensions and provide a significantly simpler proof. At the other end of the spectrum, some graphs that are Euclidean unit disk graphs cease to be hyperbolic uniform disk graphs when the radius becomes large. We prove that the resulting increase in required dimensions is bounded: for every graph and every radius, the hyperbolic sphericity using an arbitrary radius exceeds the Euclidean sphericity by at most 1.

Regarding the second question, we prove that larger radii never increase the hyperbolic sphericity by more than 1 compared to the optimal radius. This provides a strong robustness guarantee for using hyperbolic embeddings. Instead of having to search for the optimal radius, choosing a sufficiently large radius always yields a near-optimal embedding dimension.

Beyond that, we provide a construction of a graph where the hyperbolic sphericity can increase and decrease multiple times as the radius increases. More precisely, this graph has a 2-dimensional representation for small and large radii, but requires at least 3 dimensions for radii in between. This shows that hyperbolic sphericity can have complex behavior depending on the radius and is neither monotonically decreasing nor increasing. For our analysis of this graph, we transfer a result about k-gons with bounded side lengths from Euclidean geometry to hyperbolic geometry, showing that the area is maximized when it is regular with maximum side length. Furthermore, we investigate the angles of a hyperbolic quadrilateral with constrained side lengths, identifying a surprising behavior where the quadrilateral possesses two locally minimal configurations. Either all four sides have the same length, or three sides and one diagonal have the same length.

References (50)