Introduction
Most Graph Neural Networks (GNNs) are fundamentally designed for undirected graphs. When applied to directed graphs—such as citation networks or web links—the standard practice is "symmetrization," which treats every directed edge as bidirectional. While this simplifies the underlying mathematics, it fundamentally destroys the directional information inherent in the data.
Existing solutions for directed graphs often encounter significant hurdles. For instance, Chung’s Directed Laplacian requires graphs to be strongly connected and often results in dense matrices that are computationally prohibitive. Concurrent works like MagNet attempt to address this by separating complex tensors into real and imaginary parts, but this approach can lose the inherent benefits of complex-valued weight initialization and activation. The Magnetic Graph Convolutional network (MGC) is proposed to preserve directionality while maintaining computational efficiency and flexibility.
Methodology: The Magnetic Laplacian and LinearRank
The core innovation of MGC is the integration of the magnetic Laplacian ($L_q$) into a GNN framework. The magnetic Laplacian is a discrete Schrödinger operator that utilizes an "electric charge" parameter ($q$) to encode the direction of an edge $(u, v)$ into a complex phase: $exp(i2\pi q)$. If an edge exists from $u$ to $v$, it receives one phase; if it flows from $v$ to $u$, it receives the conjugate. This allows the model to mathematically "feel" the direction of the flow while remaining Hermitian, ensuring stable eigendecomposition.
To process these signals efficiently, the authors introduce LinearRank, a truncated variant of PageRank. LinearRank acts as a graph filter that can be tuned as a low-pass filter for homogeneous graphs (where neighbors are similar) or a high-pass filter for heterogeneous graphs (where neighbors are different). Unlike other directed Laplacians that become mathematically dense, the magnetic Laplacian remains as sparse as the original adjacency matrix, ensuring scalability.
Complex-Valued Architecture
Unlike models that split complex numbers into two real channels, MGC employs a fully complex-valued architecture. It uses complex-valued weights and a novel activation function called the Complex Gated Tanh Unit (CGTU). This function processes the real and imaginary components and maps them back to a real-valued output for final classification tasks. Furthermore, the model includes an automatic parameter tuning mechanism using Johnson’s algorithm to detect cycles, which helps intelligently select the optimal charge parameter $q$.
Experimental Results and Discussion
The model was evaluated on two categories of directed graphs: homogeneous citation networks (CoRAR, CiteSeerR, PubMed) and heterogeneous webpage networks (Cornell, Texas, Washington, Wisconsin).
MGC demonstrated significant performance gains, particularly on webpage networks where directionality is a primary feature. For example, MGC achieved accuracies of 84.21% on Texas and 83.02% on Wisconsin, significantly outperforming MagNet (~72% and ~55% respectively) and standard GCNs (~47% and ~49%). On citation networks, MGC remained competitive with top-tier models like $S^2GC$ and APPNP, proving its robustness even when directionality is less critical.
Conclusion and Future Work
MGC represents a true generalization of existing GNNs; when the charge $q$ is set to 0, the model mathematically degenerates back into a standard real-valued GNN. Its pre-computation style makes it significantly faster than models requiring backpropagation through the entire graph structure.
A current limitation for scaling is mini-batching, as the optimal $q$ depends on the existence of directed cycles which may be broken during graph partitioning. Future research will focus on maintaining these "magnetic" properties in massive, billion-node datasets and exploring additional spectral ranking algorithms beyond LinearRank.
Summary updated