Hyperbolic geometric graph explained

A hyperbolic geometric graph (HGG) or hyperbolic geometric network (HGN) is a special type of spatial network where (1) latent coordinates of nodes are sprinkled according to a probability density function into ahyperbolic space of constant negative curvature and (2) an edge between two nodes is present if they are close according to a function of the metric[1] [2] (typically either a Heaviside step function resulting in deterministic connections between vertices closer than a certain threshold distance, or a decaying function of hyperbolic distance yielding the connection probability). A HGG generalizes a random geometric graph (RGG) whose embedding space is Euclidean.

Mathematical formulation

G(V,E)

with a vertex set V (cardinality

N=|V|

) and an edge set E constructed by considering the nodes as points placed onto a 2-dimensional hyperbolic space
2
H
\zeta
of constant negative Gaussian curvature,

-\zeta2

and cut-off radius

R

, i.e. the radius of the Poincaré disk which can be visualized using a hyperboloid model.Each point

i

has hyperbolic polar coordinates

(ri,\thetai)

with

0\leqri\leqR

and

0\leq\thetai<2\pi

.

The hyperbolic law of cosines allows to measure the distance

dij

between two points

i

and

j

,

\cosh(\zetadij)=\cosh(\zetari)\cosh(\zetarj)

-\sinh(\zetari)\sinh(\zetarj)\cos(\underbrace{\pi-|\pi-|\thetai-\thetaj||}\Delta).

The angle 

\Delta

is the (smallest) angle between the twoposition vectors.

In the simplest case, an edge

(i,j)

is established iff (if and only if) two nodes are within a certain neighborhood radius 

r

,

dij\leqr

, this corresponds to an influence threshold.

Connectivity decay function

In general, a link will be established with a probability depending on the distance 

dij

. A connectivity decay function

\gamma(s):R+\to[0,1]

represents the probability of assigning an edge to a pair of nodes at distance

s

. In this framework, the simple case of hard-code neighborhood like in random geometric graphs is referred to as truncation decay function.[3]

Generating hyperbolic geometric graphs

Krioukov et al. describe how to generate hyperbolic geometric graphs with uniformly random node distribution (as well as generalized versions) on a disk of radius

R

in
2
H
\zeta
. These graphs yield a power-law distribution for the node degrees. The angular coordinate

\theta

of each point/node is chosen uniformly random from

[0,2\pi]

, while the density function for the radial coordinate r is chosen according to the probability distribution

\rho

:

\rho(r)=\alpha

\sinh(\alphar)
\cosh(\alphaR)-1

The growth parameter

\alpha>0

controls the distribution: For

\alpha=\zeta

, the distribution is uniform in
2
H
\zeta
, for smaller values the nodes are distributed more towards the center of the disk and for bigger values more towards the border. In this model, edges between nodes

u

and

v

exist iff

duv<R

or with probability

\gamma(duv)

if a more general connectivity decay function is used. The average degree is controlled by the radius

R

of the hyperbolic disk. It can be shown, that for

\alpha/\zeta>1/2

the node degrees follow a power law distribution with exponent

\gamma=1+2\alpha/\zeta

.

The image depicts randomly generated graphs for different values of

\alpha

and

R

in
2
H
1
. It can be seen how

\alpha

has an effect on the distribution of the nodes and

R

on the connectivity of the graph. The native representation where the distance variables have their true hyperbolic values is used for the visualization of the graph, therefore edges are straight lines.

Quadratic complexity generator

Source:[4]

The naive algorithm for the generation of hyperbolic geometric graphs distributes the nodes on the hyperbolic disk by choosing the angular and radial coordinates of each point are sampled randomly. For every pair of nodes an edge is then inserted with the probability of the value of the connectivity decay function of their respective distance. The pseudocode looks as follows:

V=\{\},E=\{\}

for

i\gets0

to

N-1

do

\theta\getsU[0,2\pi]

r\gets

1
\alpha

acosh(1+(\cosh\alphaR-1)U[0,1])

V=V\cup\{(r,\theta)\}

for every pair

(u,v)\inV x V,uv

do if

U[0,1]\leq\gamma(duv)

then

E=E\cup\{(u,v)\}

return

V,E

N

is the number of nodes to generate, the distribution of the radial coordinate by the probability density function

\rho

is achieved by using inverse transform sampling.

U

denotes the uniform sampling of a value in the given interval. Because the algorithm checks for edges for all pairs of nodes, the runtime is quadratic. For applications where

N

is big, this is not viable any more and algorithms with subquadratic runtime are needed.

Sub-quadratic generation

To avoid checking for edges between every pair of nodes, modern generators use additional data structures that partition the graph into bands.[5] [6] A visualization of this shows a hyperbolic graph with the boundary of the bands drawn in orange. In this case, the partitioning is done along the radial axis. Points are stored sorted by their angular coordinate in their respective band. For each point

u

, the limits of its hyperbolic circle of radius

R

can be (over-)estimated and used to only perform the edge-check for points that lie in a band that intersects the circle. Additionally, the sorting within each band can be used to further reduce the number of points to look at by only considering points whose angular coordinate lie in a certain range around the one of

u

(this range is also computed by over-estimating the hyperbolic circle around

u

).

Using this and other extensions of the algorithm, time complexities of

l{O}(nloglogn+m)

(where

n

is the number of nodes and

m

the number of edges) are possible with high probability.[7]

Findings

For

\zeta=1

(Gaussian curvature

K=-1

), HGGs form an ensemble of networks for which is possible to express the degree distribution analytically as closed form for the limiting case of large number of nodes. This is worth mentioning since this is not true for many ensembles of graphs.

Applications

HGGs have been suggested as promising model for social networks where the hyperbolicity appears through a competition between similarity and popularity of an individual.[8]

Notes and References

  1. Barthélemy. Marc. Spatial networks. Physics Reports. 499. 1–3. 1–101. 10.1016/j.physrep.2010.11.002. 1010.0302. 2011PhR...499....1B. 2011. 4627021.
  2. Krioukov. Dmitri. Papadopoulos. Fragkiskos. Kitsak. Maksim. Vahdat. Amin. Boguñá. Marián. Hyperbolic geometry of complex networks. Physical Review E. 82. 3. 1006.5169. 10.1103/PhysRevE.82.036106. 2010PhRvE..82c6106K. 21230138. 2010. 036106. 6451908.
  3. Barnett. L.. Di Paolo. E.. Bullock. S.. Spatially embedded random networks. Physical Review E. 76. 5. 10.1103/PhysRevE.76.056115. 2007PhRvE..76e6115B. 2007. 056115. 18233726. 2023-02-04. 2023-02-04. https://web.archive.org/web/20230204160403/https://eprints.soton.ac.uk/266764/1/sern_physreve.pdf. live.
  4. Krioukov. Dmitri. Orsini. Chiara. Aldecoa. Rodrigo. 2015-03-17. Hyperbolic Graph Generator. en. 10.1016/j.cpc.2015.05.028. 1503.05180. 196. Computer Physics Communications. 492–496. 2015CoPhC.196..492A. 8454036.
  5. Book: von Looz. Moritz. Meyerhenke. Henning. Prutkin. Roman. Algorithms and Computation . Generating Random Hyperbolic Graphs in Subquadratic Time . 2015. Elbassioni. Khaled. Makino. Kazuhisa. Lecture Notes in Computer Science. 9472. en. Springer Berlin Heidelberg. 467–478. 10.1007/978-3-662-48971-0_40. 9783662489710.
  6. Meyerhenke. Henning. Laue. Sören. Özdayi. Mustafa. von Looz. Moritz. 2016-06-30. Generating massive complex networks with hyperbolic geometry faster in practice. arXiv.org . 1606.09481. 2016arXiv160609481V. en.
  7. Penschuck. Manuel. 2017. Generating Practical Random Hyperbolic Graphs in Near-Linear Time and with Sub-Linear Memory. Schloss Dagstuhl - Leibniz-Zentrum für Informatik GMBH, Wadern/Saarbruecken, Germany. Leibniz International Proceedings in Informatics (LIPIcs). 75. 26:1–26:21. en. 10.4230/lipics.sea.2017.26. free . 9783959770361. 2023-02-04. 2023-02-04. https://web.archive.org/web/20230204160404/https://drops.dagstuhl.de/opus/volltexte/2017/7621/. live.
  8. Papadopoulos. Fragkiskos. Kitsak. Maksim. Serrano. M. Ángeles. Boguñá. Marián. Krioukov. Dmitri. Popularity versus similarity in growing networks. Nature. 12 September 2012. 489. 7417. 537–540. 1106.0286. 10.1038/nature11459. 22972194. 2012Natur.489..537P. 4424179.