Scaling Graph Similarity Learning with Graph Neural Networks
Abstract
Graph similarity computation is an important task in graph mining with many real-world applications, such as chemical compound analysis, program dependence comparison, and social network analysis. The problem is computationally challenging: Graph Edit Distance (GED) and Maximum Common Subgraph (MCS), which quantify the distance between graphs and identify their largest shared subgraph, respectively, are NP-hard to compute exactly. To address these computational challenges, Graph Neural Networks (GNNs) have been applied to this problem. However, existing GNN-based approaches have primarily focused on small-scale graph datasets, while scalability to larger scales remains underexplored. In this work, we propose FiLSim, a scalable GNN-based framework, and investigate whether a simplified GNN pipeline can maintain competitive performance on standard benchmarks while scaling to large graphs. We additionally propose a sequential graph-editing strategy to construct large-scale graph datasets with reliable GED labels to evaluate scalability. The proposed framework is evaluated on four benchmark datasets and four newly created large-scale datasets, demonstrating its effectiveness and scalability. FiLSim remains accurate on graphs with more than 150,000 nodes, where the baseline methods run out of memory or fail to learn, and scores all test pairs within seconds on a single GPU.
Create a lesson
Related papers
Universal Approximation by Equivariant Message-Passing Graph Neural Networks with a Bilinear Readout
Shared title terminology · Pingbing Ming, Han Wang
Dynamic State Estimation from Sparse PMUs via Physics-Informed Graph Neural Operators
Shared title terminology · Huy Hoang Le, Haoguang Wang, Christian Moya et al.
THETA: Heat Diffusion as a Structural Prior for Cross-Domain Transfer in Graph Foundation Models
Shared title terminology · Haonan Liu, Shuo Wang, Zhao Kang
Do Larger Fully Connected Neural Networks Generalize Better?
Shared title terminology · Mohammad Jalili Torkamani, Suhib Hamid, Moaz N. Ishag
Stein Guidance without Gradients: Discretization Uniform Diffusion Inference Time Scaling beyond Particle SMC
Shared title terminology · Youheng Zhu, Chenyang Wang, Minshuo Chen et al.
Coupling-Aware Reinforcement Learning for Co-Evolving Graph Games
Shared title terminology · Mina Kim, Guanghui Lan, Benoit Montreuil