arXiv:2611.06801cs.LGNov 2026

Manuscript Offprint

arXiv:2611.06801

Message-passing graph persistence

Jorge Luiz Franco, Arthur Queiroz Moura, Moacir Ponti, Amauri Souza

Abstract

Message-passing graph neural networks (GNNs) are limited in expressive power by the one-dimensional Weisfeiler–Leman test. Persistent homology (PH) provides topological descriptors that can complement GNN representations, but existing approaches typically compute persistence separately from the representation learning process. In this paper, we introduce Message-Passing Graph Persistence (MGP), a family of topological descriptors that incorporates message passing into graph filtrations. At each filtration step, node embeddings are updated using the current subgraph and associated with persistence events. These embeddings also determine the representatives of connected components during persistence computation. We prove that MGP is invariant under graph isomorphism and that it is strictly more expressive than the PH-based descriptors it extends. We evaluate MGP on an expressivity benchmark and on several graph classification and regression datasets. Experiments show that MGP outperforms other PH-based descriptors on most of these datasets.

1 Introduction

Over the past decade, graph neural networks (GNNs) (Gori et al., 2005; Bruna et al., 2014; Gilmer et al., 2017) have become the de facto approach for predictive tasks on graph-structured data. At each layer, typical GNNs sequentially combine local message-passing mechanisms, non-linear activation functions, and (possibly) pooling operations to obtain refined graph representations. Despite their empirical success, the expressive power of the most widely adopted GNNs is theoretically bounded by the one-dimensional Weisfeiler–Leman (1-WL) test (Weisfeiler and Lehman, 1968) for graph isomorphism (Xu et al., 2019; Morris et al., 2019). As a result, these models fail to distinguish even simple families of graphs (e.g., regular graphs) (Xu et al., 2019) or to decide basic graph properties (e.g., number of connected components) (Garg et al., 2020).

To overcome this limitation, topological data analysis (TDA), and in particular persistent homology (PH), offers a principled framework for extracting multi-scale topological features from data (Chazal and Michel, 2021; Coskunuzer and Akçora, 2024; Chen et al., 2021). PH tracks the appearance and disappearance of topological invariants across a filtration — a nested sequence of subspaces. The resulting information is encoded in a persistence diagram, which summarizes the lifespan of each feature as a multiset of birth–death pairs.

Several approaches (Immonen et al., 2023; Horn et al., 2022; Verma et al., 2024; Ji et al., 2025) have sought to integrate PH-based descriptors into graph learning models (e.g., GNNs and kernel methods) to improve expressivity and predictive performance. For instance, Horn et al. (2022) introduced TOGL, a general framework for integrating topological features derived from PH into

*Equal contribution. Correspondence to: jorge.luiz@usp.br

GNN layers. Immonen et al. (2023) analyzed the representational ability of color-based PH schemes, providing a complete characterization of the power of 0-dimensional PH methods. Building on this, they introduced RePHINE as a strictly more powerful descriptor for graph classification tasks. More recently, SpectRe (Ji et al., 2025) proposed enhancing RePHINE diagrams by augmenting them with spectral information, namely eigenvalues computed from graphs along a filtration.

Despite these advances, existing PH-based descriptors are computed in a stage that remains largely decoupled from the iterative representation learning process. Although filtration functions may be learned or derived from node features, the persistence computation itself does not dynamically interact with message passing across scales. In addition, standard GNN embeddings rely on local message passing over the full graph and do not explicitly leverage multi-scale information.

In this paper, we introduce Message-Passing Graph Persistence (MGP), a novel family of topological descriptors that embeds message-passing mechanisms directly into the PH filtration pipeline. At each filtration step, node embeddings are updated via a message-passing GNN layer, and these evolving “colors” (or embeddings) are attached to persistence events and govern the representative selected at component merges.

References (63)