Abstract
Hyperbolic Random Graphs (HRGs) are powerful tools for modeling scale-free networks, yet they suffer from significant precision errors and high computational costs due to their reliance on continuous coordinates. This paper proposes the Discrete Hyperbolic Random Graph (DHRG) model, which utilizes regular hyperbolic triangular grids as a discrete "skeleton" for the hyperbolic plane. By employing lazy grid generation and an $O(\text{distance})$ shortest-path algorithm, the DHRG model bypasses the limitations of continuous models. Experimental results on Facebook and GitHub datasets demonstrate that DHRG improves embedding likelihood, offers significant graph compression potential, and scales efficiently to large networks.
Introduction
Scale-free networks—where a few nodes have many connections and most have few—are ubiquitous in social media, biology, and internet topology. Hyperbolic geometry is a natural fit for modeling these networks because its exponential expansion mirrors the hierarchical, tree-like structure of complex systems.
However, existing continuous Hyperbolic Random Graph (HRG) models face two major hurdles:
- Precision Errors: In hyperbolic space, circumference grows exponentially with radius. Standard floating-point coordinates quickly run out of bits, "smashing" distinct distant points into the same coordinate.
- Computational Complexity: Calculating distances and maximizing likelihood for embeddings in a continuous space is mathematically heavy and computationally expensive.
This research addresses these issues by asking if modeling power can be maintained using a discrete grid instead of a continuous plane.
The Discrete Hyperbolic Random Graph (DHRG) Model
The authors propose the Discrete Hyperbolic Random Graph (DHRG) model, which replaces the continuous hyperbolic plane with specific tilings, such as the order-3 heptagonal tiling ($G_7$) and the truncated triangular tiling ($G_{67}$).
Technical Implementation
- Lazy Grid Generation: Since these grids are infinite, the authors use a "lazy" data structure. Vertices are generated only when needed, represented by pointers to structures containing their "type" and neighbors.
- Efficient Distance Algorithm: They developed an algorithm to find the shortest path between two grid vertices in $O(d)$ time, where $d$ is the distance. This is achieved by navigating toward a central "origin" and back out, leveraging the tree-like nature of the grid.
- Likelihood & Local Search: To embed a real-world network into the grid, they use a local search algorithm. It iteratively moves vertices to neighboring grid points to maximize the log-likelihood—the probability that the model would produce the observed network.
Experimental Evaluation
The DHRG model was evaluated on two real-world scale-free networks:
- Facebook Social Circle Network: 4,039 nodes and 88,234 edges (SNAP database).
- GitHub Following Graph: 74,946 nodes and 537,952 edges (GHTorrent/GitHubArchive).
Key Insights
- Continuity is Optional: For modeling social networks, the exact continuous position of a node is less critical than its relative position. Quantization to the nearest grid point does not significantly change structural properties.
- Precision Stability: By representing positions as paths from an origin or as specific grid "types," the model avoids the "floating-point wall" inherent in continuous hyperbolic coordinates.
- Clustering Support: While hyperbolic space is tree-like, the grids add cycles that better represent the clustering (triadic closure) seen in real networks.
Results
- Performance: The distance tally counter runs in $O(\delta_0(v)^2)$ time, making large-scale analysis feasible.
- Embedding Improvement: On the Facebook dataset, discrete local search improved log-likelihood from $L_1 = -516,534$ to $L_6 = -165,154$.
- Compression: The model achieved a theoretical compression ratio of 0.475 on the Facebook data by representing graphs via grid coordinates.
- Scalability: For the GitHub graph, the local search completed 6 iterations in 27 minutes on standard hardware.
Conclusion and Future Work
The DHRG model successfully addresses the precision and complexity issues of continuous HRGs. Future work will focus on optimizing memory for massive graphs (millions of nodes) and developing "direct" DHRG embedders that work entirely within the discrete domain from the start, rather than converting continuous embeddings.
Summary updated