Abstract
Theoretical results from discrete geometry suggest that normed spaces can abstractly embed finite metric spaces with surprisingly low theoretical bounds on distortion in low dimensions. In this paper, inspired by this theoretical insight, we highlight normed spaces as a more flexible and computationally efficient alternative to several popular Riemannian manifolds for learning graph embeddings. Normed space embeddings significantly outperform several popular manifolds on a large range of synthetic and real-world graph reconstruction benchmark datasets while requiring significantly fewer computational resources. We also empirically verify the superiority of normed space embeddings on growing families of graphs associated with negative, zero, and positive curvature, further reinforcing the flexibility of normed spaces in capturing diverse graph structures as graph sizes increase. Lastly, we demonstrate the utility of normed space embeddings on two applied graph embedding tasks, namely, link prediction and recommender systems. Our work highlights the potential of normed spaces for geometric graph representation learning, raises new research questions, and offers a valuable tool for experimental mathematics in the field of finite metric space embeddings. We make our code and data publically available.
Introduction
Graphs are fundamental structures in machine learning, representing everything from social networks to biological pathways. To analyze these structures, nodes are typically embedded into continuous mathematical spaces where distances reflect graph relationships. While Euclidean space is the standard, many graphs exhibit "non-Euclidean" geometries—such as the exponential expansion of trees—that are poorly captured by flat geometry. Consequently, recent research has focused on exotic Riemannian manifolds with specific curvatures, such as hyperbolic or Symmetric Positive Definite (SPD) spaces. However, these manifolds often impose a significant "math tax," requiring computationally expensive operations like eigendecompositions and transcendental functions.
Normed Spaces as a Flexible Alternative
This paper proposes normed spaces ($\mathbb{R}^d$ with a $p$-norm) as a computationally efficient and flexible alternative. Specifically, we investigate the $\ell_1$ (Manhattan) and $\ell_\infty$ (Chebyshev) norms. Unlike Riemannian manifolds, these spaces are "flat" but possess non-Euclidean distance metrics capable of mimicking various curvatures.
We utilize a global distance-based loss function, inspired by Multidimensional Scaling, optimized via the RADAM gradient descent algorithm. This approach minimizes the discrepancy between the graph's shortest-path distances and the distances in the embedding space.
Key Findings
1. Superiority of $\ell_\infty$ for Hierarchies
A surprising result is the efficacy of the $\ell_\infty$ norm in embedding tree structures. While hyperbolic space is traditionally favored for hierarchies, $\ell_\infty$ often matches or exceeds its performance with significantly lower computational overhead.
2. Geometric Flexibility
Normed spaces act as "geometric chameleons." While hyperbolic manifolds are restricted to negative curvature, normed spaces adapt to graphs with negative (trees), zero (grids), and even positive (spherical-like) curvatures.
3. Computational Efficiency
Normed spaces avoid the complex operations required by manifolds like SPD spaces. For instance, training on a tree of height 6 was approximately six times faster in normed spaces compared to SPD spaces—a 6x speedup.
Results and Discussion
In synthetic reconstruction tasks, $\ell_\infty$ consistently achieved the lowest average distortion. In applied tasks like link prediction on the Cora dataset, $\ell_1$ outperformed Euclidean and hyperbolic baselines across multiple GNN architectures. Similarly, in recommendation tasks on LAST.FM and MEETUP, $\ell_1$ yielded the highest Hit Ratio (HR@10).
Conclusion
Our work demonstrates that simple normed spaces are powerful tools for geometric graph representation learning. They offer a compelling balance of theoretical grounding, empirical performance, and computational efficiency, suggesting that researchers should consider these "simpler" norms before resorting to complex Riemannian manifolds.
Summary updated