Table of Contents
Fetching ...

Frequent subgraph-based persistent homology for graph classification

Xinyang Chen, Amaël Broustet, Guanyuan Zeng, Cheng He, Guoting Chen

TL;DR

This work introduces Frequent Subgraph Filtration (FSF), a dataset-driven topological filtration built from frequent subgraph patterns, to enrich persistent homology features for graph classification. It proves key properties such as a PH-dimension bound tied to the pattern size, monotonic filtration, and isomorphism invariance, and integrates FSF into two classification pipelines: FPH-ML and FPH-GNN. Empirical results show FSF-based methods outperform kernel-based, PH-based, and many GNN baselines on multiple benchmarks, with robust performance under perturbations and scalable options via budget-controlled FSM. By bridging frequent subgraph mining (FSM) and topological data analysis (TDA), the approach yields global, high-order topology aware representations that enhance both traditional ML and deep learning on graphs, albeit with recognized computational trade-offs that can be mitigated with approximate or budgeted FSM.

Abstract

Persistent homology (PH) has recently emerged as a powerful tool for extracting topological features. Integrating PH into machine learning and deep learning models enhances topology awareness and interpretability. However, most PH methods on graphs rely on a limited set of filtrations, such as degree-based or weight-based filtrations, which overlook richer features like recurring information across the dataset and thus restrict expressive power. In this work, we propose a novel graph filtration called Frequent Subgraph Filtration (FSF), which is derived from frequent subgraphs and produces stable and information-rich frequency-based persistent homology (FPH) features. We study the theoretical properties of FSF and provide both proofs and experimental validation. Beyond persistent homology itself, we introduce two approaches for graph classification: an FPH-based machine learning model (FPH-ML) and a hybrid framework that integrates FPH with graph neural networks (FPH-GNNs) to enhance topology-aware graph representation learning. Our frameworks bridge frequent subgraph mining and topological data analysis, offering a new perspective on topology-aware feature extraction. Experimental results show that FPH-ML achieves competitive or superior accuracy compared with kernel-based and degree-based filtration methods. When integrated into graph neural networks, FPH yields relative performance gains ranging from 0.4 to 21 percent, with improvements of up to 8.2 percentage points over GCN and GIN backbones across benchmarks.

Frequent subgraph-based persistent homology for graph classification

TL;DR

This work introduces Frequent Subgraph Filtration (FSF), a dataset-driven topological filtration built from frequent subgraph patterns, to enrich persistent homology features for graph classification. It proves key properties such as a PH-dimension bound tied to the pattern size, monotonic filtration, and isomorphism invariance, and integrates FSF into two classification pipelines: FPH-ML and FPH-GNN. Empirical results show FSF-based methods outperform kernel-based, PH-based, and many GNN baselines on multiple benchmarks, with robust performance under perturbations and scalable options via budget-controlled FSM. By bridging frequent subgraph mining (FSM) and topological data analysis (TDA), the approach yields global, high-order topology aware representations that enhance both traditional ML and deep learning on graphs, albeit with recognized computational trade-offs that can be mitigated with approximate or budgeted FSM.

Abstract

Persistent homology (PH) has recently emerged as a powerful tool for extracting topological features. Integrating PH into machine learning and deep learning models enhances topology awareness and interpretability. However, most PH methods on graphs rely on a limited set of filtrations, such as degree-based or weight-based filtrations, which overlook richer features like recurring information across the dataset and thus restrict expressive power. In this work, we propose a novel graph filtration called Frequent Subgraph Filtration (FSF), which is derived from frequent subgraphs and produces stable and information-rich frequency-based persistent homology (FPH) features. We study the theoretical properties of FSF and provide both proofs and experimental validation. Beyond persistent homology itself, we introduce two approaches for graph classification: an FPH-based machine learning model (FPH-ML) and a hybrid framework that integrates FPH with graph neural networks (FPH-GNNs) to enhance topology-aware graph representation learning. Our frameworks bridge frequent subgraph mining and topological data analysis, offering a new perspective on topology-aware feature extraction. Experimental results show that FPH-ML achieves competitive or superior accuracy compared with kernel-based and degree-based filtration methods. When integrated into graph neural networks, FPH yields relative performance gains ranging from 0.4 to 21 percent, with improvements of up to 8.2 percentage points over GCN and GIN backbones across benchmarks.
Paper Structure (16 sections, 3 theorems, 28 equations, 10 figures, 10 tables)

This paper contains 16 sections, 3 theorems, 28 equations, 10 figures, 10 tables.

Key Result

Proposition 4.2

Let $\{\mathcal{K}_t\}_{t \in \mathbb{R}_+}$ be a k-FSF on a graph $G$. Then the maximum dimension $\mathrm{maxD}$ in which persistent homology can be nontrivial is bounded by: Moreover, for $t_1 \leq t_2$, the persistent map $H_{k-1}(\mathcal{K}_{t_1}) \to H_{k-1}(\mathcal{K}_{t_2})$ is injective.

Figures (10)

  • Figure 1: Example of filtration.
  • Figure 2: Example of persistence diagram.
  • Figure 3: k-FSF construction.
  • Figure 4: Example of k-FSF.
  • Figure 5: Example of non-vanishing.
  • ...and 5 more figures

Theorems & Definitions (16)

  • Definition 3.1: MNI-Frequent Subgraph
  • Definition 3.2: Simplicial complex
  • Definition 3.3: $k$-Chain Group
  • Definition 3.4: Boundary Operator
  • Definition 3.5: Chain Complex
  • Definition 3.6: $k$-Boundary Group
  • Definition 3.7: $k$-Cycle Group
  • Definition 3.8: Homology Group
  • Definition 3.9: Filtration Sequence
  • Definition 3.10: Persistent Homology
  • ...and 6 more