Manuscript Offprint

arXiv:2610.03211

HyperFuse: Fast Self-Supervised Node Embeddings for Attributed Hypergraphs

Megha P, Harshit Kumar, Srajan Agarwal, Anirban Banerjee, Olaf Wolkenhauer, Saptarshi Bej

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Self-supervised hypergraph representation learning produces informative node embeddings, but current methods train deep encoders for hundreds of epochs and can take hours on a hypergraph of a few thousand nodes. This cost becomes limiting when embeddings must be generated for many hypergraphs, for example one interaction network per patient, or repeatedly for evolving hypergraphs. We present HyperFuse, a label-free pipeline for fast embedding generation. HyperFuse (i) computes structural node coordinates by maximising a spectral relaxation of hypergraph modularity on Banerjee's hypergraph adjacency, using a matrix-free operator whose cost is linear in the number of node-hyperedge incidences; (ii) builds multi-scale feature summaries and assigns each hyperedge a bounded utility weight based on the stability of its members under feature and membership masking; and (iii) trains a small utility-weighted hypergraph encoder for 100 epochs with an invariance-plus-decorrelation objective. We compare HyperFuse with TriCL, SE-HSSL, VilLain and HypeBoy on nine public hypergraphs, using six downstream classifiers and k-means clustering. On the eight datasets on which all methods completed, HyperFuse needed 8.7s per dataset on average, a geometric-mean speed-up of 13–179× over the baselines. Its accuracy averaged over the datasets was the highest with five of the six classifiers, and its classification and clustering scores did not differ significantly from those of TriCL and SE-HSSL. Compared with HypeBoy, the fastest baseline, HyperFuse was 13× faster and 2.1–4.1 percentage points more accurate with every classifier. With one configuration for all datasets and seconds per embedding, HyperFuse suits settings that require many embeddings.

Keywords: Hypergraph representation learning, Self-supervised learning, Node embedding, Modularity, Canonical correlation analysis, Computational efficiency

1 Introduction

Many relational systems involve interactions among more than two entities: a paper has several authors, a protein complex contains several proteins, and a set of documents shares a keyword. Hypergraphs represent such higher-order interactions directly, with hyperedges that connect arbitrary subsets of nodes (Battiston et al. 2020; Klamt et al. 2009). A common way to make hypergraph data usable by standard learning algorithms is to map each node to a low-dimensional vector, an embedding, that summarises its attributes and its position in the hypergraph (Antelmi et al. 2023). Because labels are often scarce, self-supervised methods, which learn embeddings without labels and are then evaluated on downstream tasks, have become the dominant approach (Kim et al. 2024b).

Current self-supervised hypergraph methods such as TriCL (Lee and Shin 2023), SE-HSSL (Li et al. 2024), VilLain (Lee et al. 2024) and HypeBoy (Kim et al. 2024a) produce embeddings that support accurate node classification and clustering. They do so by training neural encoders with contrastive, correlation-based or generative objectives for hundreds to thousands of epochs, frequently with objectives that compare every node with every other node. In our benchmark (Sect. 6), the official configurations of these methods required between 4s and 9.1 h per hypergraph, and generating one embedding of PubMed (3,840 nodes) took 9.1 h with TriCL, 3.5 h with SE-HSSL and 1.4 h with VilLain on our hardware; HypeBoy, the fastest baseline, needed 1.0 min on PubMed but 2.3 h on 20News.

Such costs are acceptable when a single, fixed hypergraph is embedded once. They are less acceptable in two settings that motivate this work. First, in collections of hypergraphs, every member needs its own embedding and the cost is multiplied by the size of the collection; sample-specific molecular networks, in which each patient is represented by an individual interaction network, are one example (Kuijjer et al. 2019). Second, in evolving hypergraphs, node attributes and memberships change over time and embeddings must be recomputed for new snapshots (Kazemi et al. 2020). In both settings, the time needed to produce one embedding determines whether an analysis is feasible.

We introduce HyperFuse, a self-supervised embedding method for attributed hypergraphs that prioritises embedding-generation time while aiming to retain the quality of current self-supervised methods. HyperFuse builds on FUSE (Chakraborty et al. 2026), which showed that a scalable approximation of modularity maximisation provides structural node embeddings at low cost for ordinary graphs in a semi-supervised setting. HyperFuse is fully unsupervised and extends this idea to hypergraphs with node attributes. It proceeds in three stages. Stage A computes structural coordinates by maximising a spectral relaxation of modularity defined on the hypergraph adjacency matrix of Banerjee (2021); the modularity operator is applied without forming any N×NN \times N matrix. Stage B computes feature summaries that are consistent under two corruptions of the hypergraph and estimates a bounded utility weight for every hyperedge. Stage C trains a small hypergraph encoder whose aggregation is weighted by these utilities, using a correlation-based self-supervised objective (Zhang et al. 2021) for a fixed budget of 100 epochs.

Our contributions are as follows.

  • We describe HyperFuse, a three-stage, label-free pipeline for node embedding generation in attributed hypergraphs, in which inexpensive linear-algebraic stages (A and B) supply structural, spectral and hyperedge-reliability information to a short self-supervised training stage (C).

  • We build hypergraph modularity on Banerjee's adjacency matrix, whose strengths equal the node degrees (Banerjee 2021), obtain a modularity operator that is applied in time linear in the number of incidences without forming any N×NN \times N matrix, and state conditions under which the Stage A iteration converges to the leading eigenspace of the modularity matrix (Propositions 1–3).

  • We report a benchmark on nine public hypergraphs against four self-supervised baselines run with their official configurations, evaluating embeddings with six downstream classifiers, two clustering scores and wall-clock embedding time, together with rank-based statistical tests.

On the eight datasets on which all methods completed, HyperFuse was the fastest method on every dataset, with geometric-mean speed-ups of 143×143\times over TriCL, 96×96\times over SE-HSSL, 179×179\times over Villain and 13×13\times over HypeBoy, its accuracy averaged over the datasets was the highest with five of the six downstream classifiers, and its classification and clustering scores did not differ significantly from those of TriCL and SE-HSSL and were higher than those of HypeBoy with every classifier. We discuss these results and the limitations of the study in Sect. 7.

References (47)