Abstract
Graph Neural Networks (GNNs) typically utilize simple linear (mean/sum) or max-pooling functions for neighborhood aggregation, which can constrain their expressive capacity. This work introduces three learnable nonlinear aggregation schemes—$L_p$-norm, Polynomial, and Softmax—that serve as a continuous bridge between mean and max operations. By incorporating these differentiable aggregators, GNNs can adaptively learn the optimal level of nonlinearity for a given dataset. Experimental results across multiple benchmarks demonstrate that these high-capacity aggregators lead to faster convergence, lower training loss, and superior node classification performance compared to standard linear baselines.
Introduction
The core mechanism of a Graph Neural Network (GNN) is the aggregation function, which defines how a node integrates information from its local neighborhood. Despite the diversity of GNN architectures, the choice of aggregator has remained largely static, typically alternating between linear averages (Mean/Sum) and extreme nonlinearity (Max). Linear aggregators are effective at capturing global neighborhood context but often require significant depth to achieve high expressivity, risking over-smoothing. Conversely, Max aggregators provide high nonlinearity but are "detail-blind," focusing only on the most prominent feature and discarding subtle contextual information.
This paper addresses this limitation by proposing a suite of nonlinear aggregators that allow GNNs to operate within the spectrum between mean and max, effectively increasing model capacity without necessitating deeper architectures.
Proposed Nonlinear Aggregators
The authors introduce three differentiable aggregation functions, each controlled by a learnable parameter that modulates the degree of nonlinearity.
1. $L_p$-norm Aggregation
Inspired by signal processing, the $L_p$-norm aggregator generalizes the sum operation. When the learnable parameter $p=1$, the function behaves as a weighted sum; as $p \to \infty$, it converges to a max aggregator. To handle negative feature values, the authors implement a shifting mechanism relative to the minimum element in the neighborhood feature matrix.
2. Polynomial Aggregation
This scheme utilizes a ratio of powered terms controlled by a parameter $\alpha$. At $\alpha=0$, the aggregator functions as a weighted mean. As $\alpha$ increases toward infinity, the function increasingly prioritizes the maximum value in the neighborhood.
3. Softmax Aggregation
Distinct from the standard softmax activation, this aggregator uses a scaled softmax function where a scale factor $\gamma$ determines the behavior. A value of $\gamma=0$ yields a simple mean, while larger values of $\gamma$ approximate an argmax operation, allowing the network to focus on specific high-signal neighbors.
Experimental Evaluation
The proposed aggregators were evaluated as drop-in replacements for standard functions in architectures like GCN, GAT, and Masked GCN across six benchmark datasets, including citation networks (Cora, Citeseer, Pubmed) and biological networks (PPI).
Convergence and Capacity
A primary advantage of nonlinear aggregation is the increase in network capacity. As shown in the training loss curves, GNNs equipped with these aggregators converge to a lower loss significantly faster than their linear counterparts.
Performance and Embedding Quality
The nonlinear variants consistently outperformed baselines. For instance, on the Cora dataset, the Softmax-aggregator version of GCN (GCN-$AGG_S$) improved accuracy from 81.2% to 83.1%. On the PPI dataset for inductive learning, the improvement was even more significant, reaching 98.70% accuracy.
Visual analysis via t-SNE embeddings further confirms the efficacy of these methods. The nonlinear aggregators produce tighter, more distinct clusters in the embedding space, indicating better feature discrimination.
Conclusion
By treating neighborhood aggregation as a continuous, learnable spectrum rather than a binary choice between mean and max, this work provides a robust framework for increasing GNN expressivity. The proposed $L_p$-norm, Polynomial, and Softmax aggregators allow models to find a "Goldilocks" zone of nonlinearity, leading to improved performance and faster training without the pitfalls of increased network depth.
Summary updated