Towards Understanding Graph Neural Networks: An Algorithm Unrolling Perspective

Zepeng Zhang, Ziping ZhaoarXiv 2022

Abstract

The graph neural network (GNN) has demonstrated its superior performance in various applications. The working mechanism behind it, however, remains mysterious. GNN models are designed to learn effective representations for graph-structured data, which intrinsically coincides with the principle of graph signal denoising (GSD). Algorithm unrolling, a "learning to optimize" technique, has gained increasing attention due to its prospects in building efficient and interpretable neural network architectures. In this paper, we introduce a class of unrolled networks built based on truncated optimization algorithms (e.g., gradient descent and proximal gradient descent) for GSD problems. They are shown to be tightly connected to many popular GNN models in that the forward propagations in these GNNs are in fact unrolled networks serving specific GSDs. Besides, the training process of a GNN model can be seen as solving a bilevel optimization problem with a GSD problem at the lower level. Such a connection brings a fresh view of GNNs, as we could try to understand their practical capabilities from their GSD counterparts, and it can also motivate designing new GNN models. Based on the algorithm unrolling perspective, an expressive model named UGDGNN, i.e., unrolled gradient descent GNN, is further proposed which inherits appealing theoretical properties. Extensive numerical simulations on seven benchmark datasets demonstrate that UGDGNN can achieve superior or competitive performance over the state-of-the-art models.

Introduction

Despite their widespread adoption, Graph Neural Networks (GNNs) are often treated as "black boxes." While researchers have attempted to explain their success through concepts like Laplacian smoothing, these theories are often "myopic," focusing on single layers or specific aggregation steps in isolation. This ignores the holistic interaction between multiple layers and feature transformations in deep architectures.

This paper addresses this gap by framing GNNs through the lens of Algorithm Unrolling. By bridging deep learning with classical optimization, the authors demonstrate that the forward propagation of many popular GNNs is equivalent to solving a Graph Signal Denoising (GSD) problem. This perspective demystifies the role of non-linearities and weight matrices, providing a unified framework for understanding and designing GNNs.

The GNN-GSD Connection

The core of this research is the realization that training a GNN is equivalent to solving a bilevel optimization problem. The "upper" level minimizes a supervised loss, while the "lower" level is an unrolled optimization algorithm solving a GSD task. GSD aims to recover a "clean" signal by balancing fidelity to the input data with smoothness across the graph structure.

Table 1: Correspondence between popular GNN models and their underlying Graph Signal Denoising (GSD) objectives.

As shown in Table 1, many standard GNN architectures can be mapped directly to specific GSD objectives and optimization algorithms:

  • SGC and APPNP correspond to unrolled Gradient Descent (GD) for linear GSD.
  • GCN and GCNII are interpreted as unrolled Proximal Gradient Descent (ProxGD). In this context, the ReLU activation function is not just a heuristic but acts as a proximity operator enforcing non-negativity constraints on the denoised signal.
  • AirGNN is linked to GSD objectives using $L_{2,1}$ norms for robustness.

UGDGNN: Unrolled Gradient Descent GNN

Building on these insights, the authors propose UGDGNN, a model designed to maximize flexibility by "untying" the parameters of the unrolled optimization. Unlike models like APPNP that share weights across layers, UGDGNN allows for layer-specific learnable parameters.

Theoretical analysis shows that a $K$-layer UGDGNN possesses high spectral expressivity, meaning it can represent any polynomial frequency filter of order $K$. This allows the model to adapt to both low-frequency (smooth) and high-frequency (sharp) graph signals, overcoming the fixed low-pass filtering limitations of earlier models like GCN.

Experimental Results

The researchers evaluated UGDGNN against state-of-the-art models on seven benchmark datasets, including citation networks (Cora, CiteSeer, PubMed), co-authorship/co-purchase graphs, and the large-scale OGBN-ArXiv dataset.

Key findings include:

  • Superior Performance: UGDGNN achieved top-tier results across all benchmarks. For instance, it reached 84.15% accuracy on Cora, outperforming the standard GCN (83.24%).
  • Depth Benefits: Increasing the number of layers (typically between 4 and 10) generally improved performance, validating the holistic multi-layer optimization approach.
  • Parameter Flexibility: The empirical success of GPRGNN and UGDGNN over weight-tied models like APPNP supports the claim that generalized, unrolled optimizations are more effective for complex graph data.

Conclusion

By viewing GNNs as unrolled optimization algorithms, this work provides a rigorous foundation for understanding their internal mechanisms. The interpretation of ReLU as a proximity operator and weight matrices as gradients of GSD objectives offers a clear path for future architectural innovations. Future research may explore unrolling more complex algorithms, such as Newton’s method or ADMM, to further enhance the power and interpretability of graph-based learning.

Summary updated

BibTeX
@misc{zhang2022towards,
  author = {Zepeng Zhang and Ziping Zhao},
  title = {{Towards Understanding Graph Neural Networks: An Algorithm Unrolling Perspective}},
  year = {2022},
  eprint = {2206.04471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.04471},
}
Figure