Standard Graph Neural Networks (GNNs) are built on a principle of anonymity: every node is treated the same way based only on its features and its neighbors. While this makes GNNs permutation-invariant and efficient, it creates a "glass ceiling" for their intelligence. Because they rely on message passing that mimics the 1-dimensional Weisfeiler-Lehman (1-WL) isomorphism test, they are fundamentally unable to distinguish between certain graph structures that look identical from a local perspective.
To break through this ceiling, researchers have converged on a powerful mechanism: Node Individualization. By "marking" or "labeling" specific nodes with unique identifiers before message passing begins, we can break the structural symmetries that blind standard GNNs.
The Symmetry Problem in Message Passing
In a standard GNN, if two nodes have the same local neighborhood structure, they will receive the same messages and end up with identical representations. This is a feature for node classification, but a bug for almost everything else.
As Muhan Zhang and Pan Li point out in Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learning, this "anonymity" makes link prediction—the task of predicting a relationship between two specific nodes—notoriously difficult. If two potential edges connect nodes with identical local neighborhoods, a standard GNN cannot tell them apart.
Similarly, Beni Egressy and Roger Wattenhofer demonstrate in Graph Neural Networks with Precomputed Node Features that standard GNNs are "blind" to cycles and cliques in regular graphs. In a perfectly symmetric graph like a ring, every node sees the exact same environment, making it impossible for the network to count how many nodes are in the ring or detect specific subgraphs.
Breaking the Mirror with Labels
Node individualization works by assigning a unique "mark" to a node. Imagine a perfectly symmetric graph where every node is colored blue. A standard GNN sees only blue. If we "individualize" one node by painting it red, the symmetry is shattered. Now, other nodes can define themselves by their distance to the "red" node.
This simple act of marking transforms the network's expressive power:
- Relative Positioning: Nodes gain a sense of global location. Yuheng Lu and colleagues describe this as "Anchor Path Encoding" in Graph Inference Representation: Learning Graph Positional Embeddings with Anchor Path Encoding, where nodes are identified by their connectivity to specific reference points.
- Algorithmic Learning: Many classical algorithms, like Dijkstra's shortest path, require a starting point. Solveig Wittig and Yusu Wang prove in Which Algorithms Can Graph Neural Networks Learn? that node individualization is a necessary condition for GNNs to learn and generalize algorithmic logic like shortest paths or minimum spanning trees.
- Universal Approximation: By adding unique node IDs, a GNN can theoretically represent any graph function. Mohammad Fereydounian and Amin Karbasi show in What Functions Can Graph Neural Networks Generate? that this bypasses the algebraic constraints of permutation compatibility.
Theoretical Frameworks for Individualization
The research community has developed several ways to formalize this "marking" process.
Relational Pooling
Ryan L. Murphy and Bruno Ribeiro introduced Relational Pooling (RP) in Relational Pooling for Graph Representations. RP assigns unique IDs to all nodes (making them fully distinguishable) and then averages the model's output over all possible permutations of those IDs. This makes the model maximally expressive while maintaining the required permutation invariance.
Individualization and Refinement (IR)
Borrowing from classical graph isomorphism solvers, Mohammed Haroon Dupty and Wee Sun Lee propose Graph Representation Learning with Individualization and Refinement. This approach iteratively assigns IDs to nodes and "refines" their representations through message passing, allowing the model to distinguish complex topological features that are invisible to the 1-WL test.
The $k,l$-WL Hierarchy
To bridge the gap between simple GNNs and expensive higher-order methods, Cai Zhou and Muhan Zhang developed the $k,l$-WL framework in From Relational Pooling to Subgraph GNNs: A Universal Framework for More Expressive Graph Neural Networks. This framework shows that labeling a subset of nodes is a computationally practical way to achieve the power of higher-order Weisfeiler-Lehman tests without the prohibitive cost of high-dimensional tensors.
Why Marking is Better than Removing
A common alternative to marking nodes is removing them to see how the graph breaks (subgraph GNNs). However, Pál András Papp and Roger Wattenhofer prove in A Theoretical Comparison of Graph Neural Network Extensions that marking is strictly more expressive than removing.
When you remove a node, you destroy the edges connected to it, losing structural information. When you mark a node, you preserve the entire graph topology while still providing the symmetry-breaking signal needed to distinguish complex structures. This preservation of connectivity is what allows models like Hierarchical Ego-GNNs (HE-GNNs), proposed by Arie Soeteman and Balder ten Cate in Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualization, to outperform state-of-the-art models on molecular benchmarks.