cs.LGNov 4, 2025

Graph Homomorphism Distortion: A structural (pseudo)-metric for attributed graphs

Authors: Martin Carrasco, Olga Zaghen, Kavir Sumaraj, Erik Bekkers, Bastian Rieck

Organizations: AIDOS Group, University of Fribourg, Fribourg, Switzerland · AMLAB, University of Amsterdam, Amsterdam, Netherland

Abstract

A large driver of the complexity of graph learning is the interplay between structure and features. When analyzing the expressivity of graph neural networks, however, existing approaches ignore features in favor of structure, making it nigh-impossible to assess to what extent two graphs with close features should be considered similar. We address this by developing a new (pseudo-)metric based on graph homomorphisms Inspired by concepts from metric geometry, our graph homomorphism distortion measures the minimal worst-case distortion that node features of one graph are subjected to when mapping one graph to another. We demonstrate the utility of our (pseudo-)metric by showing that i.) it can be efficiently approximated while retaining distinction capabilities, ii.) it provides a granular approach to graph distinction, and, iii.) it serves as a structural encoding, extending the concept of homomorphism-based descriptors to attributed graphs, thus improving the predictive capabilities of graph neural networks.

Explore similar work

CardsList
  1. Distance-Preserving Embeddings in Inhomogeneous Random Graphs

    Jul 11, 2026My Le, Luana Ruiz, Souvik DharaGraph Neural NetworksGraph Embedding

  2. Diffusion enabled Optimal Transport distances for graph matching

    Jul 7, 2026Iman Seyedi, Francesco ArchettiGraph MatchingWasserstein Distance

  3. Towards Metric-Faithful Neural Graph Matching

    May 7, 2026Jyotirmaya Shivottam, Subhankar MishraGraph Neural NetworksNeural Representation Geometry