What we compared
We compared models that fix every node’s number of connections with models that fix only its expected number across repeated samples. The second model allows individual connection counts to fluctuate. We asked whether this distinction remains detectable in large networks.
The quantity we measured
We examined the largest eigenvalue of the adjacency matrix, which records which pairs of nodes are connected. One interpretation comes from counting walks through the network, allowing repeated visits: this eigenvalue gives their long-run exponential growth factor. In a graph where every node has exactly four neighbours, it equals four.
What we found
When all nodes have the same prescribed connection count, we found a persistent gap in the expected largest eigenvalue. This holds when a substantial fraction of possible links is present, and in some regimes where that fraction shrinks as the network grows. But when almost all possible links are present, the gap vanishes although the models remain inequivalent. This eigenvalue therefore detects the distinction in some regimes and misses it in others.
What the animation shows
Each sample pair contains a graph with exactly four links at every node and a graph with four links per node only in expectation. The latter’s observed average can vary from sample to sample. These small graphs illustrate the two constraints and the eigenvalue calculation. They do not estimate the asymptotic gap proved in the papers.
The mathematics and the illustration
For constrained regular graphs, the expected principal-eigenvalue gap has a non-zero limit in the specified dense and vanishing-density regimes. It vanishes in the ultra-dense regime despite ensemble inequivalence. Related papers prove principal-eigenvalue and eigenvector limit theorems for Chung–Lu graphs, and a downward shift of one in the expected largest eigenvalue of the hard-constraint configuration model relative to its soft counterpart, under stated diverging-degree assumptions. The demo compares a uniformly sampled simple 4-regular graph on 24 vertices (configuration pairing conditioned on simplicity) with G(24, 4/23). The latter has expected degree four at each node, not a fixed observed average degree. Shifted power iteration computes the displayed eigenvalues. This finite example is not an estimate of the asymptotic gap.
PhD research programme with D. Garlaschelli, R. S. Hazra, F. den Hollander and M. Mandjes; co-authorship varies by paper.