Introduction
Hypergraphs are powerful tools for modeling complex, beyond-pairwise relationships, such as co-authorship or multi-user interactions. However, current Dynamic Hypergraph Neural Networks (DHGNNs) are bottlenecked by relying on a fixed number of hyperedges—typically initializing one hyperedge per node. This leads to massive redundancy, wasted computation, and an inability to discover the optimal underlying topology.
This paper introduces the Totally Dynamic Hypergraph Neural Network (TDHNN), an end-to-end framework that dynamically adjusts both the hypergraph's connectivity structure and its total number of hyperedges during training. By sampling hyperedge features from a learned distribution and pruning redundant edges, TDHNN achieves state-of-the-art accuracy while drastically reducing computational overhead.
Methodology: The TDHNN Framework
The TDHNN architecture conceptually mirrors $k$-means clustering but is adapted for overlapping hypergraphs with a dynamic $k$. The process consists of four primary stages:
- Hyperedge Feature Sampling: Optimal hyperedge features are sampled from a trainable Gaussian distribution using the reparameterization trick (borrowed from VAEs).
- Hyperedge Feature Update: Sampled features are updated via a Transformer-style attention mechanism based on the features of the nodes they are most closely related to.
- Hypergraph Construction & Sizing: Nodes are assigned to hyperedges using another attention mechanism. To dynamically adjust the number of hyperedges ($m$), the authors introduce a "saturation score." This heuristic prunes empty hyperedges or adds capacity if existing ones are full.
- Hypergraph Convolution: A spatial convolution updates node features using the newly constructed dynamic hypergraph.
By decoupling the number of hyperedges from the number of nodes, TDHNN reduces the time complexity of the convolution from $O(n^2)$ to $O(n)$. Learning is further guided by supervised and unsupervised loss constraints to ensure stable topology formation.
Experimental Results
TDHNN was evaluated on 3D visual object classification (ModelNet40, NTU) and citation network analysis (Cora).
Performance and Efficiency
TDHNN achieved state-of-the-art accuracy across all benchmarks. On ModelNet40, it reached 97.52% accuracy, outperforming existing dynamic methods like HSL and DHGNN. Notably, the dynamic sizing makes TDHNN significantly faster than its predecessors. On ModelNet40, TDHNN required only 0.42 seconds per epoch, compared to 25.04 seconds for standard DHGNN and 5.33 seconds for DeepHGSL.
Qualitative Analysis
Beyond quantitative metrics, t-SNE visualizations and Silhouette scores showed that TDHNN learns much clearer, more distinct class boundaries in its embedding space compared to static hypergraph methods. This suggests that the dynamic adjustment of hyperedge counts allows the model to better capture the latent structure of the data.
Conclusion
TDHNN addresses a critical limitation in hypergraph learning by making the hyperedge count a learnable, dynamic parameter. This approach not only improves classification accuracy but also provides massive gains in computational efficiency. While the current "saturation score" heuristic is empirical, it paves the way for future research into theoretically grounded strategies for dynamic hypergraph topology optimization.
Summary updated