Abstract
Modeling higher-order interactions in real-world systems requires capturing both group dynamics and the inherent directionality of relationships. While hypergraphs extend traditional graph neural networks to multi-node interactions, existing frameworks often struggle with asymmetric flow and heterophilic data. This paper introduces Directional Sheaf Hypergraph Networks (DSHN), a framework that leverages the geometry of cellular sheaves and complex-valued Laplacians to unify learning on directed and undirected hypergraphs. DSHN achieves significant performance gains—up to 20% over state-of-the-art models—by effectively encoding directional information and maintaining stability through a mathematically sound, positive semidefinite Laplacian operator.
Introduction
Most Graph Neural Networks (GNNs) are fundamentally dyadic, focusing on pairwise relationships. While Hypergraph Neural Networks (HGNNs) expand this scope to sets of nodes (hyperedges), they face two critical limitations. First, they often ignore directionality; for instance, in chemical reactions, reagents (tails) and products (heads) play distinct roles that symmetric models fail to capture. Second, they struggle with heterophily, where connected nodes are intentionally dissimilar (e.g., predator-prey relationships).
Previous attempts to apply Cellular Sheaves—a tool from algebraic topology—addressed heterophily in undirected hypergraphs but failed to incorporate directionality. Furthermore, earlier sheaf-based hypergraph models suffered from unstable Laplacian operators. DSHN addresses these gaps by introducing Directed Hypergraph Cellular Sheaves and a novel complex-valued encoding scheme.
Methods: Directed Cellular Sheaves and Complex Laplacians
The core of DSHN lies in assigning a vector space (a "stalk") to every node and hyperedge, with learned "restriction maps" (linear transformations) dictating information flow. To distinguish between "head" and "tail" nodes without compromising the underlying mathematical structure, DSHN employs complex-valued encoding.
As shown in Figure 1, tail nodes are multiplied by a complex coefficient $e^{-2\pi iq}$, where $q$ is a "charge" parameter that "rotates" features based on their role. This leads to the Directed Sheaf Hypergraph Laplacian, a complex-valued Hermitian operator. Unlike previous literature, the authors prove this Laplacian is positive semidefinite, ensuring stable message passing. For larger scales, the authors propose DSHNLight, which detaches the gradient of the restriction map generator to reduce computational overhead while maintaining high expressivity.
Results and Discussion
The researchers evaluated DSHN and DSHNLight against 13 baselines across a diverse suite of benchmarks, including communication networks (email-Enron), Wikipedia networks (Chameleon, Squirrel), and molecular reaction datasets.
As detailed in Table 1, DSHN consistently outperforms existing models. Notable results include:
- Significant Accuracy Gains: DSHN achieved relative gains of 2% to 20% over the best baselines. On the
email-EUdataset, DSHN reached ~82.7% accuracy, nearly 30 percentage points higher than undirected sheaf models. - Resistance to Oversmoothing: Unlike standard HGNNs, DSHN performance often improves with depth, as the sheaf structure allows nodes to maintain distinct features.
- Directional Sensitivity: On synthetic tasks requiring directional knowledge, DSHN achieved near-perfect accuracy (99.04%), while undirected methods failed to exceed 40%.
Conclusion
Directional Sheaf Hypergraph Networks provide a robust mathematical framework for higher-order learning. By treating direction as a phase shift in a complex-valued space, DSHN successfully unifies directed and undirected hypergraph modeling. Future work will focus on scaling these Laplacians to million-node datasets and exploring learnable "charge" parameters to further adapt the model to specific hyperedge dynamics.
Summary updated