Upper Bounds on the Quantifier Depth for Graph Differentiation in First Order Logic

We show that on graphs with n vertices the 2-dimensional Weisfei-ler-Leman algorithm requires at most O(n2/log(n)) iterations to reach stabilization. This in particular shows that the previously best, trivial upper bound of O(n2) is asymptotically not tight. In the logic setting this translates to the statement that if two graphs of size n can be distinguished by a formula in first order logic with counting with 3 variables (i.e., in C3) then they can also be distinguished by a C3-formula that has quantifier depth at most O (n2/log(n)).To prove the result we define a game between two players that enables us to decouple the causal dependencies between the processes happening simultaneously over several iterations of the algorithm. This allows us to treat large color classes and small color classes separately. As part of our proof we show that for graphs with bounded color class size, the number of iterations until stabilization is at most linear in the number of vertices. This also yields a corresponding statement in first order logic with counting.Similar results can be obtained for the respective logic without counting quantifiers, i.e., for the logic L3.

[1]  Martin Fürer,et al.  Weisfeiler-Lehman Refinement Requires at Least a Linear Number of Iterations , 2001, ICALP.

[2]  Markus Bläser,et al.  Fast Matrix Multiplication , 2013, Theory Comput..

[3]  Martin Otto,et al.  Bounded Variable Logics and Counting , 1997 .

[4]  Martin Schäf,et al.  Detecting Similar Programs via The Weisfeiler-Leman Graph Kernel , 2016, ICSR.

[5]  Brendan D. McKay,et al.  Practical graph isomorphism, II , 2013, J. Symb. Comput..

[6]  Petteri Kaski,et al.  Engineering an Efficient Canonical Labeling Tool for Large and Sparse Graphs , 2007, ALENEX.

[7]  Martin Grohe,et al.  Fixed-Point Definability and Polynomial Time on Graphs with Excluded Minors , 2010, 2010 25th Annual IEEE Symposium on Logic in Computer Science.

[8]  Kurt Mehlhorn,et al.  Problems of Unknown Complexity: Graph isomorphism and Ramsey theoretic numbers , 2009 .

[9]  E. Lander,et al.  Describing Graphs: A First-Order Approach to Graph Canonization , 1990 .

[10]  Paul S. Bonsma,et al.  Tight Lower and Upper Bounds for the Complexity of Canonical Colour Refinement , 2013, Theory of Computing Systems.

[11]  Pascal Schweitzer,et al.  Graphs Identified by Logics with Counting , 2015, MFCS.

[12]  Christoph Berkholz,et al.  Near-Optimal Lower Bounds on Quantifier Depth and Weisfeiler–Leman Refinement Steps , 2016, 2016 31st Annual ACM/IEEE Symposium on Logic in Computer Science (LICS).

[13]  P. Cameron Coherent configurations, association schemes and permutation groups , 2003 .

[14]  Oleg Verbitsky,et al.  From Invariants to Canonization in Parallel , 2006, CSR.

[15]  László Babai,et al.  Graph isomorphism in quasipolynomial time [extended abstract] , 2015, STOC.

[16]  Oleg Verbitsky,et al.  Logical complexity of graphs: a survey , 2010, AMS-ASL Joint Special Session.

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

[18]  M. Klin,et al.  Algebraic Combinatorics in Mathematical Chemistry. Methods and Algorithms. II. Program Implementation of the Weisfeiler-Leman Algorithm , 2010, 1002.1921.

[19]  Ludek Kucera,et al.  Canonical labeling of regular graphs in linear average time , 1987, 28th Annual Symposium on Foundations of Computer Science (sfcs 1987).

[20]  Christoph Berkholz The Propagation Depth of Local Consistency , 2014, CP.

[21]  R. Graham,et al.  Handbook of Combinatorics , 1995 .

[22]  Oleg Verbitsky,et al.  Testing Graph Isomorphism in Parallel by Playing a Game , 2006, ICALP.

[23]  Kurt Mehlhorn,et al.  Weisfeiler-Lehman Graph Kernels , 2011, J. Mach. Learn. Res..

[24]  Igor L. Markov,et al.  Exploiting structure in symmetry detection for CNF , 2004, Proceedings. 41st Design Automation Conference, 2004..

[25]  Kristian Kersting,et al.  Dimension Reduction via Colour Refinement , 2013, ESA.

[26]  Martin Otto,et al.  Bounded Variable Logics and Counting: A Study in Finite Models , 1997, Lecture Notes in Logic.

[27]  László Babai,et al.  Graph isomorphism in quasipolynomial time [extended abstract] , 2016, STOC.

[28]  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.

[29]  Maxime Crochemore,et al.  Partitioning a Graph in O(|A| log2 |V|) , 1982, Theoretical Computer Science.

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

[31]  Oleg Verbitsky,et al.  Universal Covers, Color Refinement, and Two-Variable Counting Logic: Lower Bounds for the Depth , 2014, 2015 30th Annual ACM/IEEE Symposium on Logic in Computer Science.