NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Faster Isomorphism Test for Graphs of Small Degree

Martin Grohe, Daniel Neuen, Pascal SchweitzerSIAM Journal on Computing 2023

Abstract

This paper presents a major theoretical breakthrough in the Graph Isomorphism (GI) problem by providing a significantly faster algorithm for graphs with a maximum degree $d$. By combining classical recursive techniques with modern group-theoretic "local certificates," the authors achieve a running time of $n^{O((\log d)^c)}$, replacing the previous linear dependence on $d$ in the exponent with a polylogarithmic one.

Introduction

The Graph Isomorphism problem asks a simple question: given two graphs, are they structurally identical? While efficient algorithms exist for many graph classes, the general problem's exact complexity remains one of the great mysteries of computer science.

For decades, the benchmark for graphs where every vertex has at most $d$ neighbors was Luks’s 1982 algorithm, which runs in $n^{O(d/\log d)}$ time. While László Babai recently introduced a quasipolynomial time algorithm for all graphs, his method did not specifically optimize for the small-degree case. In fact, graphs with polylogarithmic degrees were a known "obstacle case" for Babai’s framework. This research fills that gap, proving that if the degree $d$ is small, we can distinguish graphs much faster than previously thought.

Methodology

The authors reach their result by reducing Graph Isomorphism to the String Isomorphism Problem—a more abstract version involving permutations acting on strings. Their approach relies on several sophisticated pillars:

  1. Almost $d$-ary Partition Sequences: The authors introduce a new way to break down the problem using a sequence of "invariant partitions." They require that at each step, the group of permutations acting on the parts is either very small (size $\le d$) or behaves in a "semi-regular" way.
  2. Group Theoretic Classification: They use the O’Nan-Scott Theorem to classify primitive permutation groups. They identify that the "hardest" groups to deal with are Johnson groups (which act on subsets of a set).
  3. Changing the Operation: A key technical contribution is an algorithm that can "change the operation" of a group. If a group doesn't naturally have a nice partition sequence, they transform the domain into a larger (but still manageable) one where such a sequence exists, preserving the underlying isomorphisms.
  4. Local Certificates and Iterative Processing: They adapt Babai’s recent "Local Certificates" routine. This divide-and-conquer strategy uses group theory to "certify" whether certain parts of the graph can be mapped to each other, effectively pruning the search space. Central to this is the iterative processing of orbits.
Algorithm 1: Orbit-by-Orbit processing

Key Insights

  • Johnson Groups as the Bottleneck: The authors show that the only real obstacles to a fast Luks-style reduction are Johnson groups. By specifically targeting how these groups act, they can bypass the combinatorial explosion that usually happens when $d$ increases.
  • The Power of Domain Expansion: A significant realization in the paper is that making the domain larger can simplify the problem. By moving from the original set of vertices to a set of "ordered tuples" or "cosets," the group action becomes more regular and susceptible to partitioning.
  • Refining Babai’s Tools: While Babai’s general algorithm is a "hammer" for all graphs, this paper shows that his tools (like the Unaffected Stabilizers Theorem) can be sharpened specifically for the constraints of small-degree graphs to get a much tighter bound.

Results

The primary result of this work is the Main Theorem: The Graph Isomorphism problem for graphs of maximum degree $d$ can be solved in $n^{O((\log d)^c)}$ time for an absolute constant $c$.

This represents an exponential speedup in the exponent. For a graph where $d = \log n$, the previous state-of-the-art algorithm took roughly $n^{O(\log n / \log \log n)}$ time. The new algorithm reduces this to $n^{O((\log \log n)^c)}$ time. Furthermore, these techniques yield improved isomorphism tests for relational structures and hypergraphs where the size of the edges is bounded.

Conclusion and Future Work

While this is a landmark in complexity theory, several questions remain. The paper proves the existence of an "absolute constant $c$," but does not explicitly calculate it. In many such theoretical breakthroughs, this constant can be quite large, meaning the algorithm might not be faster than simpler heuristics for "small" real-world graphs.

Additionally, the authors leave open whether Graph Isomorphism is Fixed-Parameter Tractable (FPT) when parameterized by the maximum degree $d$. Finally, like Babai’s quasipolynomial algorithm, this is currently a "Galactic Algorithm"—it is a theoretical milestone, but practical implementation remains a significant engineering challenge.

Summary updated

BibTeX
@article{grohe2023faster,
  author = {Martin Grohe and Daniel Neuen and Pascal Schweitzer},
  title = {{A Faster Isomorphism Test for Graphs of Small Degree}},
  journal = {SIAM Journal on Computing},
  year = {2023},
  doi = {10.1137/19m1245293},
}
Figure