Testing Graph Isomorphism in Parallel by Playing a Game

Our starting point is the observation that if graphs in a class C have low descriptive complexity, then the isomorphism problem for C is solvable by a fast parallel algorithm. More precisely, we prove that if every graph in C is definable in a finite-variable first order logic with counting quantifiers within logarithmic quantifier depth, then Graph Isomorphism for C is in ${\rm TC^1}\subseteq\mbox{\rm NC\ensuremath{^{2}}}$. If no counting quantifiers are needed, then Graph Isomorphism for C is even in AC1. The definability conditions can be checked by designing a winning strategy for suitable Ehrenfeucht-Fraisse games with a logarithmic number of rounds. The parallel isomorphism algorithm this approach yields is a simple combinatorial algorithm known as the Weisfeiler-Lehman (WL) algorithm. Using this approach, we prove that isomorphism of graphs of bounded treewidth is testable in TC1, answering an open question from [9]. Furthermore, we obtain an AC1 algorithm for testing isomorphism of rotation systems (combinatorial specifications of graph embeddings). The AC1 upper bound was known before, but the fact that this bound can be achieved by the simple WL algorithm is new. Combined with other known results, it also yields a new AC1 isomorphism algorithm for planar graphs.

[1]  Jacobo Torán,et al.  Completeness results for graph isomorphism , 2003, J. Comput. Syst. Sci..

[2]  Steven Lindell A Logspace Algorithm for Tree Canonization , 1992 .

[3]  John E. Hopcroft,et al.  Linear time algorithm for isomorphism of planar graphs (Preliminary Report) , 1974, STOC '74.

[4]  Martin Grohe,et al.  Definability and Descriptive Complexity on Databases of Bounded Tree-Width , 1999, ICDT.

[5]  Sergei Evdokimov,et al.  On Highly Closed Cellular Algebras and Highly Closed Isomorphisms , 1998, Electron. J. Comb..

[6]  Hans L. Bodlaender,et al.  Polynomial Algorithms for Graph Isomorphism and Chromatic Index on Partial k-Trees , 1988, J. Algorithms.

[7]  Gary L. Miller,et al.  Isomorphism testing for graphs of bounded genus , 1980, STOC '80.

[8]  Oleg Verbitsky,et al.  How complex are random graphs in first order logic , 2005 .

[9]  Hans L. Boblaender Polynomial algorithms for graph isomorphism and chromatic index on partial k -trees , 1990 .

[10]  J. Spencer The Strange Logic of Random Graphs , 2001 .

[11]  Carsten Thomassen,et al.  Graphs on Surfaces , 2001, Johns Hopkins series in the mathematical sciences.

[12]  L. Babai Automorphism groups, isomorphism, reconstruction , 1996 .

[13]  Uwe Schöning Graph Isomorphism is in the Low Hierarchy , 1988, J. Comput. Syst. Sci..

[14]  Stefan Arnborg,et al.  Canonical representations of partial 2- and 3-trees , 1992, BIT.

[15]  Gary L. Miller,et al.  Parallel Tree Contraction, Part 2: Further Applications , 1991, SIAM J. Comput..

[16]  Martin Grohe,et al.  Fixed-point logics on planar graphs , 1998, Proceedings. Thirteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.98CB36226).

[17]  Stathis Zachos,et al.  Does co-NP Have Short Interactive Proofs? , 1987, Inf. Process. Lett..

[18]  Vijaya Ramachandran,et al.  Planarity Testing in Parallel , 1994, J. Comput. Syst. Sci..

[19]  Stefan Arnborg,et al.  Canonical Representation of Partial 2- and 3-Trees , 1990, SWAT.

[20]  Paul Erdös,et al.  Random Graph Isomorphism , 1980, SIAM J. Comput..

[21]  Neil Immerman,et al.  Descriptive Complexity , 1999, Graduate Texts in Computer Science.

[22]  David M. Mount,et al.  Isomorphism of graphs with bounded eigenvalue multiplicity , 1982, STOC '82.

[23]  Eugene M. Luks,et al.  Isomorphism of graphs of bounded valence can be tested in polynomial time , 1980, 21st Annual Symposium on Foundations of Computer Science (sfcs 1980).

[24]  Marek Karpinski,et al.  On a New High Dimensional Weisfeiler-Lehman Algorithm , 1999 .

[25]  Reinhard Diestel,et al.  Graph Theory , 1997 .

[26]  H. Bodlaender Polynomial algorithms for chromatic index and graph isomorphism on partial k-trees , 1987 .

[27]  Alfred V. Aho,et al.  The Design and Analysis of Computer Algorithms , 1974 .

[28]  László Babai,et al.  Canonical labeling of graphs , 1983, STOC.

[29]  N. Chandrasekharan,et al.  Isomorphism Testing of k-Trees is in NC, for Fixed k , 1990, Inf. Process. Lett..

[30]  Joel H. Spencer,et al.  Succinct definitions in the first order theory of graphs , 2006, Ann. Pure Appl. Log..

[31]  Helmut Veith,et al.  The first order definability of graphs: Upper bounds for quantifier depth , 2006, Discret. Appl. Math..

[32]  Steven Lindell A logspace algorithm for tree canonization (extended abstract) , 1992, STOC '92.

[33]  László Babai,et al.  Moderately Exponential Bound for Graph Isomorphism , 1981, FCT.

[34]  I. S. Filotti,et al.  A polynomial-time algorithm for determining the isomorphism of graphs of fixed genus , 1980, STOC '80.

[35]  Oleg Verbitsky The first order definability of graphs with separators via the Ehrenfeucht game , 2005, Theor. Comput. Sci..

[36]  Richard M. Karp,et al.  Parallel Algorithms for Shared-Memory Machines , 1991, Handbook of Theoretical Computer Science, Volume A: Algorithms and Complexity.

[37]  Martin Grohe,et al.  Isomorphism testing for embeddable graphs through definability , 2000, STOC '00.

[38]  Alan M. Frieze,et al.  First-Order Definability of Trees and Sparse Random Graphs , 2007, Comb. Probab. Comput..

[39]  Jacobo Torán,et al.  On the hardness of graph isomorphism , 2000, Proceedings 41st Annual Symposium on Foundations of Computer Science.

[40]  Joel H. Spencer,et al.  How complex are random graphs in first order logic? , 2005, Random Struct. Algorithms.

[41]  R. Sridhar,et al.  Fast Parallel Reordering and Isomorphism Testing of k -Trees , 2001, Algorithmica.

[42]  Paul D. Seymour,et al.  Graph Minors. II. Algorithmic Aspects of Tree-Width , 1986, J. Algorithms.

[43]  Neil Immerman,et al.  An optimal lower bound on the number of variables for graph identification , 1989, 30th Annual Symposium on Foundations of Computer Science.