Papers
Topics
Authors
Recent
Search
2000 character limit reached

Directional Sheaf Hypergraph Networks

Updated 4 July 2026
  • 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 H=(V,E)\mathcal H=(V,E) be a directed hypergraph, with stalk dimension dd, working over Cd\mathbb C^d. DSHN assigns a vector space F(u)≅Cd\mathcal F(u)\cong\mathbb C^d to each vertex u∈Vu\in V and a vector space F(e)≅Cd\mathcal F(e)\cong\mathbb C^d to each hyperedge e∈Ee\in E (Mule et al., 6 Oct 2025).

Orientation is encoded by a complex phase matrix S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n} 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 q∈[0,1)q\in[0,1) is the charge parameter. The reported interpretation is that dd0 collapses directions, whereas dd1 yields pure imaginary factors for tail–head interactions.

The model then introduces real-valued, learnable, direction-agnostic restriction maps

dd2

and defines the complex restriction map

dd3

The tuple dd4 is termed a Directed Hypergraph Cellular Sheaf.

From these components, the framework assembles a complex-valued incidence operator

dd5

It also defines

dd6

and

dd7

The reported unnormalized Directed Sheaf Laplacian is

dd8

where

dd9

The same presentation also writes, in boundary–co-boundary notation,

Cd\mathbb C^d0

For numerical stability, the normalized form is used:

Cd\mathbb C^d1

For Cd\mathbb C^d2, the off-diagonal entries satisfy

Cd\mathbb C^d3

The reported interpretation is that matching head–head or tail–tail incidences yield real negative weights, while tail–head incidences yield the complex phase Cd\mathbb C^d4; at Cd\mathbb C^d5, this becomes purely imaginary. The paper further states that Cd\mathbb C^d6 is Hermitian, positive semidefinite, diagonalizable with real spectrum in Cd\mathbb C^d7, and that its Dirichlet energy is

Cd\mathbb C^d8

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 Cd\mathbb C^d9, F(u)≅Cd\mathcal F(u)\cong\mathbb C^d0 reduces, up to scaling by F(u)≅Cd\mathcal F(u)\cong\mathbb C^d1, to the classical graph Laplacian F(u)≅Cd\mathcal F(u)\cong\mathbb C^d2. For a 2-uniform directed graph with F(u)≅Cd\mathcal F(u)\cong\mathbb C^d3, it becomes the Magnetic Laplacian of Zhang et al., or the Sigmanet Laplacian when F(u)≅Cd\mathcal F(u)\cong\mathbb C^d4. 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 F(u)≅Cd\mathcal F(u)\cong\mathbb C^d5 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

F(u)≅Cd\mathcal F(u)\cong\mathbb C^d6

A forward Euler step yields

F(u)≅Cd\mathcal F(u)\cong\mathbb C^d7

The F(u)≅Cd\mathcal F(u)\cong\mathbb C^d8-th DSHN layer then inserts learnable linear maps and a nonlinearity:

F(u)≅Cd\mathcal F(u)\cong\mathbb C^d9

where u∈Vu\in V0 and u∈Vu\in V1 are trainable, u∈Vu\in V2 applies u∈Vu\in V3 on each stalk, and u∈Vu\in V4 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 u∈Vu\in V5 are first projected to u∈Vu\in V6 and then reshaped to u∈Vu\in V7. Restriction maps u∈Vu\in V8 are predicted by an MLP u∈Vu\in V9 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 F(e)≅Cd\mathcal F(e)\cong\mathbb C^d0 and F(e)≅Cd\mathcal F(e)\cong\mathbb C^d1 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 F(e)≅Cd\mathcal F(e)\cong\mathbb C^d2 matrices, DSHN is reported to resist oversmoothing even at large depths and to naturally handle heterophily. Second, the charge parameter F(e)≅Cd\mathcal F(e)\cong\mathbb C^d3 controls how strongly orientation affects propagation: F(e)≅Cd\mathcal F(e)\cong\mathbb C^d4 recovers the undirected case, whereas F(e)≅Cd\mathcal F(e)\cong\mathbb C^d5 or tuned values in F(e)≅Cd\mathcal F(e)\cong\mathbb C^d6 amplify oriented flows.

5. Optimization protocol and computational complexity

The reported task setting is node classification with F(e)≅Cd\mathcal F(e)\cong\mathbb C^d7 classes, using standard cross-entropy loss on output logits after unwinding (Mule et al., 6 Oct 2025). Optimization uses Adam with learning rate in F(e)≅Cd\mathcal F(e)\cong\mathbb C^d8 and weight decay in F(e)≅Cd\mathcal F(e)\cong\mathbb C^d9. 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 e∈Ee\in E0 and e∈Ee\in E1.

For per-layer inference complexity, let e∈Ee\in E2, e∈Ee\in E3, e∈Ee\in E4 be average hyperedge size, and e∈Ee\in E5 be total channel size. Linear transforms cost

e∈Ee\in E6

Message passing through e∈Ee\in E7 costs

e∈Ee\in E8

in the diagonal-restriction case, or

e∈Ee\in E9

in general, since each hyperedge induces S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}0 block interactions of size S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}1. Predicting sheaf maps costs

S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}2

or S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}3 if the MLP is diagonal. Computing S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}4, S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}5, and assembling S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}6 similarly costs S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}7. The dominant per-layer term is therefore reported as

S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}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 S(q)∈Cm×nS^{(q)}\in\mathbb C^{m\times n}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 q∈[0,1)q\in[0,1)0 nodes, q∈[0,1)q\in[0,1)1 features, q∈[0,1)q\in[0,1)2 hyperedges, q∈[0,1)q\in[0,1)3 classes, average q∈[0,1)q\in[0,1)4, average degree q∈[0,1)q\in[0,1)5, and CE homophily q∈[0,1)q\in[0,1)6; email-EU has q∈[0,1)q\in[0,1)7 nodes, no explicit features, q∈[0,1)q\in[0,1)8 hyperedges, q∈[0,1)q\in[0,1)9 classes, average dd00, average degree dd01, and CE homophily dd02; Telegram has dd03 nodes, dd04 feature, dd05 hyperedges, dd06 classes, average dd07, average degree dd08, and CE homophily dd09; Chameleon has dd10 nodes, dd11 features, dd12 hyperedges, dd13 classes, average dd14, average degree dd15, and CE homophily dd16; email-Enron has dd17 nodes, no explicit features, dd18 hyperedges, dd19 classes, average dd20, average degree dd21, and CE homophily dd22; Cora has dd23 nodes, dd24 features, dd25 hyperedges, dd26 classes, average dd27, average degree dd28, and CE homophily dd29. Hyperparameters are tuned over stalk dimension dd30, number of convolutional layers in dd31, charge dd32, activation in dd33, dropout in dd34, 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 dd35 pt / dd36 on Roman-empire, dd37 pt / dd38 on Squirrel, dd39 pt / dd40 on email-EU, dd41 pt / dd42 on Telegram, dd43 pt / dd44 on Chameleon, dd45 pt / dd46 on email-Enron, and approximately dd47 on Cora. The contrast between Telegram and Cora is especially informative. On Telegram, described as highly directional, tuning dd48 from dd49 to dd50 raises accuracy from dd51 to dd52. On Cora, described as homophilic, dd53 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 dd54. 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 dd55 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 dd56, either as a trainable scalar or a per-hyperedge parameter, to automatically balance homophilic and heterophilic bias.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Directional Sheaf Hypergraph Networks (DSHN).