ArticleslgStudy

computer science

Hyperbolic geometric graph

Hyperbolic geometric graph is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hyperbolic geometric graph rather than just read about it. In short: 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 a hyperbolic 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 (typically either a Heaviside step function resulting in…

Hyperbolic geometric graph — main illustration
Hyperbolic geometric graph — illustration

Key takeaways

  • Hyperbolic geometric graph belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hyperbolic geometric graph to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hyperbolic geometric graph from memory before moving on to harder problems.

Reference excerpt

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 a hyperbolic 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 (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 Mathematically, a HGG is a graph 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 of constant negative Gaussian curvature, −ζ2 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,θi) with 0≤ri≤R and 0≤θi<2π. The hyperbolic law of cosines allows to measure the distance dij between two points i and j,

cosh⁡(ζdij)=cosh⁡(ζri)cosh⁡(ζrj)−sinh⁡(ζri)sinh⁡(ζrj)cos⁡(π−|π−|θi−θj||⏟Δ). The angle Δ is the (smallest) angle between the two position 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≤r, 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 γ(s):ℝ+→[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.

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. These graphs yield a power-law distribution for the node degrees. The angular coordinate θ of each point/node is chosen uniformly random from [0,2π], while the density function for the radial coordinate r is chosen according to the probability distribution ρ:

ρ(r)=αsinh⁡(αr)cosh⁡(αR)−1 The growth parameter α>0 controls the distribution: For α=ζ, the distribution is uniform in ℍζ2, 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 γ(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 α/ζ>1/2 the node degrees follow a power law distribution with exponent γ=1+2α/ζ.

The image depicts randomly generated graphs for different values of α and R in ℍ12. It can be seen how α 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: 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←0 to N−1 do θ←U[0,2π] r←1αacosh(1+(cosh⁡αR−1)U[0,1]) V=V∪{(r,θ)} for every pair (u,v)∈V×V,u≠v do if U[0,1]≤γ(duv) then E=E∪{(u,v)} return V,E

N is the number of nodes to generate, the distribution of the radial coordinate by the probability density function ρ is achieved by using inverse transform sampling. Udenotes 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. 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 𝒪(nlog⁡log⁡n+m)(where n is the number of nodes and m the number of edges) are possible with high probability.

Findings For ζ=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.

References

Illustrations

Hyperbolic geometric graph illustration
Hyperbolic geometric graph: Random hyperbolic geometric graphs with N=100 nodes each for different values of alpha and R
Random hyperbolic geometric graphs with N=100 nodes each for different values of alpha and R
Hyperbolic geometric graph: The hyperbolic graph is partitioned into bands such that each of them holds approximately the same number of points.
The hyperbolic graph is partitioned into bands such that each of them holds approximately the same number of points.

Worked examples

Example 1 — a first encounter with Hyperbolic geometric graph

Start with the simplest possible case. Write down what Hyperbolic geometric graph claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hyperbolic geometric graph before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hyperbolic geometric graph ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hyperbolic geometric graph

In research
Hyperbolic geometric graph appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hyperbolic geometric graph in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hyperbolic geometric graph is common in secondary-school and first-year university syllabi. It links to neighbouring topics Geometric graphs, Hyperbolic geometry, Network theory, so understanding it makes those chapters shorter.
In everyday life
Look for Hyperbolic geometric graph outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hyperbolic geometric graph” →

How to study Hyperbolic geometric graph in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hyperbolic geometric graph means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hyperbolic geometric graph out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hyperbolic geometric graph in simple terms?

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 a hyperbolic space of constant negative curvature and (2) an edge between two nodes is p…

Why does Hyperbolic geometric graph matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hyperbolic geometric graph?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hyperbolic geometric graph.

Tags

  • Geometric graphs
  • Hyperbolic geometry
  • Network theory
  • Networks

Keep exploring