Introduction
The Graph Isomorphism (GI) problem—determining whether two graphs are structurally identical—remains a fundamental challenge in theoretical computer science. For decades, the Weisfeiler-Leman (WL) hierarchy has served as the primary combinatorial tool for addressing this problem. While the $k$-dimensional WL algorithm ($k$-WL) is remarkably powerful, it possesses a known "blind spot": for any fixed $k$, there exist non-isomorphic graphs, such as Cai-Fürer-Immerman (CFI) graphs, that $k$-WL cannot distinguish.
This paper, "Deep Weisfeiler Leman" by Grohe, Schweitzer, and Wiebking, introduces a novel algorithmic framework that significantly extends the power of combinatorial graph testing and establishes a deep connection with high-level logic.
The DeepWL Framework
Deep Weisfeiler Leman (DeepWL) is an adaptive, "surgical" extension of the standard WL algorithm. Unlike $k$-WL, which considers all $k$-tuples of vertices simultaneously, DeepWL operates on a "cloud" model. This model is essentially a Turing machine with access to a storage device that maintains a "coherently colored structure"—a generalization of a graph where vertices and edges are assigned colors to represent relational information.
The framework utilizes several adaptive operations to refine these structures:
addPair(X): Creates new elements representing pairs of existing elements within a specific color class.contract(X): Collapses strongly connected components of a relation into single elements.create(π): Defines new relations based on existing color classes.
Following each operation, the algorithm performs a standard 2-WL refinement to stabilize the colors. This nested approach allows DeepWL to explore high-dimensional relationships selectively, maintaining polynomial-time complexity while achieving greater "depth" than fixed-dimensional WL.
Logical Equivalence and Complexity
A primary contribution of this work is the formal link between DeepWL and descriptive complexity. The authors prove that polynomial-time DeepWL algorithms have the same expressive power as Choiceless Polynomial Time (CPT) logic. CPT was designed to capture "isomorphism-invariant" polynomial-time computations without relying on an arbitrary ordering of the input. By showing that DeepWL = CPT, the authors provide a concrete combinatorial interpretation of an abstract logic, bridging the gap between graph algorithms and finite model theory.
Key Results and Implications
The theoretical power of DeepWL is demonstrated through its ability to distinguish CFI graphs in polynomial time—a task impossible for $k$-WL for any fixed $k$. This result highlights the "surgical" nature of DeepWL; it builds complex, nested structures only where necessary to resolve symmetries that defeat brute-force dimensionality.
Furthermore, the paper addresses the relationship between isomorphism testing and graph canonization. The authors demonstrate that for any graph class closed under coloring, a polynomial-time DeepWL isomorphism test can be automatically transformed into a full graph canonization algorithm. This is a significant step toward the long-standing goal of finding a logic that perfectly captures Polynomial Time (PTIME) on all graphs.
Conclusion and Future Directions
DeepWL represents a major advancement in the study of graph isomorphism and descriptive complexity. While it matches the power of CPT logic and surpasses the $k$-WL hierarchy, it remains an open question whether DeepWL (or CPT) captures all of PTIME. There may still be graph properties decidable in polynomial time that are not expressible in this framework. Additionally, while the algorithms are theoretically polynomial, practical implementations for large-scale graphs would require optimizing the high exponents associated with general DeepWL operations. Future research will likely focus on these complexity gaps and the potential for more efficient, specialized versions of the framework.
Summary updated