The Diameter of (Threshold) Geometric Inhomogeneous Random Graphs
Abstract
We prove that the diameter of threshold (zero temperature) Geometric Inhomogeneous Random Graphs (GIRG) is asymptotically almost surely . This has strong implications for the runtime of many distributed protocols on those graphs, which often have runtimes bounded as a function of the diameter.
The GIRG model exhibits many properties empirically found in real-world networks, and the runtime of various practical algorithms has empirically been found to scale in the same way for GIRG and for real-world networks, in particular related to computing distances, diameter, clustering, cliques and chromatic numbers. Thus the GIRG model is a promising candidate for deriving insight about the performance of algorithms in real-world instances.
The diameter was previously only known in the one-dimensional case, and the proof relied very heavily on dimension one. Our proof employs a similar Peierls-type argument alongside a novel renormalization scheme. Moreover, instead of using topological arguments (which become complicated in high dimensions) in establishing the connectivity of certain boundaries, we employ some comparatively recent and clearer graph-theoretic machinery. The lower bound is proven via a simple ad-hoc construction.
Keywords and phrases:
GIRG, Diameter, Distributed Algorithms, Complex NetworksCopyright and License:
2012 ACM Subject Classification:
Mathematics of computing Graph theory ; Theory of computation Distributed algorithmsFunding:
K.L. and R.R.R. gratefully acknowledge support by the Swiss National Science Foundation [grant number 10003390].Editors:
Meena Mahajan, Florin Manea, Annabelle McIver, and Nguyễn Kim ThắngSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
The diameter of a graph is the maximum graph distance over all pairs of vertices. In case the graph is disconnected, we only consider pairs in the same connected component. It has far-reaching implications on the performance of many distributed algorithms, where runtime bounds often depend on the diameter of the graph explicitly [36]. The literature is too vast to do it justice here, so we just mention two examples, leader election [24] and minimum spanning tree [36], where the runtimes of state-of-the-art algorithms depend on the diameter. Thus it is important to understand the diameter of real-world networks and their models.
Many real-world networks commonly exhibit the following properties: power-law degree distributions [20], small-world distances (at most logarithmic) and large clustering coefficient111Consider choosing a random vertex and then two random neighbors of it. The probability that the latter vertices share an edge is the clustering coefficient. [40], low-dimensionality [21] (assuming some underlying space for the vertices), hierarchical structure [15], navigability222As observed in the famous Milgram experiment [34], which became popularly known as “six degrees of separation”. [9, 13], self-similarity [37] and so on. Motivated by this, numerous models for such networks have been introduced in the literature. One example, which we study in this work, is called Geometric Inhomogeneous Random Graphs (GIRG). This model generalizes Hyperbolic Random Graphs (HRG) [11]. Roughly speaking, vertices are randomly placed in Euclidean space (usually in a torus) and sample weights from a power law distribution, see Definition 1.2 below. Then, edge probabilities increase with the product of the weights and decrease with the distance. We focus on the threshold case of this model (also called zero temperature GIRG or T-GIRG) in this work.
Our main motivation for studying the GIRG model stems from recent empirical works which show that the performance of various algorithms on GIRG closely matches that on real-world networks [4, 14]. This includes in particular bidirectional breadth-first search for computing shortest paths, the iFUB algorithm [16] for the diameter, the dominance rule for vertex cover, the Louvain algorithm for clustering [8], and the time required to enumerate all maximal cliques, and reduction rules for computing the chromatic number. Many of the above settings have also been analyzed theoretically on HRGs [7, 5, 6, 1]. While there are many other models for social and other complex real-world networks [33, 32, 31, 18, 26, 25], we believe that these transfer results make the GIRG model a particularly promising candidate for gaining theoretical insights into the performance of algorithms, as they may sometimes translate into practical performances on real-world networks.
Moreover, there is compelling empirical evidence for the quality of fit between GIRG and certain real-world networks at least when properties like (degree) heterogeneity, clustering, typical distances and so on are the object of focus [4, 17, 21]. For the special case of the HRG model, earlier works support the notion that real-world networks (for example a certain subset of the Internet) are amenable to embeddings in hyperbolic space [31, 23], and there is a mapping from such a space to 1-dimensional GIRG.333Roughly speaking, the angle of a vertex in the hyperbolic disk corresponds to its coordinate, and the distance from the center corresponds (inversely) to its weight.
Let us now formally define the model. We first describe a power-law distribution, to be used for the weights of the vertices, which are in expectation in the order of their degrees.444There are more general versions of this definition, most notably incorporating so-called slowly-varying functions as a scaling factor [39], which allows for better statistical fit to some real-world networks. Our proofs can be extended to such a scenario using standard tools (e.g. Potter bounds [3]), but we keep the current definition for simplicity of notation.
Definition 1.1.
Let . A continuous random variable is said to follow a power-law with exponent if it satisfies .
We now define the precise graph model we will work with. For simplicity, throughout we use to denote the max norm distance between the positions of vertices and . Any other norm would do, as it would only change the distances by a constant factor at most, and our proofs are robust enough to handle such deviations. Also, throughout the paper we will assume that the dimension , the density and the power-law exponent are constant, while . Deviating slightly from the usual computer science convention, the expected number of vertices is instead of , but this will not change any asymptotic results.
Definition 1.2.
Let , , and let be a power-law distribution on with exponent . A Threshold Geometric Inhomogeneous Random Graph (T-GIRG) is sampled as follows:
-
1.
The vertex set is given by a Poisson Point Process of intensity on the d-dimensional torus of volume .555Equivalently, we can sample the number of vertices from a Poisson distribution with expectation and draw their positions uniformly at random. This has mathematically slightly nicer properties than picking exactly vertices, in particular, the number and types of vertices in any two disjoint regions of the space are independent. However, the differences are negligible, see [30, Claims 3.2,3.3].
-
2.
Every vertex draws i.i.d. a weight .
-
3.
For every two distinct vertices , add an edge between and in if and only if
Remark 1.3.
This is only a special case of the GIRG model as defined in [11]. In the general case, the connection probability between two vertices scales as , where the constant parameter is the inverse temperature. We use .
Previous works.
The diameter of GIRG has already been shown to be polylogarithmic, but with an unidentified exponent [12]. The difference between this bound and ours is still substantial for many modern distributed settings. Very closely related to this work is that of Müller and Staps [35] which showed that the diameter of HRG is logarithmic, following previous polylogarithmic bounds [28, 22]. As already noted, HRG can be thought of as GIRG with , and in fact some part of our upper bound proof reuses elements from the HRG case. However, the proof in [35], in particular the use of blocking structures, relied heavily on dimension one. We also note that the resulting graphs for are structurally different: for , the subgraph induced by vertices of degree at most contains a giant (linear-sized) component if is a sufficiently large constant. For , the same induced subgraph is scattered and subcritical for every constant .
Organization.
The following sections (upper bound in Sections 2 and 3 and lower bound in Section 4) contain the derivation of our results, with proof sketches and intuition provided together with any claim. Some formal proofs are omitted due to space constraints, but can be found on arXiv [2]. Altogether, we prove the following theorem. Traditionally, the most important regime is the one for , for which we obtain a diameter of .
Theorem 1.4.
The following statements hold asymptotically almost surely.666We say that an event holds asymptotically almost surely (aas) if it holds with probability .
-
If and is a sufficiently large constant, then the diameter of T-GIRG is .
-
If , then the diameter of T-GIRG is .
-
If , then the diameter of T-GIRG is .
Proof.
Upper bounds follow by Lemmas 2.17 and 2.4 and Corollaries 3.7 and 3.8. Lower bound follows by Theorem 4.4.
2 Upper bound: large enough and
In this section we present the proof in a simplified setting, namely when the density is larger than some constant depending on . This makes the proof considerably less technical and easier to follow. In the subsequent section we will then explain how this assumption can be removed (but only if ). For the following, is the geometric ground space augmented with the weight dimension.
We follow some ideas from [35]. In particular, we tessellate in tree-structured boxes as follows (see Figure 1). First, we fix a small constant such that , with being an integer. The lowest level of boxes is then defined as:
In words, we tessellate777To have a proper partition of the ground space, we actually replace by whenever is the maximum permitted value. We only write this in this footnote for simplicity of the formulas. the geometric space in the natural way by boxes of side length and we take for each the product with the weight range from to . The choice of as the upper limit will be made clear soon.
We now similarly define the higher levels of the tessellation. The idea is that each box will have boxes of the next lowest level “directly below” it. That is, we define for :
The highest level of the hierarchy consists of a single box covering the entire geometric ground space and the leftover weight range. That is, .
Now, notice that any two adjacent (as in Definition 2.1 below, in any of the two interpretations) boxes in this tessellation have the following property. For any vertices such that and , we have (for small enough).
This leads to the following observation. Consider any pair of vertices and . From the box of there is a “canonical path” of boxes to the box of , which is comprised of the two “upward” paths from and to their lowest common ancestor. If it were the case that all the boxes in this path contained at least one vertex, we would obtain a vertex-path (see Figure 1) from to of length . To make this and the following more precise, we give the following definitions (here Figure 1 might be helpful again).
Definition 2.1.
Consider the boxes of the tessellation of as a vertex set. On this vertex set we define by adding an edge between boxes if their closures intersect in a -dimensional set.888Mind that has dimension . We also define on the same vertex set by adding edges when the closures of said boxes have a non-empty intersection.
Of course, the previously mentioned canonical path may fail to contain a vertex in each box. Nevertheless, we can utilize this idea to construct short paths between any two vertices and , given that they are connected. To this end, let a box be called active if it contains at least one vertex in the realization of the GIRG graph. For two boxes , let be the canonical box path (not necessarily active) connecting them. More formally:
Definition 2.2 (Canonical box path).
Let be two distinct boxes of the tessellation. For any box other than the top-most box , let be the unique box of minimum volume under the constraint that it is a strict superset of under projection along the weight dimension. Notice that . Now, the set of edges identified in this way constitutes a spanning tree of , rooted at . We define the canonical box path ) from to as the unique path between them in . We may sometimes abuse notation and use to mean .
It turns out that we can bound the length of a shortest path between and by the cardinality of the set , defined below. Intuitively this set is constructed by taking and “expanding” along inactive boxes.
Definition 2.3 (Inactive region of canonical box path).
Let be two distinct boxes of the tessellation. Let be the subset of inactive boxes. Let be the connected components of . We define as
where . We may sometimes abuse notation and use to mean . Notice that is a -connected set of boxes. Additionally, any box but -adjacent to some box in must be active. We use to refer to the set of such boxes.
To show a logarithmic upper bound on the diameter, it now suffices to show two statements. First, we will essentially show that if and are connected in the GIRG graph , then contains a path from to where all vertices are in boxes of .999 is a graph where we add an edge between two vertices if and only if their distance is at most in . As a consequence, the length of a shortest path between any pair of vertices and is deterministically . Second, asymptotically almost surely it holds that for all pairs . More precisely, we show the following.
Lemma 2.4.
Assume and that is larger than some constant depending on . Then, asymptotically almost surely we have for some constant that for all pairs of boxes.
Proof.
Fix a single pair . Suppose that for these boxes, . For large enough , we can conclude that at least half the boxes in must be inactive (some are included by virtue of being part of and these need not be inactive). Let refer to the set of these inactive boxes.
In [10, pp. 129–130], it is shown that in a graph with vertices and maximum degree , there are at most connected subsets of size . We have . Therefore, there are at most possibilities for that we need to consider (i.e union bound over). Once we fix such a , there are (by a gross overestimation) at most ways to choose . The probability that this choice of is actually fully inactive is at most , where is an upper bound on the probability of a single box not containing a vertex. Since , this probability is maximized at the lowest-level boxes. By increasing , we can assume is as small as desired, in particular small enough such that . This implies that for some large enough we can union bound over all possible sets with and all possible choices for , and thus the claim follows.
To prove also the first statement, we must lay some groundwork regarding and .
Boundary connectivity
Now we prove some useful structural properties about the graphs and . In particular, we will establish some preconditions of theorems proven in [38]. We will define the “visible boundary” of a set of boxes with respect to a given box as the set of -neighbors of that are -reachable from without crossing , see below. The goal is then to show that the visible boundaries of -connected sets are -connected. Applying the result for will be useful later in the proof, where we construct shortcuts for subpaths that venture outside of .
To illustrate the idea further and provide some intuition, let us consider for now such boundaries in the simplified case of , where vertices are points of the infinite integer grid and nearest neighbors share an edge (in the counterpart of ), as in Figure 2. For the analogue of , which we will call , we also add the edges between vertices whose and coordinates both differ by 1. Each vertex of this infinite graph should intuitively be thought of as a box in our tessellation, even though our tessellation does not possess the edge set of or . Assume now that we are presented with a blue/red coloring of the vertices of , where blue is generally meant to signify an active box and red generally signifies an inactive box. Given such a coloring with the origin being red, we can define the “red component” (comparable to for our purposes) of the origin as its connected component in induced by red vertices. This may possibly yield a red region without “holes”, surrounded by a connected (in ) blue boundary (as in Figure 2, left). However, this is not the only case. For example, could resemble a donut, in which case the blue boundary consists of two connected circles. Now, the points inside the donut hole “see” a connected part of the boundary and so do the points outside the donut. This is a crucial property which we will use in the following way. Thinking of the red region as and of the blue boundary as , consider the graph path connecting to . If the path stays within the union of the red region and the blue boundary, it is already short enough and there is nothing we need to do. If, however, this walk ventures outside of , we will show that there is a shortcut walking along the visible boundaries to obtain a new walk that avoids such excursions, except perhaps for the first and last vertices of each. More exotic cases can arise when the path successively jumps through a sequence of different holes, but these can also be tamed as we will see.
With the previous example guiding our intuition and keeping in mind that there are new subtleties to uncover, let us now define visible boundaries in accordance with [38]. As we have mentioned, we will use these boundaries to “patch” parts of our constructed path, using their connectivity, which we will prove later.
Definition 2.5.
For a -connected subset of and a box , we define the boundary of visible from as
Notice that we require to be -adjacent to , but we only allow paths in for the connection to . This is required for the theorems in [38] to apply, but otherwise plays little role for our analysis.
Before introducing the theorem we will use, let us describe the preconditions we need to prove. The first one is with regards to the cycle space of . The cycle space is simply the set of subgraphs of where each vertex has an even degree. Our goal is to find a suitable generating set for this space, with symmetric difference of edges being the underlying algebraic operation. For this first criterion, we regard a generating set as suitable if all are chordal in . We say that a cycle is chordal in if its vertices induce a clique in . For reference, such a set for the pair is the set of all 4-step cycles.
It is a standard fact that so-called “fundamental cycles” generate the cycle space of a graph [19, Theorem 1.9.5]. To produce a set of fundamental cycles, pick a spanning forest . Then, for any , has a unique cycle. The set of cycles found like so is referred to as a set of fundamental cycles.
It therefore suffices to find a generating set for a set of fundamental cycles. To do so, consider the natural spanning tree of , comprised of all edges of connecting boxes of different levels (see Figure 4). We will observe that fundamental cycles of this tree follow a very restricted structure which will guide us into defining .
Observation 2.6.
All fundamental cycles of can be expressed as the union of and , where is the added edge and is the unique path in from to the lowest common ancestor of , assuming is rooted at the highest level box. Moreover, for each and in the same level of the tessellation and with internal in , we have .
Proof.
The first part of the observation follows from the fact that the described union constitutes a cycle and by uniqueness of said cycle. For the second part, notice that for any two boxes in the same level of the tessellation with , we know that the projections of the boxes along the weight dimension do not intersect, even after taking their closures. Since all descendants of these boxes have projections that are subsets of the above, no pair of them intersects either, and thus the claim follows by contraposition.
We are now in a position to define our generating set.
Definition 2.7.
Let be an edge between two boxes of the same level. Let be the parent box of . If , then let , otherwise let . We define as the set containing all such cycles.
Lemma 2.8.
The set generates the cycle space of . Moreover, each element of is chordal in .
Proof.
Recall that it suffices to show that generates all fundamental cycles of . Let be such a cycle where (see also Figure 4)
with being the added edge. Recall that by ˜2.6 we have , meaning for all . Consider . Notice that all edges of appear exactly once in this sum. Additionally, all other edges ( for ) in the sum appear exactly twice. Therefore, , yielding the first claim.
We will now show the chordality in of elements of . Consider an element . Because the edge is incident to boxes of the same level, we conclude that these boxes can be characterized by vectors and as in the definition of the tessellation, where and differ by 1 in exactly one of coordinates. Therefore, their parents also satisfy this property, or coincide. In either case, one can identify a -dimensional set of points in dimensions, defined by restricting the weight to be the lower limit of the parents and the coordinate in which and differ to be equal to the value where the closures of the boxes of intersect. All other coordinates are free to take any value in the intervals prescribed by the boxes of . This set of points guarantees that the considered cycle is chordal in .
With the condition on satisfied for and , let us present the theorem we want to use, which is an adapted version of Theorem 4 in [38].
Theorem 2.9.
Let be a connected graph, and a connected subgraph of . Suppose that there is a generating set for the cycle space of that is chordal in , and that for every edge there is a cycle (containing ) in such that , and is chordal in . Let be a connected subgraph of , and . Then is connected in .
We notice the extra condition about the existence of the cycles . Let us now record this condition for our particular pair , in a way which will be useful later on as well.
Claim 2.10.
Let be two boxes connected by an edge in . Consider the graph with vertex set and edge set . Then, contains a path from to . Additionally, this path along with constitutes a cycle as prescribed by Theorem 2.9.
With Theorem 2.9 in our arsenal, we may proceed to relate to the path length.
Bounding the shortest path length by
As mentioned earlier, our approach will be to shortcut parts of (assumed) shortest paths which stray meaningfully out of . The following lemma is paramount for this goal. Intuitively, it allows us to “anchor” the path to the boundary of whenever it is crossed. See Figure 4 for a visualization.
Lemma 2.11.
Let in the definition of the tessellation be small enough. Let be two vertices connected by an edge intersecting an active box . Then, contains a vertex that is connected to either or by an edge.
Let us now describe on a high level the rest of the proof. See also Figure 5 for a visual aid to the following arguments. Consider the sequence of boxes induced by a shortest path between and . That is, for each vertex in the path, write down the box in which it is contained. For later use, let us give a proper definition.
Definition 2.12 (Box-footprint).
Let be a path in the GIRG graph from to . We call the sequence the box-footprint of .
This sequence is not necessarily a walk in (two adjacent vertices could be in non-interescting boxes). The crucial property is that a path from to exists which only uses a number of vertices comparable to the number of boxes in this sequence. Our goal will be to transform this sequence in such a way that no boxes outside are contained in it, while preserving the path property. We have already discussed the general idea behind such modifications and depicted it in Figure 2. We will use Lemma 2.11 to establish “anchors” in the visible boundaries of and use their connectedness to show the existence of paths between them. However, even the right panel of Figure 2 still does not impart the full picture. There, we see two excursions being patched, one in the outside region and one inside the donut hole. But the path could also jump between holes before eventually reentering (as in Figure 5), in which case our argument temporarily breaks down. Fortunately, this then implies that some edge of the path must cross both boundaries. Using Lemma 2.11 for the two boxes guaranteed to be crossed (each in one of the boundaries), we conclude that the two boundaries are actually still “connected” in the GIRG graph, in the sense that they contain vertices and respectively which are separated by a constant number of edges in the GIRG graph. So, no matter how erratic an excursion might look, the set of visited “holes” is sufficiently well-knit, and therefore we can still find a sequence of boxes preserving the path.
Let us now initiate a formal treatment of the above paragraph. We start with a definition.
Definition 2.13 (Hole).
Consider two vertices . A hole is a connected component of . The visible boundary of a hole is , for some in . The precise choice of is irrelevant. Notice that all boxes in the visible boundary of are active by construction of .
We now wish to establish the first “anchor” when the path from to initially exits . To do so, we first need another definition and a claim that will be useful throughout the rest of the proof.
Definition 2.14 (Box-shadow).
Let be two vertices connected by an edge . Let be the line segment in connecting the images of the vertices. We call the sequence of boxes intersected by (which is a walk in ) the box-shadow of and denote it by .
Claim 2.15.
Let be a box in and be a box in some hole . Any walk in from to intersects the visible boundary of .
Proof.
Consider the boxes of such a walk. Because is in or is a box that is -adjacent to , there exists a minimum such that . We claim that is in the visible boundary of . By construction, is -adjacent to . It then suffices to show that is -connected to , avoiding . Now, this follows because for every edge of in the assumed walk with , we know that is larger than 1. Therefore, and are connected in . This follows from ˜2.10. Indeed, the claim provides us with a path from to using only edges from and where all the boxes satisfy have distance in at most from . Therefore, they have distance at least from , i.e. they belong to the vertex set of .
Thus, to establish our first anchor, we identify the first box in the box-footprint that is not in . It therefore belongs to some hole . Now, the box just before is in . Therefore, the box-shadow of the corresponding edge must intersect the visible boundary of by ˜2.15. The box found to intersect must be active, and therefore contains a vertex connected to some endpoint of said edge by Lemma 2.11.
We have our first anchor, but we need to connect it all the way through to the next box of the box-footprint which will be in (such a box is guaranteed to exist because is in ). To this end, we introduce the following claim.
Claim 2.16.
Let be two vertices connected by an edge and suppose that the boxes containing them belong to different holes . Then, there exists a vertex in some box in the visible boundary of and a vertex in some box in the visible boundary of with .
We now have all the tools necessary to prove the main lemma of this subsection.
Lemma 2.17.
Suppose and are connected in the GIRG graph. There exists a sequence of boxes , entirely contained in , with the following property. For every , there is a vertex in with and such that holds for all . In particular, .
Proof.
Let be the path assumed to exist between and , and let be its box-footprint. Let be such that and are in , but all for are not. Let be the hole which contains and let be the one which contains (with the possibility that ). We will show three things that let us replace any such subsequence .
-
1.
The visible boundary of contains a box with a vertex which satisfies , where is the vertex which generated .
-
2.
A completely analogous statement holds for and .
-
3.
There exists a sequence satisfying the properties listed in the statement of the lemma (treating and as the start and end vertices).
For the first statement, we use ˜2.15, providing the box-shadow of the edge as the walk to be intersected. The bound on follows because is the vertex in the active box found in the intersection and therefore it connects to either or by Lemma 2.11 (actually the bound here is 2 rather than 3). The second statement follows completely analogously.
For the third statement, we employ ˜2.16. Indeed, in the subsequence , one may visit a sequence of holes . ˜2.16 then guarantees that for any two consecutive holes, their visible boundaries contain representative boxes that are (in 3 steps) connected through GIRG vertices. Therefore, a suitable sequence of boxes from to exists, since the visible boundaries are themselves connected, comprised solely of active boxes and adjacent boxes have vertices that induce cliques in the GIRG graph.
Bounding
The final step in bounding the diameter is controlling the size of the inactive region itself. We will do this with a simple path-counting argument. For some to grow large, there must occur large connected sets of generally inactive boxes. However, because the degree of the box-adjacency graph is bounded, there are exponentially many (in ) such possible sets of size and the probability of any fixed one being mostly inactive decays exponentially in . Moreover, the strength of the decay depends on , whereas the scale of the combinatorial explosion does not. This Peierls-type idea is essentially the same as in [35, Lemma 13] and is the cornerstone to the proof of our Lemma 2.4.
3 Upper bound: and arbitrary
In this section we will forego the assumption that is large enough and make do with .
Thus, we can no longer assume that each box is active with probability arbitrarily close to 1. We can now only do that for boxes above a certain level.101010This is because the number of vertices in a box at level is Poisson distributed with mean , which rapidly increases with growing . We now have to somehow deal with the boxes of lower levels. To manage this, we group these boxes into what we will call “towers”.111111This idea is similar in spirit to the renormalization carried out in [35], but requires a different approach. There, the renormalization is essentially reliant on the fact that the percolation threshold for 1D site percolation is , which is no longer true in higher dimensions. A tower simply consists of the union of a box and all boxes “below” it.
Definition 3.1 (Towers).
Given a level , we define the towers of our tessellation as:
Notice that the sole difference between and is the lower end of the weight range.
We now define what it means for a tower to be active.
Definition 3.2 (Active tower).
Fix some . Let with the upper end of the weight range of . Ensure that is an integer power of (for technicalities below) by potentially decreasing . Let be the towers neighboring , and let be the graph induced by vertices in . We say that is active, if:
-
1.
Any box (as in Definition 2.2) that is part of and whose lower weight range is at least is active.121212Note that this implies the next property.
-
2.
In , all vertices of weight at least are in the same connected component .
-
3.
In , for any component , if , then .
For the rest of this section, we redefine in the following way. We simply replace the notion of boxes by elements which can be either towers or boxes of level above the tower cutoff. This still defines essentially the same graphs , up to a reduction in the number of levels. The definition of is still based on the spanning tree of , but we consider as start/end vertices in said graph either the tower containing / or the boxes which contain them if their weights are large enough. The definitions of simply inherit the effects of the change in . The goal will now be to re-establish the “shortcuts” through and again show that does not grow too large.
To that end, we first show that the higher the tower, the more likely it is to be active.
Lemma 3.3.
Let be a tower of level . Then,
where the is with respect to .
Proof.
It suffices to show that properties and fail to be satisfied each with probability. For the first one, notice that the probability for any of the boxes of interest to be inactive is maximized for the lowest-level ones. Therefore, a fixed box is inactive with probability at most . It is not hard to see that there are polynomially many (in ) boxes.131313Because each box has “children” below it and we reach the lowest level boxes within iterations. Thus, a union bound shows the claim.
Now, for property , we will expose in two steps. First, reveal all vertices of weight at most and the edges between. We then reveal the higher-weight vertices and all remaining edges. Up to a failure probability (from property ), in the second step we only merge components from the first step to . Therefore, it suffices to show that any component from the first step violating property will merge with in the second step.
Indeed, let be such a component and let be the vertices satisfying for a constant to be determined. Consider a shortest path between and . This path must contain at least edges, since each edge can only cover a geometric distance at most . Consider every other vertex (i.e. the first, the third, the fifth and so on) in this path and place a ball of radius around each one. If any pair of these balls would intersect, we could shortcut the path, which would contradict its minimum length. Therefore, we conclude that a subset of the vertices in the path cover a geometric area of volume . Now, let be that area. If in the second step we reveal any vertex in , the component will merge with (as we will have an edge from some vertex of the path to one vertex in ). Now, the number of vertices of weight at least in is Poisson distributed with expectation . It follows that for large enough (in particular as long as ), the probability that none are revealed is at most . This argument was for a singular . However, there can be at most polynomially many (in ) candidates, so again a union bounds suffices. This bound on the number of components is because the total volume of is polynomial in , and each would need to disjointly occupy at least some constant volume (much like in the shortest path argument).
As a first observation towards re-establishing the “shortcuts”, let us remark that a version of Lemma 2.11 still holds when we replace some box levels by towers. In more detail, if it so happens that an edge from to intersects an active box of not too low weight (i.e. just satisfying the weight condition of property in Definition 3.2), one of these vertices must connect to a vertex in the intersected box, since it is active. This follows verbatim by Lemma 2.11.
Definition 3.4 (High-weight box).
Fix a tower level and an as in Definition 3.2. Then, let be as in Definition 3.2. We say that a box of the tessellation is high-weight if the lower limit of its weight range is at least .
With those boxes out of the way, the only other option left for the path to exit is through the low-weight boxes of the towers. We will now show that this is also impossible without connecting to the largest component of some . We first deal with the case where an edge possibly starts inside and ends up somewhere outside of . We show that this just cannot happen without intersecting a high-weight box of .
Claim 3.5.
There is no edge from a vertex to with in and not in such that this edge does not intersect any high-weight box of . Moreover, the intersected box is guaranteed to be part of the visible boundary of the hole in which belongs.
Proof.
Assume without loss of generality that . Let be as in Definition 3.2. Consider the box-shadow . This is a -walk from to . Let be a maximal pair such that , and for all . We must have , and so any two vertices in these boxes must be separated in -dimensions by at least a distance . The part of the line segment travelling between two such vertices and through the boxes stays below weight until it reaches , otherwise it would intersect an active box. Therefore, this implies that the weight/distance slope of the edge’s line segment is at most . Now, we may write . We know that . Since for small enough and/or large enough and we also have , the validity of this inequality is monotone wrt , in the sense that larger values for the latter can only falsify the inequality. We know that is , and so we must have for some constant (depending on and importantly not on ):
Now, since , we have a contradiction for and large enough.
The final piece of the puzzle is to handle cases where is in and is in a low-weight box of . We now need to switch viewpoint and instead of actually looking at an edge between and we identify as the last vertex to be in and to be the first vertex after (on the path from to ) which is not in (similar to the definition of and above). Between and , all vertices are in . Such an arrangement must occur if the path from to is to ever exit (and in the case we are currently considering, at least one vertex between and must exist).
Claim 3.6.
It is impossible for a path to exist between a vertex to a vertex without some vertex in said path connecting (within its own tower) to a vertex in a high-weight box of . Moreover, the mentioned box (more accurately, the tower containing it) is guaranteed to be part of the visible boundary of the hole in which belongs.
Proof.
Let be the vertices between and in the path, all of which are wlog assumed to be in . We know that , where is as in Definition 3.2, by similar arguments as in the proof of ˜3.5. Suppose first that . In this case, notice that there must exist a vertex in a high-weight box within distance from with , because is in a low-weight box of an active tower . By triangle inequality, . Therefore, must connect to . So, for the rest of the proof we may assume .
Let be as in Definition 3.2, with there replaced by . Assume wlog that is not in the same connected component as (the vertex in the top box of ) in . Moreover, let be the first vertex among which is not a vertex of . One such vertex must exist, since otherwise we would conclude that . Let be the vertex right before . Then, this means that either i) the geometric position of is outside of and the neighboring towers (i.e. outside of as in Definition 3.2) or ii) which again implies i), if we (wlog) assume that does not connect to . In any case, we conclude that . By a similar argument as in the first paragraph, this implies that connects to , finishing the proof.
The above claims collectively prove the following, analogous to Lemma 2.17.
Corollary 3.7.
Suppose and are connected in the GIRG graph. There exists a sequence of boxes/towers , entirely contained in , with the following property. There exists a constant such that for every , there is a vertex in with and such that holds for all . In particular, .
Final steps in bounding the diameter
Just like we did for the case with high enough , one can show that the inactive regions, where we now fix a large enough and a small enough and consider towers instead of boxes for the low levels, do not grow too large. A crucial difference is that the events and meaning that neighboring towers and are active are not independent. However, in any set of towers/boxes, we can always identify a constant fraction of them that are completely independent, and that fraction is roughly . This only forces us to drive the probability in Lemma 2.4 even closer to . This argument proves the following, analogous to Lemma 2.4.
Corollary 3.8.
Assume . Then, asymptotically almost surely we have for some constant that for all pairs of boxes/towers.
4 Lower bound
In this section we prove a matching logarithmic lower bound for the diameter when . The idea will be to identify regions in the ground space and argue that each of them has an independent chance of producing a path component of logarithmic size. The success probability per trial will be with a constant of our choice, and we show that at least one will succeed aas.
In more detail but still at an intuitive level, a central point is that the maximum weight found in the graph will aas be at most roughly , which is for . The paths we will try to construct will consist of vertices with constant weight. Therefore, a single trial requires only about volume of space. Inside this region, we can locally decide whether there exists any unwanted vertex connecting to our under-construction path. Outside the region, no vertex can connect to the path under the aforementioned maximum weight constraint.
Let us also provide some more details about how to decide existence and local disconnectivity of the path to the rest of the region. First of all, we will look for the path at the middle of the region. Geometrically, it will be a “snaky” path confined in a ball of radius but still occupying a constant fraction of its volume (see Figure 6). Assuming such a path exists, we now try to ensure that no other vertices connect to it. Fix an and consider the geometric topos with minimum distance to any of the vertices of the path in the interval . Since the maximum distance between any two vertices in the path is , it has volume at most . Now, for a vertex in this region to connect to any vertex in the path, its weight must be at least . Going over in powers of two, it can be seen that the expected number of such vertices is at most , for a constant that can be controlled by reducing . Since this number is Poisson-distributed, the probability that it is equal to is at least . Assuming we can attempt such a trial times, we simply need to ensure . For context, will roughly be , i.e. the number of disjoint volume cubes we can find.
Now, let us describe a curve through the cubes of a uniform tessellation of a -dimensional cube, which will serve as a “skeleton” for our path.
Definition 4.1.
Let be a cube-shaped region in dimensions and tessellate it into identical cubes. Each such cube can be represented as a vector with entries from , encoding the geometric position of its center. Order these vectors according to the M-ary Gray code, i.e. every two consecutive vectors differ only in a single entry and by exactly . We define the Gray curve of level of as the piecewise linear curve going through the centers of the cubes in the order given by the M-ary Gray code.
Observation 4.2.
For any two non-consecutive cubes visited by the Gray curve, the following holds. If are points on the curve in these cubes respectively, then , where is the side length of the cubes and is a constant depending on the dimension .
Proof.
Notice that each cube contains inside it one or two parts of the curve, both of which are line segments from the center of the cube to the center of some face of the cube, with length . It suffices to show that such pairs of line segments do not come within distance smaller than .
If the centers of the cubes are separated by distance larger than , the claim follows by triangle inequality (the set of possible distances is quantized). Therefore, for the rest of the proof we assume that the centers are exactly units away from each other, i.e. the cubes share a face.
Notice that there is a limited set of directions a line segment can have (of cardinality ), seen as oriented away from the center of the cube. If the segments are both oriented straight towards the other cube’s center, the cubes would be consecutive. Thus, they are not and the claim follows by the law of cosines.
We proceed with a claim that gives a lower bound on the probability of a cube of volume to be locally good, using the object of Definition 4.1.
Claim 4.3.
Let . Consider a cube-shaped region of volume in the geometric space of the GIRG graph (with the set of vertices in ) and let be the event that contains a component of diameter comprised solely of vertices of weight at most . Then , for a that depends on .
Proof.
Wlog translate such that its center is the origin. Let be a smaller similar region of volume (with sufficiently large compared to ), also centered at the origin. Tessellate into identical cubes in the finest way (i.e. largest as in Definition 4.1) possible such that the following holds. For any two non-consecutive cubes visited by the curve and any two corresponding points on the curve (within the mentioned cubes respectively), said points have distance at least from each other. Notice that by ˜4.2, is at least , i.e. the cubes shrink down to constant volume.
Now, consider balls of volume 1 (i.e. also having radius 1) placed on the Gray curve whenever the distance to the previous ball’s center becomes (we start by placing one ball at the start of the curve). Note that each cube is assigned at least one ball, by ˜4.2 (or more simply by demanding that the side length of the tessellation is at least ). With at least the required probability, each such ball contains exactly one vertex with weight in . Now, notice that the vertices of consecutive balls connect, since their distance is at most and the product of their weights is at least . Moreover, there is no edge between vertices in balls inside non-consecutive cubes (in the Gray curve ordering), since the distance between them would be at least , while the product of their weights is at most . These arguments imply the existence of a shortest path with length at least the number of cubes of the tessellation, which is in turn in the order of the volume of , i.e. logarithmic.
It now remains to show that with good enough probability, this path is not shortcut when exposing the rest of the graph inside . To this end, fix some with a non-negative integer. Consider the geometric topos of points with minimum distance to a vertex of in the interval . Since all vertices of are in , the volume of this topos is . Now, to connect to a vertex of , a vertex in said topos must have weight . The number of vertices in this topos with weight at least this lower bound is Poisson distributed with expectation . Summing over all , we observe that the overall expected number of vertices connecting to is and is also Poisson-distributed. Thus, the probability that it is is at least as desired, as the constant in Landau notation depends on .
With the above claim at hand, we may now proceed to prove this section’s theorem.
Theorem 4.4.
Assume . Then, aas the diameter of GIRG is .
Proof.
Fix a small enough and observe that aas the maximum weight of the graph will be at most . Identify disjoint cubes of volume .141414The factor is introduced to avoid dealing with some constants in arguing that no connections exist from to outside of from 4.3. Now, if the event of ˜4.3 succeeds for any one of these cubes, we have a witness to the claimed lower bound on the diameter, since the discovered component has large diameter within its own cube and does not connect to any vertex outside the cube, by virtue of the upper bound we have on the maximum weight and a lower bound on the distance between a vertex in said component to any vertex outside the cube (since the component is localized in from the proof of ˜4.3). By setting in ˜4.3 small enough compared to , we conclude that the number of successful cubes is binomially distributed with expectation . This follows by the fact that the cubes are disjoint and therefore the event described in ˜4.3 is independent across different cubes. Therefore, aas we have not only one but polynomially many components of logarithmic diameter in the graph using a Chernoff bound.
Remark 4.5.
The above proof can be modified to also show that the giant component has logarithmic diameter. The only thing we need to change is to look for paths in ˜4.3 that instead of not connecting to any other vertex in connect to exactly one vertex of polylogarithmic weight . Since all vertices above a certain polylogarithmic weight are part of the giant aas [12, Theorem 5.9], this would show the claim. However, this connection must be done carefuly so as not to shortcut the original path . One way to achieve this is the following. First, we look for a vertex of weight in an appropriate geometric topos of volume . This topos is such that would connect to at least 1 vertex in but also it would have geometric distance at least to some other vertex in (a small ball close to a “corner” vertex as in Figure 6 would do the trick). The second property implies that there exists a subpath (staring from the vertex distant to ) of with and such that no vertices of have an edge to . This follows because moving along the path one can only geometrically move a constant geometric distance per step along the path. Notice that we succeed in finding such a with probability . We then look for a vertex of weight at geometric distance from and at the same time from any vertex in (now the geometric topos we use can have much higher volume, but we don’t actually need to use this). It is not hard to show that will not connect to any of the vertices of . We keep increasing the weight like this until we reach a suitable vertex . This modification does not impact the success probability or the independence between polynomial-volume regions of ˜4.3 and therefore this shows that the giant component also has at least logarithmic diameter.
5 Conclusion
We have shown that the diameter of T-GIRG is asymptotically almost surely . A natural next question is whether the same holds for GIRG with positive temperature. The additional edges in this case are also called weak ties, and they have fundamental impact on many processes on GIRG, see for example [29, 27]. Our proof method breaks down in that case, mainly since Lemma 2.11 is no longer true: a weak edge may cross an active box although both endpoints are too far away to reliably connect to any vertices in the box. Nevertheless, we conjecture that the diameter is still in this case, and a proof of this conjecture would be highly interesting. Finally, it would also be interesting to study the case where is not a constant but grows with , which our techniques are not equipped for. One would expect the diameter to again be logarithmic, since at least when grows sufficiently quickly, GIRGs converge to a different random graph model (Chung-Lu random graphs), which itself has logarithmic diameter.
References
- [1] Samuel Baguley, Yannic Maus, Janosch Ruff, and George Skretas. Hyperbolic random graphs: Clique number and degeneracy with implications for colouring. In 42nd International Symposium on Theoretical Aspects of Computer Science, 2025.
- [2] Zylan Benjert, Kostas Lakis, Johannes Lengler, and Raghu Raman Ravi. The diameter of (threshold) geometric inhomogeneous random graphs. arXiv, 2025. doi:10.48550/arXiv.2510.12543.
- [3] Nicholas H Bingham, Charles M Goldie, and Jef L Teugels. Regular variation, volume 27. Cambridge university press, 1989.
- [4] Thomas Bläsius and Philipp Fischbeck. On the external validity of average-case analyses of graph algorithms. ACM Transactions on Algorithms, 20(1):1–42, 2024. doi:10.1145/3633778.
- [5] Thomas Bläsius, Philipp Fischbeck, Tobias Friedrich, and Maximilian Katzmann. Solving vertex cover in polynomial time on hyperbolic random graphs. Theory of Computing Systems, 67(1):28–51, 2023. doi:10.1007/S00224-021-10062-9.
- [6] Thomas Bläsius, Cedric Freiberger, Tobias Friedrich, Maximilian Katzmann, Felix Montenegro-Retana, and Marianne Thieffry. Efficient shortest paths in scale-free networks with underlying hyperbolic geometry. ACM Transactions on Algorithms (TALG), 18(2):1–32, 2022. doi:10.1145/3516483.
- [7] Thomas Bläsius, Tobias Friedrich, and Anton Krohmer. Cliques in hyperbolic random graphs. Algorithmica, 80(8):2324–2344, 2018. doi:10.1007/S00453-017-0323-3.
- [8] Vincent D Blondel, Jean-Loup Guillaume, Renaud Lambiotte, and Etienne Lefebvre. Fast unfolding of communities in large networks. Journal of statistical mechanics: theory and experiment, 2008(10):P10008, 2008.
- [9] Marian Boguna, Dmitri Krioukov, and Kimberly C Claffy. Navigability of complex networks. Nature Physics, 5(1):74–80, 2009.
- [10] Béla Bollobás. The art of mathematics: Coffee time in Memphis. Cambridge University Press, 2006.
- [11] Karl Bringmann, Ralph Keusch, and Johannes Lengler. Geometric inhomogeneous random graphs. Theoretical Computer Science, 760:35–54, 2019. doi:10.1016/J.TCS.2018.08.014.
- [12] Karl Bringmann, Ralph Keusch, and Johannes Lengler. Average distance in a general class of scale-free networks. Advances in Applied Probability, 57(2):371–406, 2025.
- [13] Karl Bringmann, Ralph Keusch, Johannes Lengler, Yannic Maus, and Anisur Rahaman Molla. Greedy routing and the algorithmic small-world phenomenon. In Proceedings of the ACM Symposium on Principles of Distributed Computing, pages 371–380, 2017. doi:10.1145/3087801.3087829.
- [14] Sacha Cerf, Benjamin Dayan, Umberto De Ambroggio, Marc Kaufmann, Johannes Lengler, and Ulysse Schaller. Balanced bidirectional breadth-first search on scale-free networks. arXiv preprint, 2024.
- [15] Aaron Clauset, Cristopher Moore, and Mark EJ Newman. Hierarchical structure and the prediction of missing links in networks. Nature, 453(7191):98–101, 2008.
- [16] Pilu Crescenzi, Roberto Grossi, Michel Habib, Leonardo Lanzi, and Andrea Marino. On computing the diameter of real-world undirected graphs. Theoretical Computer Science, 514:84–95, 2013. doi:10.1016/J.TCS.2012.09.018.
- [17] Benjamin Dayan, Marc Kaufmann, and Ulysse Schaller. Expressivity of geometric inhomogeneous random graphs—metric and non-metric. In International Conference on Complex Networks, pages 85–100. Springer, 2024.
- [18] Maria Deijfen, Remco Van der Hofstad, and Gerard Hooghiemstra. Scale-free percolation. In Annales de l’IHP Probabilités et statistiques, volume 49, pages 817–838, 2013.
- [19] Reinhard Diestel. Graph Theory. Springer Publishing Company, Incorporated, 5th edition, 2017.
- [20] Michalis Faloutsos, Petros Faloutsos, and Christos Faloutsos. On power-law relationships of the internet topology. ACM SIGCOMM computer communication review, 29(4):251–262, 1999. doi:10.1145/316188.316229.
- [21] Tobias Friedrich, Andreas Göbel, Maximilian Katzmann, and Leon Schiller. Real-world networks are low-dimensional: theoretical and practical assessment. arXiv preprint, 2023.
- [22] Tobias Friedrich and Anton Krohmer. On the diameter of hyperbolic random graphs. SIAM Journal on Discrete Mathematics, 32(2):1314–1334, 2018. doi:10.1137/17M1123961.
- [23] Guillermo García-Pérez, Antoine Allard, M Ángeles Serrano, and Marián Boguñá. Mercator: uncovering faithful hyperbolic embeddings of complex networks. New Journal of Physics, 21(12):123033, 2019.
- [24] Mohsen Ghaffari and Calvin Newport. Leader election in unreliable radio networks. In 43rd International Colloquium on Automata, Languages, and Programming, volume 55, page 138. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2016. doi:10.4230/LIPIcs.ICALP.2016.138.
- [25] Peter Gracar, Markus Heydenreich, Christian Mönch, and Peter Mörters. Recurrence versus transience for weight-dependent random connection models. Electronic Journal of Probability, 27:1–31, 2022.
- [26] Paul W Holland and Samuel Leinhardt. An exponential family of probability distributions for directed graphs. Journal of the american Statistical association, 76(373):33–50, 1981.
- [27] Marc Kaufmann, Kostas Lakis, Johannes Lengler, Raghu Raman Ravi, Ulysse Schaller, and Konstantin Sturm. Rumour spreading depends on the latent geometry and degree distribution in social network models. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2026. To appear. arXiv:https://arxiv.org/abs/2408.01268.
- [28] Marcos Kiwi and Dieter Mitsche. A bound for the diameter of random hyperbolic graphs. In 2015 Proceedings of the Twelfth Workshop on Analytic Algorithmics and Combinatorics (ANALCO), pages 26–39. SIAM, 2014.
- [29] Júlia Komjáthy, John Lapinskas, Johannes Lengler, and Ulysse Schaller. Four universal growth regimes in degree-dependent first passage percolation on spatial random graphs i. arXiv preprint, 2023.
- [30] Júlia Komjáthy and Bas Lodewijks. Explosion in weighted hyperbolic random graphs and geometric inhomogeneous random graphs. Stochastic Processes and their Applications, 130(3):1309–1367, 2020.
- [31] Dmitri Krioukov, Fragkiskos Papadopoulos, Maksim Kitsak, Amin Vahdat, and Marián Boguná. Hyperbolic geometry of complex networks. Physical Review E—Statistical, Nonlinear, and Soft Matter Physics, 82(3):036106, 2010.
- [32] Jure Leskovec, Deepayan Chakrabarti, Jon Kleinberg, Christos Faloutsos, and Zoubin Ghahramani. Kronecker graphs: an approach to modeling networks. Journal of Machine Learning Research, 11(2), 2010. doi:10.5555/1756006.1756039.
- [33] Jure Leskovec, Jon Kleinberg, and Christos Faloutsos. Graphs over time: densification laws, shrinking diameters and possible explanations. In Proceedings of the eleventh ACM SIGKDD international conference on Knowledge discovery in data mining, pages 177–187, 2005. doi:10.1145/1081870.1081893.
- [34] Stanley Milgram et al. The small world problem. Psychology today, 2(1):60–67, 1967.
- [35] Tobias Müller and Merlijn Staps. The diameter of kpkvb random graphs. Advances in Applied Probability, 51(2):358–377, 2019.
- [36] David Peleg. Distributed computing: a locality-sensitive approach. SIAM, 2000.
- [37] Chaoming Song, Shlomo Havlin, and Hernan A Makse. Self-similarity of complex networks. Nature, 433(7024):392–395, 2005.
- [38] Ádám Timár. Boundary-connectivity via graph theory. Proceedings of the American Mathematical Society, 141(2):475–480, 2013.
- [39] Ivan Voitalov, Pim Van Der Hoorn, Remco Van Der Hofstad, and Dmitri Krioukov. Scale-free networks well done. Physical Review Research, 1(3):033034, 2019.
- [40] Duncan J Watts and Steven H Strogatz. Collective dynamics of ‘small-world’networks. nature, 393(6684):440–442, 1998.
