Directional Sheaf Hypergraph Networks
- The paper introduces DSHN, a sheaf-theoretic framework that unifies learning on both directed and undirected hypergraphs using complex phase factors to encode directionality.
- DSHN mitigates homophily bias by employing learnable restriction maps that leverage full d×d matrices, enabling robust feature propagation in heterophilic settings.
- Empirical results on 7 datasets show accuracy gains of 2% to 20%, highlighting the framework’s effectiveness in tuning directional flows via the charge parameter.
Directional Sheaf Hypergraph Networks (DSHN) are a sheaf-theoretic neural framework for learning on directed and undirected hypergraphs, introduced to model higher-order interactions with explicit orientation while avoiding the implicit homophily bias that often constrains earlier directed-hypergraph methods. The framework combines cellular sheaves with a principled encoding of asymmetry through complex phases, yielding a complex-valued Directed Sheaf Hypergraph Laplacian that unifies several Laplacian constructions previously used in graph and hypergraph learning. In the formulation reported in "Directional Sheaf Hypergraph Networks: Unifying Learning on Directed and Undirected Hypergraphs," DSHN is evaluated on 7 real-world datasets against 13 baselines and is reported to achieve relative accuracy gains from 2% up to 20% (Mule et al., 6 Oct 2025).
1. Problem setting and motivation
Hypergraphs represent interactions among more than two entities by allowing a hyperedge to connect a set of vertices rather than a single pair. The directed case assigns orientation to these higher-order relations, making it possible to model oriented group interactions. The motivating premise of DSHN is that directed hypergraphs remain substantially less explored than undirected hypergraphs, despite their relevance for applications in which head–tail structure is semantically meaningful (Mule et al., 6 Oct 2025).
The framework is positioned against a recurring limitation of recent approaches to directed hypergraph learning: an implicit bias toward homophily. In heterophilic regimes, this bias can degrade performance because message passing that primarily averages neighboring information tends to suppress discriminative local structure. DSHN inherits from Sheaf Neural Networks the idea that learnable restriction maps can transport features across incidence relations without forcing simple agreement. In this setting, directionality is not appended as an external correction, but is built directly into the sheaf structure through complex phase factors.
A central claim of the framework is unification. The same operator family is constructed to subsume undirected hypergraph learning, directed graph learning, and directed hypergraph learning within a single spectral object. This positioning matters because it treats directionality, higher-order incidence, and sheaf transport as parts of the same algebraic mechanism rather than as independent design choices.
2. Directed hypergraph cellular sheaf and Laplacian
Let be a directed hypergraph, with stalk dimension , working over . DSHN assigns a vector space to each vertex and a vector space to each hyperedge (Mule et al., 6 Oct 2025).
Orientation is encoded by a complex phase matrix with entries
$S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$
The scalar is the charge parameter. The reported interpretation is that 0 collapses directions, whereas 1 yields pure imaginary factors for tail–head interactions.
The model then introduces real-valued, learnable, direction-agnostic restriction maps
2
and defines the complex restriction map
3
The tuple 4 is termed a Directed Hypergraph Cellular Sheaf.
From these components, the framework assembles a complex-valued incidence operator
5
It also defines
6
and
7
The reported unnormalized Directed Sheaf Laplacian is
8
where
9
The same presentation also writes, in boundary–co-boundary notation,
0
For numerical stability, the normalized form is used:
1
For 2, the off-diagonal entries satisfy
3
The reported interpretation is that matching head–head or tail–tail incidences yield real negative weights, while tail–head incidences yield the complex phase 4; at 5, this becomes purely imaginary. The paper further states that 6 is Hermitian, positive semidefinite, diagonalizable with real spectrum in 7, and that its Dirichlet energy is
8
3. Recovery of existing operators and spectral interpretation
A major feature of DSHN is that specific parameter choices recover several established Laplacian constructions (Mule et al., 6 Oct 2025). For a 2-uniform undirected graph with trivial sheaf, meaning all restriction maps are 9, 0 reduces, up to scaling by 1, to the classical graph Laplacian 2. For a 2-uniform directed graph with 3, it becomes the Magnetic Laplacian of Zhang et al., or the Sigmanet Laplacian when 4. For general undirected hypergraphs with trivial sheaf, it recovers the Zhou et al. normalized hypergraph Laplacian. For directed hypergraphs with unit weights and trivial sheaf, it yields the Generalized Directed Laplacian of Fiorini et al.
This recovery behavior is the formal basis for the framework’s claim to unify learning on directed and undirected hypergraphs. It means that classical diffusion on pairwise undirected structure, magnetic phase-based diffusion on directed graphs, and hypergraph spectral propagation can all be treated as special cases of a single complex sheaf operator. A plausible implication is that comparisons among these models can be reframed as comparisons among particular choices of charge, stalk dimension, and restriction-map parameterization rather than as fundamentally separate architectures.
The spectral viewpoint also clarifies why the model is positioned for heterophilic settings. In ordinary averaging-based hypergraph propagation, alignment is encouraged by scalar or sign-limited edge couplings. In DSHN, each incidence relation is mediated by a full 5 map together with a complex phase, so consistency is transported through learned linear correspondences rather than through direct feature averaging.
4. Network architecture and feature propagation
The neural architecture is derived from the sheaf-diffusion ODE
6
A forward Euler step yields
7
The 8-th DSHN layer then inserts learnable linear maps and a nonlinearity:
9
where 0 and 1 are trainable, 2 applies 3 on each stalk, and 4 is a complex activation such as complex-ReLU (Mule et al., 6 Oct 2025). At the final layer, complex features are unwound into real features by concatenating real and imaginary parts.
The input node features 5 are first projected to 6 and then reshaped to 7. Restriction maps 8 are predicted by an MLP 9 applied to concatenated real-valued node and hyperedge features. When explicit hyperedge features are unavailable, they are aggregated from incident nodes by mean or sum. The reported implementation further applies layer normalization separately to 0 and 1 in the complex domain, jointly normalizing real–imaginary pairs, and allows residual connections together with multiple dropout options.
The framework attributes two main modeling effects to these design choices. First, because the restriction maps are full 2 matrices, DSHN is reported to resist oversmoothing even at large depths and to naturally handle heterophily. Second, the charge parameter 3 controls how strongly orientation affects propagation: 4 recovers the undirected case, whereas 5 or tuned values in 6 amplify oriented flows.
5. Optimization protocol and computational complexity
The reported task setting is node classification with 7 classes, using standard cross-entropy loss on output logits after unwinding (Mule et al., 6 Oct 2025). Optimization uses Adam with learning rate in 8 and weight decay in 9. Training uses early stopping after 200 no-improvement epochs and a maximum of 500 epochs. Regularization includes dropout on restriction maps, residual toggles, and layer normalization on 0 and 1.
For per-layer inference complexity, let 2, 3, 4 be average hyperedge size, and 5 be total channel size. Linear transforms cost
6
Message passing through 7 costs
8
in the diagonal-restriction case, or
9
in general, since each hyperedge induces 0 block interactions of size 1. Predicting sheaf maps costs
2
or 3 if the MLP is diagonal. Computing 4, 5, and assembling 6 similarly costs 7. The dominant per-layer term is therefore reported as
8
This complexity motivates the lightweight variant DSHNLight, which mitigates the cost by freezing the restriction-model MLP and detaching Laplacian assembly from backprop. The stated trade-off is therefore not between directionality and nondirectionality, but between full end-to-end sheaf adaptation and a more economical approximation of the same operator family.
6. Empirical behavior, ablations, and limitations
The experimental protocol converts seven standard directed graph benchmarks into directed hypergraphs by creating, for each node 9, a hyperedge $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$0 with $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$1 and $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$2, thereby preserving original orientation as forward hyperedges (Mule et al., 6 Oct 2025). The datasets are Roman-empire, Squirrel, email-EU, Telegram, Chameleon, email-Enron, and Cora. Their reported statistics are as follows: Roman-empire has $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$3 nodes, $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$4 features, $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$5 hyperedges, $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$6 classes, average $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$7, average degree $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$8, and CE homophily $S^{(q)}_{u\trianglelefteq e}= \begin{cases} 1, & u\in H(e)\ (\text{head})\[4pt] e^{-2\pi i q}, & u\in T(e)\ (\text{tail})\[4pt] 0, & \text{otherwise.} \end{cases}$9; Squirrel has 0 nodes, 1 features, 2 hyperedges, 3 classes, average 4, average degree 5, and CE homophily 6; email-EU has 7 nodes, no explicit features, 8 hyperedges, 9 classes, average 00, average degree 01, and CE homophily 02; Telegram has 03 nodes, 04 feature, 05 hyperedges, 06 classes, average 07, average degree 08, and CE homophily 09; Chameleon has 10 nodes, 11 features, 12 hyperedges, 13 classes, average 14, average degree 15, and CE homophily 16; email-Enron has 17 nodes, no explicit features, 18 hyperedges, 19 classes, average 20, average degree 21, and CE homophily 22; Cora has 23 nodes, 24 features, 25 hyperedges, 26 classes, average 27, average degree 28, and CE homophily 29. Hyperparameters are tuned over stalk dimension 30, number of convolutional layers in 31, charge 32, activation in 33, dropout in 34, and residual on/off.
The baselines comprise undirected hypergraph GNNs including HGNN, HNHN, UniGCNII, LEGCN, HyperND, AllSet variants, ED-HNN, SheafHyperGNN, and PhenomNN, together with directed methods GeDi-HNN and DHGNN. The reported summary results are:
| Dataset | Best baseline | DSHN / DSHNLight |
|---|---|---|
| Roman-empire | 83.9 (GeDi) | 89.2 (DSHNLight) |
| Squirrel | 43.6 (PhenomNN) | 44.1 (DSHNLight) |
| email-EU | 68.9 (ED-HNN) | 82.7 (DSHNLight) |
| Telegram | 80.6 (DHGNN-emb) | 88.7 (DSHN) / 81.2 (DSHNLight) |
| Chameleon | 44.7 (ED-HNN) | 47.0 (DSHN) / 46.5 (DSHNLight) |
| email-Enron | 63.8 (AllSetTr) | 75.7 (DSHN) / 76.8 (DSHNLight) |
| Cora | 88.1 (PhenomNN) | 87.8 (DSHN) / 88.0 (DSHNLight) |
The accompanying gains are reported as 35 pt / 36 on Roman-empire, 37 pt / 38 on Squirrel, 39 pt / 40 on email-EU, 41 pt / 42 on Telegram, 43 pt / 44 on Chameleon, 45 pt / 46 on email-Enron, and approximately 47 on Cora. The contrast between Telegram and Cora is especially informative. On Telegram, described as highly directional, tuning 48 from 49 to 50 raises accuracy from 51 to 52. On Cora, described as homophilic, 53 is best. This suggests that the charge parameter functions as an explicit bias control: it can amplify oriented flows when directionality is semantically useful, but may act as directional noise in strongly homophilic settings.
The ablation analysis reports that DSHN accuracy improves with up to 7 layers, while standard HGNN degrades, and that accuracy rises with larger stalk dimension 54. It also reports that removing either the sheaf restriction maps or the complex phase causes performance to drop back to baseline levels. These observations are presented as evidence that the framework’s gains do not arise from directionality alone or from sheaf parameterization alone, but from their combination.
The reported limitations are equally specific. Scalability is constrained by the 55 cost when hyperedges are extremely large. Large-scale directed hypergraphs such as biochemical reaction networks and multi-agent flows remain to be tested. Further engineering of sparse GPU kernels for complex Laplacians is stated as needed. Future work is suggested in the form of a learnable charge 56, either as a trainable scalar or a per-hyperedge parameter, to automatically balance homophilic and heterophilic bias.