SAT-Based Algorithms for Regular Graph Pattern Matching
Miguel Terra-Neves, Jos\'e Amaral, Alexandre Lemos, Rui, Quintino, Pedro Resende, Antonio Alegria

TL;DR
This paper introduces a SAT-based algorithm for matching graphs against Regular Graph Patterns (ReGaP), enabling complex structural property checks beyond traditional graph isomorphism, with demonstrated efficiency on real-world benchmarks.
Contribution
It presents a novel SAT-based approach for ReGaP matching, allowing flexible pattern specifications and improved performance through preprocessing techniques.
Findings
Effective matching of complex graph patterns demonstrated.
Preprocessing significantly improves algorithm efficiency.
Validated on CodeSearchNet benchmarks.
Abstract
Graph matching is a fundamental problem in pattern recognition, with many applications such as software analysis and computational biology. One well-known type of graph matching problem is graph isomorphism, which consists of deciding if two graphs are identical. Despite its usefulness, the properties that one may check using graph isomorphism are rather limited, since it only allows strict equality checks between two graphs. For example, it does not allow one to check complex structural properties such as if the target graph is an arbitrary length sequence followed by an arbitrary size loop. We propose a generalization of graph isomorphism that allows one to check such properties through a declarative specification. This specification is given in the form of a Regular Graph Pattern (ReGaP), a special type of graph, inspired by regular expressions, that may contain wildcard nodes that…
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.
Taxonomy
TopicsNetwork Packet Processing and Optimization · Software Testing and Debugging Techniques · Graph Theory and Algorithms
