Abstract
This paper investigates the fundamental limits of Message-Passing Neural Networks (MPNNs) in transforming node features within a graph. While the structural expressiveness of MPNNs is often compared to the Weisfeiler-Leman test, their ability to compute complex numerical feature maps is less understood. By introducing a formal language called MPLang, we demonstrate that the standard, rigid architecture of MPNNs is surprisingly flexible. We prove that MPNNs can exactly express or closely approximate any feature transformation built from basic message-passing operations, provided the graphs have a bounded degree and features originate from a compact domain.
Introduction
In the field of Graph Neural Networks (GNNs), MPNNs are the primary architectural workhorse. They operate through a cycle of nodes "talking" to their neighbors, aggregating those messages, and updating their internal states. A core challenge in GNN theory is the perceived "rigidity" of these networks. A standard MPNN layer follows a strict sequence: linear transformation, neighbor aggregation, bias, and activation.
In contrast, a designer might theoretically want to combine these operations in any arbitrary order—such as summing neighbors twice before applying a non-linearity. This paper addresses a fundamental question: Does the specific, layered structure of an MPNN limit what it can compute compared to a more flexible language of graph operations?
The MPLang Framework
To evaluate this, the authors define Global Feature Map Transformers (GFMTs)—functions that take a graph and its node features to produce a new set of node features. They introduce MPLang as a formal yardstick for these transformers. MPLang allows for three basic operations that can be nested arbitrarily:
- Neighbor Summation ($\diamond$): Aggregating features over adjacent nodes.
- Activation Functions ($f$): Applying non-linearities.
- Affine Transformations: Scalar multiplication, addition, and constants.
Unlike MPNNs, MPLang does not enforce a layered structure. The researchers use mathematical induction and real analysis to determine if these flexible expressions can be "collapsed" into or simulated by the structured layers of a standard MPNN.
Key Theoretical Insights
The ReLU Advantage
The authors demonstrate that when using the Rectified Linear Unit (ReLU) activation function, MPNNs are remarkably robust. Because ReLU is idempotent and can be used to construct identity mappings (via the identity $x = \text{ReLU}(x) - \text{ReLU}(-x)$), any complex, nested MPLang expression can be converted into a multi-layer ReLU-MPNN without any loss of information.
Theorem 4.1 formally states that every feature transformation expressible in ReLU-MPLang is exactly expressible by a ReLU-MPNN, proving that the layered architecture does not impose a functional bottleneck.
The "Shifting" Trick for General Functions
For arbitrary continuous activation functions, the authors developed a method to simulate multiple operations using a single function. By "shifting" the input domain—for example, moving one function's input to a negative range and another to a positive range—they can stitch different behaviors into a single activation function. This allows a standard MPNN layer to mimic the more complex, non-layered structures found in MPLang.
Universal Approximation
Even when an MPNN cannot exactly match an MPLang expression, the paper proves a Density Property (Theorem 6.2). This indicates that on compact (bounded and closed) domains, a ReLU-MPNN can get arbitrarily close to any continuous feature transformation. This effectively establishes MPNNs as universal approximators for graph feature maps.
Constraints and Limitations
The proofs for these theorems rely on two critical assumptions:
- Bounded Degree: The graphs must have a maximum degree $p$. It remains an open question how these results scale to networks where the degree grows arbitrarily with the number of nodes.
- Compact Domains: Features must come from a bounded range to prevent functions from diverging, a standard requirement in approximation theory.
Additionally, the current version of MPLang focuses on summation as the primary aggregator. The authors note that it is not yet clear if MPNNs can express transformations based on the maximum of neighbor features, nor have they fully bridged these numerical results with higher-order logical operations like negation or counting.
Conclusion
This research provides a rigorous theoretical foundation for the expressive power of MPNNs. By showing that the rigid sequence of message-passing layers is functionally equivalent to a much more flexible language of operations, the authors reinforce the validity of the MPNN architecture as a universal tool for graph-based numerical transformations.
Summary updated