How many dimensions do networks need? A minimum description length approach

Ariane Lizotte, Jean-Gabriel Young, Antoine AllardarXiv 2026

TL;DR

Hyperbolic space is famously great at mapping hierarchical complex networks—from brain connectomes to the Internet—because its volume grows exponentially, just like branching trees. This paper uses information-theoretic compression and curved-space calculus to finally answer a nagging question: how many hyperbolic dimensions does a given network actually need? Surprisingly, the answer depends heavily on how much data you have: small networks look artificially low-dimensional regardless of the true underlying geometry that generated them.

What Problem Does This Paper Address?

If you try to map a massive social or metabolic network onto a flat sheet of paper, it quickly turns into an unreadable hairball. Instead, network scientists embed graphs into hyperbolic space—a negatively curved geometry where volume expands exponentially from the center. Connecting nearby nodes in this space naturally reproduces hallmark features of real-world networks: hubs (power-law degrees), tight-knit communities, and high clustering.

Traditionally, researchers defaulted to a 2D hyperbolic plane ($\mathbb{H}^2$). While convenient, 2D limits the kinds of community structures you can represent. Generalizing to higher dimensions ($D > 2$) fixes this, but opens up two massive headaches:

  1. Optimization: Finding the best node coordinates in high-dimensional curved space is computationally grueling.
  2. Dimension Selection: How do you pick the "right" $D$? You can't just maximize the statistical likelihood of the graph, because adding dimensions always improves the fit—eventually overfitting random noise.

Methods

The authors tackle both optimization and dimension selection by combining modern machine learning tools with Bayesian statistics:

  • Curved-Space Gradient Descent: Instead of relying on slow coordinate-ascent heuristics, they optimize node positions on the $D$-dimensional hyperboloid model using GPU-compatible gradient descent—specifically testing standard AdamW (GD), Riemannian Gradient Descent (RGD), and Riemannian Adam (RAdam).
  • Two-Step Stochastic Sampling: Calculating exact likelihoods requires checking every pair of nodes, which explodes quadratically. For large graphs, the authors introduce a clever stochastic gradient descent (SGD) scheme: sample a batch of nodes, then sample a mix of their neighbors (edges) and random nodes (mostly non-edges) using fast hash lookups.
  • Bayesian Minimum Description Length (MDL): To find the optimal dimension $D$, they invoke Occam's razor via MDL: the best model is the one that compresses the network data and its parameters into the fewest bits (or nats). Unlike prior work using normalized maximum likelihood, they define continuous priors over the hyperbolic parameters, find the maximum a posteriori (MAP) embedding, and then discretize the space into tiny hypercubes of resolution $\Delta_x$ to calculate the exact encoding cost.
MDL finds the sweet spot at the true dimension D=4, whereas raw log-likelihood keeps climbing.

Datasets

  • Synthetic Graphs: Networks generated from $\mathbb{H}^D$ and $\mathbb{S}^{D-1}$ geometric models across dimensions $D^* \in \{2, \dots, 7\}$ and sizes ranging from $10^2$ to $10^4$ vertices (typically with power-law exponent $\gamma = 2.7$ and average degree 20).
  • Empirical Networks: A suite of real-world complex networks—including large graphs exceeding 10,000 vertices and 20,000 edges—drawn from prior dimension-inference benchmarks by Almagro et al., Ferrà Marcús et al., and Jankowski et al. (Specific domain names are cataloged in the paper's supplementary Table S1; no new empirical datasets were introduced).

Key Insights and Ideas

  • Small graphs hide high dimensions: Just as three points in 3D space always form a 2D plane, a small network sampled from a 7D hyperbolic space doesn't have enough nodes to "explore" the extra dimensions. From an information-compression standpoint, it is cheaper to project it onto a 2D or 3D slice. Thus, claims that real-world networks are "intrinsically low-dimensional" might just be a mirage of small sample sizes!
  • Previous "dimension peaks" were optimization artifacts: Prior state-of-the-art tools (like D-Mercator) saw metrics like greedy routing success peak at the true dimension and then drop, using that peak to infer $D$. This paper shows that with better gradient optimization, routing success actually plateaus—meaning the previously observed drop was just the old optimizer struggling in higher dimensions.
  • The "Shrinking Ball" trade-off: Because hyperbolic volume grows exponentially with radius ($e^{(D-1)\rho}$), spreading nodes out gives a better graph fit, but costs way more bits to specify node coordinates. Optimizing the Bayesian posterior naturally shrinks the embedding radius $\rho$ to find the most compressible middle ground.
  • 2D is uniquely stubborn for gradients: Ironically, gradient descent struggles in $D=2$. On a 1D boundary circle ($\mathbb{S}^1$), nodes get stuck because they cannot move around each other without passing through each other (creating a massive likelihood penalty). In $D > 2$, extra degrees of freedom let nodes smoothly sidestep obstacles during training.

Key Results

  • Faster & Better Embeddings: For $D > 2$, gradient methods systematically achieve higher likelihoods than D-Mercator in a fraction of the time. Embedding a 5,000-node graph in $D=5$ takes 22 minutes with RAdam versus 105 minutes with D-Mercator.
  • Accurate Dimension Recovery: For $D > 2$, the MDL framework faithfully recovers the exact ground-truth dimension of synthetic graphs once the vertex count is sufficiently large (e.g., around $n \ge 2,000$ for $D^*=7$).
  • Zero Consensus on Real Data: When comparing MDL dimension predictions on empirical graphs against three existing methods, agreement is virtually nonexistent: Pearson correlations with MDL are 0.096, 0.16, and -0.42 (all statistically insignificant). Different mathematical definitions of "optimal dimension" yield wildly different answers on messy real-world data.

Limitations and Future Work

  • The $D=2$ Bottleneck: Gradient-based optimization underperforms in 2D compared to random-walk and cluster-transformation algorithms (like Mercator and BIGUE), which can discrete-jump nodes across neighbors.
  • Hyperparameter Sensitivity: Gradient descent proved sensitive to learning rates, which were fixed heuristically rather than tuned per graph.
  • Linearly Scaling Compute: Finding the MDL minimum requires training a brand-new embedding from scratch for every candidate dimension (e.g., $D=2$ through $15$). To fix this, the authors suggest future work could embed a graph once in high dimensions and use hyperbolic Principal Component Analysis (PCA) or dimensional annealing to project down.

Summary updated

BibTeX
@misc{lizotte2026how,
  author = {Ariane Lizotte and Jean-Gabriel Young and Antoine Allard},
  title = {{How many dimensions do networks need? A minimum description length approach}},
  year = {2026},
  eprint = {2611.36674},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36674},
}
Figure