Efficient Implementation of Color Coding Algorithm for Subgraph Isomorphism Problem
Josef Mal\'ik, Ond\v{r}ej Such\'y, Tom\'a\v{s} Valla

TL;DR
This paper presents an efficient implementation of the color coding algorithm for the subgraph isomorphism problem, reducing memory usage and enabling the handling of larger pattern graphs, while also enumerating all solutions.
Contribution
It introduces a memory-efficient implementation of the color coding algorithm that can handle larger pattern graphs and enumerate all subgraphs, surpassing previous limitations.
Findings
Outperforms existing solvers in handling larger pattern graphs.
Successfully enumerates all subgraphs isomorphic to the pattern.
Reduces memory requirements significantly compared to traditional implementations.
Abstract
We consider the subgraph isomorphism problem where, given two graphs G (source graph) and F (pattern graph), one is to decide whether there is a (not necessarily induced) subgraph of G isomorphic to F. While many practical heuristic algorithms have been developed for the problem, as pointed out by McCreesh et al. [JAIR 2018], for each of them there are rather small instances which they cannot cope. Therefore, developing an alternative approach that could possibly cope with these hard instances would be of interest. A seminal paper by Alon, Yuster and Zwick [J. ACM 1995] introduced the color coding approach to solve the problem, where the main part is a dynamic programming over color subsets and partial mappings. As with many exponential-time dynamic programming algorithms, the memory requirements constitute the main limiting factor for its usage. Because these requirements grow…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
