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

Metric Representations of Networks: A Uniqueness Result

Santiago Segarra, T. Mitchell Roddenberry, Facundo Mémoli, Alejandro Ribeiro · OpenReview

Abstract

In this paper, we consider the problem of projecting networks onto metric spaces. Networks are structures that encode relationships between pairs of elements or nodes. However, these relationships can be independent of each other, and need not be defined for every pair of nodes. This is in contrast to a metric space, which requires that a distance between every pair of elements in the space be defined. To understand how to project networks onto metric spaces, we take an axiomatic approach: we first state two axioms for projective maps from the set of all networks to the set of finite metric spaces, then show that only one projection satisfies these requirements. The developed technique is shown to be an effective method for finding approximate solutions to combinatorial optimization problems. Finally, we illustrate the use of metric trees for efficient search in projected networks.

Introduction

Networks (graphs) are ubiquitous in modeling complex systems, from protein interactions to social media. However, general networks often lack the "triangle inequality"—the fundamental metric property stating that the direct distance between two points is never greater than the sum of distances through an intermediate point. This absence makes many computational tasks, such as nearest-neighbor search or optimization, significantly more difficult.

The central challenge addressed in this work is how to map an arbitrary network onto a structured metric space in a mathematically rigorous and "fair" manner that preserves as much information as possible. By establishing a bridge between "messy" network data and structured metric spaces, we can leverage efficient geometric algorithms for network analysis.

Methods: An Axiomatic Approach

Rather than proposing an ad-hoc algorithm, we define two intuitive properties that any robust projection $\mathcal{P}_q$ from the set of networks $\mathcal{N}$ to the set of metric spaces $\mathcal{M}_q$ should satisfy:

  1. Axiom of Projection: If a network is already a metric space, the projection should act as an identity map, leaving the network unchanged.
  2. Axiom of Transformation: If the "dissimilarity" (edge weights) between nodes in the original network is decreased, the resulting distances in the projected metric space should not increase.
The canonical projection $\mathcal{P}_q$ maps the set of all networks $\mathcal{N}$ onto the subset of $q$-metric spaces $\mathcal{M}_q$.

We prove that these two axioms lead to a unique canonical projection. This projection is defined by finding paths between nodes that minimize the $q$-norm of the edge weights. To validate these theoretical results, we utilized synthetic datasets embedded in $\mathbb{R}^2$ and $\mathbb{R}^{100}$, as well as perturbed networks where triangle inequalities were intentionally violated by increasing edge weights.

Key Insights and Results

The canonical projection reveals a unified mathematical framework for several classical concepts.

The Unified Spectrum

The parameter $q$ allows for a spectrum of metric representations. When $q=1$, the projection corresponds exactly to the shortest path distance. As $q \to \infty$, the projection converges to single-linkage hierarchical clustering. This unification shows that these seemingly disparate methods are actually endpoints of the same axiomatic family.

Nestedness and Hierarchical Structure

A critical property of these projections is their "nested" nature. A projection into a "stricter" metric space (higher $q$) can be achieved by first projecting into a "looser" space (lower $q$) and then further refining it.

The nested structure of metric spaces $\mathcal{M}_{q'} \subset \mathcal{M}_q \subset \mathcal{N}$ and the corresponding commutative property of projections.

Performance and Search Efficiency

By projecting networks into metric spaces, we can utilize advanced data structures like Vantage Point Trees. In a network of 1,000,000 nodes, metric search required only ~500 comparisons, representing a 2000x speedup over exhaustive search. While increasing $q$ makes the metric space "stricter" and searches faster, it introduces a trade-off in accuracy. For instance, at $q=3$, search speed doubled compared to $q=1$, while the true nearest neighbor remained within the top 2% of results.

Limitations and Future Work

The current framework is limited to undirected graphs, assuming symmetric relationships between nodes. Extending these axioms to directed networks is a primary avenue for future research. Additionally, while the resulting metric spaces enable fast searching, the initial computation of the canonical projection (e.g., all-pairs shortest paths) can be intensive for massive, dense graphs. Developing efficient approximations for the projection itself remains an open challenge.

Summary updated

BibTeX
@inproceedings{segarra2020metric,
  author = {Santiago Segarra and T. Mitchell Roddenberry and Facundo Mémoli and Alejandro Ribeiro},
  title = {{Metric Representations of Networks: A Uniqueness Result}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9054190},
}
Figure