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

A Practical, Progressively-Expressive GNN

Lingxiao Zhao, Neil Shah, Leman Akoglu

Standard Graph Neural Networks (GNNs) often struggle to distinguish complex structural patterns, while theoretically "powerful" alternatives are too computationally expensive for real-world use. This paper introduces the $(k, c)(\le)$-SETGNN, a novel framework that allows researchers to "dial in" the desired level of expressivity and complexity. By doing so, it achieves state-of-the-art performance on molecular benchmarks while remaining practical for large-scale graphs.

The Expressivity Ceiling in GNNs

Most modern GNNs follow the Message Passing Neural Network (MPNN) paradigm. While highly efficient, MPNNs have a fundamental theoretical ceiling: they are at most as powerful as the 1-dimensional Weisfeiler-Leman (1-WL) graph isomorphism test. This means they cannot distinguish certain non-isomorphic graphs or count basic substructures like triangles and cycles—features that are critical in fields like chemistry and social network analysis.

To break this ceiling, researchers previously looked to the $k$-WL hierarchy, which considers groups of $k$ nodes. However, $k$-WL acts as a "coarse-grained ruler." Moving from 1-WL to 3-WL causes a combinatorial explosion in complexity ($O(n^k)$), making it unusable for most practical applications. The field has lacked a "fine-grained ruler" that can gradually increase expressivity without triggering immediate computational collapse.

Introducing the $(k, c)(\le)$-SETGNN

To address this tradeoff, the authors propose a new hierarchy called $(k, c)(\le)$-SETWL and its neural implementation, $(k, c)(\le)$-SETGNN.

Architecture of the (k, c)(\le)-SETGNN model showing the extraction of sets, super-graph construction, and bidirectional message passing.

Their approach relies on three key design choices to prune the search space and maintain efficiency:

  1. From Tuples to Sets: Instead of looking at ordered $k$-tuples of nodes (as standard $k$-WL does), the model looks at unordered $k$-sets. This simple shift immediately reduces the number of "supernodes" by a factor of $k!$.
  2. Accounting for Sparsity: This is the core innovation. In a sparse graph, most random sets of $k$ nodes are disconnected. The authors restrict the model to only consider sets of nodes that form at most $c$ connected components in the original graph. By setting a small $c$, they focus on the most "informative" local substructures and filter out disconnected "junk" data.
  3. Bipartite Message Passing: Instead of building a massive, dense graph of all $k$-sets, the authors design a super-graph consisting of a sequence of bipartite graphs. Messages pass bidirectionally between sets of size $m$ and sets of size $m-1$. This flow allows the model to learn rich representations of how nodes cluster together hierarchically.

Key Findings and Empirical Success

The model was evaluated on a mix of theoretical and real-world benchmarks, including simulation datasets (EXP, SR25), substructure counting tasks, and molecular datasets (ZINC-12K, QM9).

  • State-of-the-Art on ZINC: The model achieved a new SOTA Mean Absolute Error (MAE) of 0.0750 on the ZINC-12K dataset (using $k=5, c=2$), outperforming previous leading models like CIN and GIN-AK+.
  • Theoretical Validation: Unlike standard GNNs, $(k, c)(\le)$-SETGNN achieved 100% accuracy on the EXP and SR25 datasets, proving it can successfully handle complex structures that baffle standard 1-WL and 3-WL tests.
  • Unprecedented Scalability: While traditional $k$-WL methods struggle to scale beyond $k=3$, the authors successfully trained models with $k=10$ on commodity hardware by keeping $c$ small (e.g., $c=1$).
  • Progressive Expressivity: The results demonstrate a clear "aha moment" in the data. For instance, in a task designed to count 4-cycles, the model's error drops by orders of magnitude exactly when $k$ reaches 4. This confirms the model is learning the specific structural logic intended by the fine-grained parameters.

Limitations and Future Directions

While highly effective, the framework does introduce new complexities. The addition of $k$ and $c$ provides two powerful but sensitive hyperparameters; finding the optimal configuration for a new dataset requires more experimental overhead than a standard GNN. Furthermore, the model relies on a "BaseGNN" (like GIN) to initialize set features. If this base model is too weak, it might limit the initial "color" diversity of the supernodes. Finally, while the authors prove $(k, c)(\le)$-SETWL is more powerful than $(k-1)$-WL, establishing its exact theoretical equivalence to the full Folklore WL (FWL) hierarchy for all values of $c$ remains an open question for future theoretical work.

Summary updated

BibTeX
@inproceedings{zhao2022practical,
  author = {Lingxiao Zhao and Neil Shah and Leman Akoglu},
  title = {{A Practical, Progressively-Expressive GNN}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=zWSa0a_Qs4f},
}
Figure