Table of Contents
Fetching ...

Computational complexity of the Weisfeiler-Leman dimension

Moritz Lichter, Simon Raßmann, Pascal Schweitzer

TL;DR

The computational complexity of computing the Weisfeiler-Leman dimension is studied and it is shown that for the more restricted problem with graphs of color multiplicity at most 4, this problem is P-hard under logspace-uniform $\text{AC}_0$-reductions.

Abstract

The Weisfeiler-Leman dimension of a graph $G$ is the least number $k$ such that the $k$-dimensional Weisfeiler-Leman algorithm distinguishes $G$ from every other non-isomorphic graph. The dimension is a standard measure of the descriptive complexity of a graph and recently finds various applications in particular in the context of machine learning. In this paper, we study the computational complexity of computing the Weisfeiler-Leman dimension. We observe that in general the problem of deciding whether the Weisfeiler-Leman dimension of $G$ is at most $k$ is NP-hard. This is also true for the more restricted problem with graphs of color multiplicity at most 4. Therefore, we study parameterized versions of the problem. We give, for each fixed $k\geq 2$, a polynomial-time algorithm that decides whether the Weisfeiler-Leman dimension of a given graph of color multiplicity at most $5$ is at most $k$. Moreover, we show that for these color multiplicities this is optimal in the sense that this problem is P-hard under logspace-uniform $\text{AC}_0$-reductions. Furthermore, for each larger bound $c$ on the color classes and each fixed $k\geq 2$, we provide a polynomial-time decision algorithm for the abelian case, that is, for structures of which each color class has an abelian automorphism group. While the graph classes we consider may seem quite restrictive, graphs with $4$-bounded abelian colors include CFI-graphs and multipedes, which form the basis of almost all known hard instances and lower bounds related to the Weisfeiler-Leman algorithm.

Computational complexity of the Weisfeiler-Leman dimension

TL;DR

The computational complexity of computing the Weisfeiler-Leman dimension is studied and it is shown that for the more restricted problem with graphs of color multiplicity at most 4, this problem is P-hard under logspace-uniform -reductions.

Abstract

The Weisfeiler-Leman dimension of a graph is the least number such that the -dimensional Weisfeiler-Leman algorithm distinguishes from every other non-isomorphic graph. The dimension is a standard measure of the descriptive complexity of a graph and recently finds various applications in particular in the context of machine learning. In this paper, we study the computational complexity of computing the Weisfeiler-Leman dimension. We observe that in general the problem of deciding whether the Weisfeiler-Leman dimension of is at most is NP-hard. This is also true for the more restricted problem with graphs of color multiplicity at most 4. Therefore, we study parameterized versions of the problem. We give, for each fixed , a polynomial-time algorithm that decides whether the Weisfeiler-Leman dimension of a given graph of color multiplicity at most is at most . Moreover, we show that for these color multiplicities this is optimal in the sense that this problem is P-hard under logspace-uniform -reductions. Furthermore, for each larger bound on the color classes and each fixed , we provide a polynomial-time decision algorithm for the abelian case, that is, for structures of which each color class has an abelian automorphism group. While the graph classes we consider may seem quite restrictive, graphs with -bounded abelian colors include CFI-graphs and multipedes, which form the basis of almost all known hard instances and lower bounds related to the Weisfeiler-Leman algorithm.
Paper Structure (2 sections, 4 theorems, 3 equations)

This paper contains 2 sections, 4 theorems, 3 equations.

Key Result

Theorem 1

For every $k$, there is an algorithm that decides the k$\mathrm{WL}$$k$-$\mathrm{WL}$-identification problem for vertex- and edge-colored, directed graphs with $5$-bounded color classes in time $O_{k}(n^{O(k)})$. If such a graph $G$ is not identified by $\ifstrempty{k}{\mathrm{WL}}{k\text{-}\mathrm{

Theorems & Definitions (4)

  • Theorem 1: name=,restate=WLkIDccsFive
  • Theorem 2: restate=IdentificationAbelianColors, name=
  • Theorem 3: name=,restate=WLdimNPhard
  • Theorem 4: name=,restate=IdentificationPHard