bioRxivBioinformaticsPreprint
FASTiso: Fast Algorithm on Search state Tree for subgraph ISOmorphism in graphs of any size and density
Abstract
Subgraph isomorphism is a fundamental combinatorial problem that involves finding one or more occurrences of a pattern graph within a target graph. It arises in a wide range of application domains, including biology, chemistry, social network analysis, and pattern recognition. Although subgraph isomorphism is NP-complete in the general case, many exact algorithms allow it to be solved in practice on many instances. However, the increasing size and structural diversity of graph datasets continue to pose significant challenges in terms of robustness and scalability. In this article, we propose FASTiso, an exact subgraph isomorphism algorithm that emphasizes a strong consistency between the variable ordering strategy and the pruning rules used during search. This design enables a unified exploitation of structural information throughout the exploration process, leading to improved efficiency and stable performance across heterogeneous graph structures. An extensive experimental evaluation on widely used synthetic and real-world benchmarks shows that FASTiso consistently outperforms reference solvers such as VF3, VF3L, and RI, and achieves competitive performance compared to constraint programming-based approaches (Glasgow, PathLad+), while outperforming them on most datasets. The results further demonstrate that FASTiso remains highly efficient on small instances and scales well to large graphs, while maintaining a lower memory footprint than most evaluated solvers. The peak memory usage is 7.74 GB for FASTiso, 36.19 GB for PathLad+, over 500 GB for Glasgow, 9.62 GB for VF3/VF3L, and 4.31 GB for RI. FASTiso code is available at https://gitlab.info.uqam.ca/cbe/fastiso as a C++ implementation, a Python module, and an integration within an extended version of NetworkX. The implementations support simple graphs and multigraphs, directed or undirected, with labels on nodes, edges, or both.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Exact polynomial-time isomorphism testing in directed graphs through comparison of vertex signatures in Krylov subspaces.
Robert John O’Shea·bioRxiv·Jul 28, 2022
- Exact polynomial-time graph canonisation and isomorphism testing through comparison of ordered vertex eigenprojections
Robert John O’Shea·bioRxiv·Apr 14, 2022
- Parallel maximal common subgraphs with labels for molecular biology
Wilfried Agbeto, Camille Coti B, Vladimir Reinharz·Lecture notes in computer sciencePeer-reviewed·Jan 1, 2025
- DotMotif: An open-source tool for connectome subgraph isomorphism search and graph queries
Jordan Matelsky, Elizabeth P. Reilly, … William Gray-Roncal·Scientific ReportsPeer-reviewed·Jun 22, 2021
- Identifying Representative Network Motifs for Inferring Higher-order Structure of Biological Networks
Wang Tao, Yadong Wang, … Jin Chen·bioRxiv·Nov 1, 2018
- Fast Approximate IsoRank for Scalable Global Alignment of Biological Networks
Kapil Devkota, Anselm C. Blumer, … Lenore Cowen·Lecture notes in computer sciencePeer-reviewed·Jan 1, 2024