NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Metric Representations of Network Data

Santiago Segarra, Gunnar Carlsson, Facundo Memoli, Alejandro Ribeiro

TL;DR

This paper provides a rigorous axiomatic foundation for transforming unstructured networks into structured "$q$-metric spaces." The authors prove that a unique "canonical" projection exists, which generalizes both shortest-path distances and single-linkage clustering while enabling efficient nearest-neighbor search and tighter lower bounds for NP-hard optimization problems.

What Problem Does This Paper Address?

Networks are ubiquitous in biology, sociology, and neuroscience, but they are often mathematically "messy." Unlike metric spaces, arbitrary networks don't have to satisfy the triangle inequality—the rule that the distance between two points must be less than or equal to the sum of the distances through a third point.

This lack of structure makes network analysis computationally expensive. For example, finding the nearest neighbor in a general network requires a linear scan of every node ($O(n)$), whereas metric spaces allow for logarithmic search ($O(\log n)$) using specialized data structures like metric trees. The authors tackle the challenge of how to "project" a general network into a structured metric space in a way that is mathematically principled rather than arbitrary.

Methods

The authors employ an axiomatic approach, defining two intuitively necessary properties for any "admissible" projection map ($\mathcal{P}_q$):

  1. Axiom of Projection (A1): If a network is already a $q$-metric space, the projection should leave it unchanged. It should be a fixed point of the map.
  2. Axiom of Transformation (A2): If you transform a network such that no edge weight increases (a "dissimilarity-reducing map"), the distances in the projected metric space should also not increase.
Fig. 1: Axiom of Projection. The q-metric space Mq is an invariant set of the projection map Pq.

They define a canonical $q$-metric projection where the distance between two nodes is the minimum $q$-norm of the edge weights along any path connecting them. Crucially, they prove a Uniqueness Theorem: this canonical method is the only one that satisfies both axioms for any given $q \in [1, \infty]$.

Datasets

The paper is primarily theoretical, but the authors validate their findings using synthetic experiments:

  • Search Complexity: Points were embedded in a 2D square area using Euclidean distances to compare exhaustive search against metric-tree search as the number of nodes ($n$) scaled up to $10^6$.
  • Robustness to Noise: They generated metric spaces by embedding 1,000 points in $\mathbb{R}^{100}$, then created "non-metric" versions by randomly perturbing edge weights. This was used to test how well metric projections recover the true nearest neighbor in noisy data.

Key Insights and Ideas

  • A Unified Spectrum: The framework elegantly unifies disparate concepts. When $q=1$, the projection yields standard shortest paths. When $q=\infty$, it yields ultrametrics, which are the basis for single-linkage hierarchical clustering.
  • Optimality for Bounds: For many NP-hard problems (like the Traveling Salesman Problem or Minimum Bisection), the canonical projection is the "best" way to get a lower bound. It provides the tightest possible bound among all projections that don't increase edge weights.
  • Nestedness: The projections are consistent across different levels of structure. You can project a network to a "laxer" metric space ($q=1$) and then to a "stricter" one ($q=2$) and get the same result as projecting directly to the stricter space.
Fig. 5: The canonical projection of a network in N onto Mq′ (blue) is invariant to intermediate canonical projections onto spaces Mq (red) for q ≤q′.
  • The $q$ Trade-off: Increasing $q$ makes the resulting space more structured (easier to search) but also more distorted relative to the original network. This gives practitioners a "knob" to tune the balance between computational speed and accuracy.

Key Results

  • Search Speedup: In metric spaces of $10^6$ nodes, the metric tree search required only ~500 comparisons, compared to 1,000,000 for an exhaustive search—a massive efficiency gain.
  • Search Accuracy: When searching non-metric, noisy networks, projecting to a metric space first (using $P^*_1$) consistently outperformed searching the raw noisy network. For a perturbation probability of 0.6, the metric projection found neighbors in the top 0.5% of candidates, significantly better than the raw network search.
  • Computational Gain via $q$: By projecting to higher $q$-metric spaces (e.g., $q=3$), the number of comparisons needed for search was halved compared to standard metric spaces ($q=1$), though at the cost of some accuracy.

Limitations and Future Work

  • Symmetry Assumption: The current work focuses on undirected networks where distances are symmetric. The authors note that extending this axiomatic framework to directed networks (asymmetric distances) is a key area for future research.
  • Parameter Selection: While the paper proves the uniqueness of the projection for a given $q$, it does not provide an automated way to choose the "optimal" $q$ for a specific application; this remains a task for the practitioner.

Summary updated

BibTeX
@inproceedings{segarra2020metric,
  author = {Santiago Segarra and Gunnar Carlsson and Facundo Memoli and Alejandro Ribeiro},
  title = {{Metric Representations of Network Data}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9054190},
}
Figure