A Magnetic Framelet-Based Convolutional Neural Network for Directed Graphs

Lequan Lin, Junbin Gao

Abstract

Spectral Graph Convolutional Networks (spectral GCNNs), a powerful tool for analyzing and processing graph data, typically apply frequency filtering via Fourier transform to obtain representations with selective information. Although research shows that spectral GCNNs can be enhanced by framelet-based filtering, the massive majority of such research only considers undirected graphs. In this paper, we introduce Framelet-MagNet, a magnetic framelet-based spectral GCNN for directed graphs (digraphs). The model applies the framelet transform to digraph signals to form a more sophisticated representation for filtering. Digraph framelets are constructed with the complex-valued magnetic Laplacian, simultaneously leading to signal processing in both real and complex domains. We empirically validate the predictive power of Framelet-MagNet over a range of state-of-the-art models in node classification, link prediction, and denoising.

Introduction

Most Graph Convolutional Neural Networks (GCNNs) are optimized for undirected graphs, where relationships are inherently symmetric. However, real-world data is frequently directed—examples include citation networks, web links, and traffic flow. In spectral GCNNs, the standard graph Laplacian used for convolutions is asymmetric for directed graphs, which complicates the use of traditional mathematical tools. While some approaches ignore direction to maintain symmetry, this results in the loss of critical structural information. Furthermore, standard spectral methods often rely on the Fourier transform, which captures global patterns but lacks the ability to resolve localized, multi-scale features.

Methods

Framelet-MagNet addresses these challenges by integrating the magnetic Laplacian with graph framelets.

The Magnetic Laplacian ($L^{(q)}$)

Instead of a real-valued matrix, the model utilizes a complex-valued Hermitian matrix known as the magnetic Laplacian. The real component encodes edge existence, while the imaginary component uses a tunable "electric charge" parameter ($q$) to represent directionality. Its Hermitian nature ensures real eigenvalues, facilitating spectral convolution.

Magnetic Graph Framelets

Framelets act as a multi-scale "zoom lens." Unlike the global Fourier transform, framelets use scaling functions to decompose signals into low-frequency (smooth) and high-frequency (detailed) components across multiple scales. This allows the network to capture both broad structures and fine-grained details.

Architecture of Framelet-MagNet and the Magnetic Framelet Convolution process.

Implementation and Efficiency

The model includes an "unwind" operator to convert complex-valued framelet coefficients into high-dimensional real representations for downstream layers. To ensure computational efficiency, Chebyshev polynomial approximations are used, avoiding the need for expensive matrix decompositions on large graphs.

Results

The model was evaluated on benchmark datasets including CORA_ML, CITESEER, CORNELL, and CHAMELEON across three tasks: node classification, link prediction (existence and direction), and denoising.

Performance comparison of Framelet-MagNet against state-of-the-art models across various tasks and datasets.

Framelet-MagNet consistently outperformed state-of-the-art models such as MagNet, DiGCN, and GAT. In node classification, it achieved accuracy improvements of 2.6% on CORA_ML and 2.4% on CORNELL. The model's advantage was most pronounced in link direction prediction on the CORNELL dataset, where it surpassed the second-best model by 8.1%.

Additionally, the model demonstrated significant robustness to noise. By naturally separating signal from noise across different frequency bands, Framelet-MagNet maintained higher classification accuracy than standard GCNs as Gaussian noise levels increased.

Discussion and Conclusion

The success of Framelet-MagNet highlights that directionality is a fundamental feature that should be explicitly modeled rather than ignored. The use of complex-valued representations provides a mathematically sound and effective way to encode asymmetric relationships. Moreover, the multi-scale nature of framelets prevents the "over-smoothing" common in standard GCNs, allowing for more nuanced feature learning.

Future work will explore extending the model to weighted mixed graphs and refining the handling of undirected edges within the directed framework. While Chebyshev polynomials improve efficiency, scaling to extremely large directed graphs remains an ongoing research challenge.

Summary updated

BibTeX
@inproceedings{lin2023magnetic,
  author = {Lequan Lin and Junbin Gao},
  title = {{A Magnetic Framelet-Based Convolutional Neural Network for Directed Graphs}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10097148},
}
Figure