NeurIPS 2026QuestionsPapersAreasAboutMarkdown

How Hard Is It for Message-Passing GNNs to Simulate One Weisfeiler-Lehman Color-Refinement Step?

Guanyu Cui, Yuhe Guo, Zhewei Wei, Hsin-Hao Su

NeurIPS page · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Graph Neural Network Signal Propagation · Type: theory · Keywords: graph neural networks, Weisfeiler-Lehman color refinement, message passing, resource complexity, randomness in GNNs, depth-message trade-off

Areas: Graph Learning › Graph Analysis Methods › Graph Representation Learning

Summary

The paper quantifies the resource cost (depth, message size, randomness) needed for message-passing graph neural networks to simulate a single Weisfeiler-Lehman color-refinement step, distinguishing oblivious and instance-dependent settings.

Explained to a 5-year-old

We want to know how hard it is for a kind of computer brain that works on pictures of networks (graphs) to copy a simple coloring rule used by a puzzle. The brain can use small notes and random guesses. Sometimes it needs many layers or big notes, sometimes it can do it in one step if it has enough random bits. The puzzle also shows that if the brain can look at each graph individually, it can be faster, but finding the right way is tricky. The results tell us why some graph brains are limited and how they can be improved.

Explained to a 5-year-old, longer

Imagine a puzzle where you color the nodes of a picture made of connected dots, and you want to copy how a known coloring method works. A computer brain that reads these pictures can try to do the same coloring, but it has to use small notes and maybe some random guesses. The puzzle asks how many layers of thinking and how big those notes need to be for the brain to succeed. If the brain must decide its notes before seeing the picture (oblivious), it often cannot solve the hardest puzzles with just a few layers. If the brain can use some randomness that is allowed to be a little wrong, it can sometimes do the job with just one layer, but only if it has enough random bits. When the set of colors is large, a single layer with logarithmic-size notes and a logarithmic number of random bits is enough. When the color set is small, the brain needs either more layers or larger notes, and there is a trade-off between them that cannot be avoided. If the brain can tailor its notes to each specific picture (instance-dependent), it can be much shallower, but finding the right notes is not easy. Together, these findings explain why some graph brains are limited and how they can be improved.

For a technical reader

The work establishes rigorous bounds on the depth, message size, and randomness required for graph neural networks to emulate a single WL refinement step. It distinguishes between oblivious and instance-dependent regimes, showing that deterministic and zero-error randomized models need deep or large-message networks, while bounded-error randomness can achieve a one-layer solution with logarithmic resources for large color sets. For small color sets, a depth-message trade-off is unavoidable, and instance-dependent simulation can be shallower but requires hard-to-find parameters.

Problem

Understanding how many layers, message size, and randomness are required for graph neural networks to emulate a single step of the Weisfeiler-Lehman color-refinement algorithm under bounded resources.

Method

The authors analyze both oblivious (input-independent) and instance-dependent simulation regimes, establishing lower bounds for deterministic and zero-error randomized models, and providing constructions using bounded-error randomness, logarithmic message size, and a logarithmic number of random bits in a rooted, port-aware model. They also demonstrate trade-offs between depth and message size for small color sets.

Results

The results show that oblivious deterministic and zero-error randomized MPGNNs cannot simulate a WL step with shallow, small-message networks, while bounded-error randomness reduces the cost to a single layer with logarithmic messages and random bits for large color sets, and a depth-message trade-off is required for small color sets.

Contributions

The paper provides quantitative resource bounds for simulating WL color refinement with MPGNNs, distinguishes oblivious versus instance-dependent regimes, and reveals necessary trade-offs between network depth, message size, and randomness.

Limitations and assumptions

The analysis assumes unattributed graphs, bounded message size, finite precision, and distinguishes between oblivious and instance-dependent simulation regimes; some results rely on a stronger rooted, port-aware model.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction