Discrete Hyperbolic Random Graph Model

Dorota Celinska-Kopczynska, Eryk Kopczynski

TL;DR

This paper introduces the Discrete Hyperbolic Random Graph (DHRG) model, which swaps continuous hyperbolic coordinates for a discrete tessellation (like a grid or tiling). By moving to a discrete space, the authors eliminate the precision errors and algorithmic complexities that plague standard hyperbolic models, ultimately achieving a 10% improvement in log-likelihood for real-world network embeddings.

What Problem Does This Paper Address?

Hyperbolic Random Graphs (HRGs) are the "gold standard" for modeling scale-free networks—systems like social networks or biological pathways where a few hubs have many connections while most nodes have few. Hyperbolic geometry is a perfect fit here because its "exponentially expanding" space naturally mimics the hierarchical, tree-like structure of these networks.

However, HRGs are a nightmare to implement. Because distances in hyperbolic space grow exponentially, standard floating-point numbers quickly run out of precision, leading to "numerical issues." Furthermore, calculating the Maximum Likelihood Estimation (MLE)—the process of mapping a real-world network into this space—is computationally expensive and conceptually dense. The authors aim to make these models practical and robust by discretizing the underlying space.

Methods

The core innovation is replacing the continuous hyperbolic plane with a tessellation (a tiling of the plane).

  1. The Tiling: The authors primarily use the order-3 heptagonal tiling ($G_{710}$). Instead of $(x, y)$ coordinates, a node’s position is defined by which "tile" it occupies.
  2. Discrete Distance: Distance is no longer a complex hyperbolic formula; it is simply the number of steps between tiles in the tessellation graph.
  3. The Algorithms:
    • Distance Tally Counter: A novel data structure that allows the model to efficiently count pairs of nodes at specific distances in $O(R^2)$ time, where $R$ is the radius of the disk.
  4. Local Search: To improve an embedding, the model uses a local search algorithm. It tries moving nodes to adjacent tiles to see if the overall "log-likelihood" (how well the model explains the observed edges) increases.
  5. De-discretization: After optimizing in the discrete grid, the authors can map the nodes back to continuous space for comparison with traditional models.

Datasets

The authors evaluated their model on a mix of real-world and synthetic data:

  • Real-World Networks: Sourced from the SNAP database, including Facebook (social circles), Slashdot (social network), Amazon (product co-purchasing), Google (web graph), and U.S. Patents (citation network).
  • GitHub Networks: Two snapshots of "following" relationships on GitHub (F09 and F11).
  • Simulated Graphs: 20,000 artificial HRGs generated with varying parameters to test the model against a known "ground truth."

Key Insights and Ideas

  • Precision is a Trap: In continuous hyperbolic models, the distance between points can be so large that computers literally cannot represent the difference between two distinct locations. By using tiles, DHRG is "immune" to these precision errors.
  • Discrete is "Close Enough": The authors found that discrete distances are an excellent approximation of continuous ones. In fact, the error in a hyperbolic grid is much lower than the error in a standard Euclidean (flat) grid because of how paths behave in hyperbolic space.
  • Optimization via Jiggling: The discrete nature of the model allows for a very efficient "local search." Instead of complex gradient descent, you can simply "jiggle" a node to a neighboring tile. If the log-likelihood goes up, the move is kept.
  • Tessellation Choice Matters: Not all grids are equal. Finer grids (like $G_{711}$) provide better accuracy but require more memory and time. The paper shows a clear trade-off between the "resolution" of the space and computational performance.

Key Results

  • Log-Likelihood Boost: The DHRG local search procedure improved the log-likelihood of state-of-the-art embeddings by approximately 10% across real-world graphs.
  • Greedy Routing: In simulations, the discrete model improved the success rate of "greedy routing" (finding a path between nodes using only local distance information) in 77% of cases compared to the baseline.
  • Efficiency: The local search is significantly faster than traditional "spring embedders" (which often take quadratic time). For most analyzed networks, the conversion and optimization took less than a minute.
  • Scalability: The model successfully handled the Patents network, which contains over 3.7 million nodes and 16.5 million edges—a scale where continuous MLE embedding often becomes unfeasible.

Limitations and Future Work

  • Memory Intensity: The current implementation uses a significant amount of RAM (e.g., 66 GB for the Patents network). The authors suggest that better memory management and path compression could mitigate this.
  • Initial Discretization Penalty: Simply moving nodes from continuous space to the nearest tile (discretization) initially worsens the log-likelihood because of the loss of precision. The local search is required to "recover" and then surpass the original quality.
  • Grid Sensitivity: The success of the model is highly dependent on choosing the right tessellation for the specific network size. Future work could involve automatically determining the optimal "grid resolution" for a given dataset.

Summary updated

BibTeX
@inproceedings{celinskakopczynska2022discrete,
  author = {Dorota Celinska-Kopczynska and Eryk Kopczynski},
  title = {{Discrete Hyperbolic Random Graph Model}},
  booktitle = {Sea},
  year = {2022},
  doi = {10.4230/lipics.sea.2022.1},
}
Figure