Papers › Hyper-SAGNN: a self-attention based graph neural network for hypergraphs

Hyper-SAGNN: a self-attention based graph neural network for hypergraphs

6 Nov 2019ICLR 2020 1arXiv:1911.02613archive 2025-07-28

Ruochi Zhang, Yuesong Zou, Jian Ma

Graph representation learning for hypergraphs can be used to extract patterns among higher-order interactions that are critically important in many real world problems. Current approaches designed for hypergraphs, however, are unable to handle different types of hypergraphs and are typically not generic for various learning tasks. Indeed, models that can predict variable-sized heterogeneous hyperedges have not been available. Here we develop a new self-attention based graph neural network called Hyper-SAGNN applicable to homogeneous and heterogeneous hypergraphs with variable hyperedge sizes. We perform extensive evaluations on multiple datasets, including four benchmark network datasets and two single-cell Hi-C datasets in genomics. We demonstrate that Hyper-SAGNN significantly outperforms the state-of-the-art methods on traditional tasks while also achieving great performance on a new task called outsider identification. Hyper-SAGNN will be useful for graph representation learning to uncover complex higher-order interactions in different applications.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1911.02613")

Code

Syntology Ran 1 of 11 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 11 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ma-compbio/Hyper-SAGNN officialpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
10unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ma-compbio/Hyper-SAGNN. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_attn_key_pad_mask ma-compbio/Hyper-SAGNN/Code/Modules.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · e0ba079bc599626f · report
add_padding_idx ma-compbio/Hyper-SAGNN/Code/utils.py official repository unverified MIT (permissive) · 539cd217873480a4 · report
alias_draw ma-compbio/Hyper-SAGNN/Code/random_walk_hyper.py official repository unverified MIT (permissive) · 5c57a2923cc99fbe · report
alias_setup ma-compbio/Hyper-SAGNN/Code/random_walk_hyper.py official repository unverified MIT (permissive) · 0f462717a557f615 · report
alias_some_edges ma-compbio/Hyper-SAGNN/Code/random_walk.py official repository unverified MIT (permissive) · 804a5973b3729d60 · report
get_alias_edge ma-compbio/Hyper-SAGNN/Code/random_walk.py official repository unverified MIT (permissive) · f3a23ad4a2ec9a8a · report
get_non_pad_mask ma-compbio/Hyper-SAGNN/Code/Modules.py official repository unverified MIT (permissive) · e49850dfb8a05b9e · report
make_sparse_matrix ma-compbio/Hyper-SAGNN/Code/random_walk_hyper.py official repository unverified MIT (permissive) · 0ba0d7ba1fc2b77f · report
np2tensor_hyper ma-compbio/Hyper-SAGNN/Code/utils.py official repository unverified MIT (permissive) · c019d7d8a7b70bfc · report
sparse_autoencoder_error ma-compbio/Hyper-SAGNN/Code/Modules.py official repository unverified MIT (permissive) · 5df0dc831b0ffc79 · report
walkpath2str ma-compbio/Hyper-SAGNN/Code/utils.py official repository unverified MIT (permissive) · 9fab2fe3a6285f00 · report

Tasks

Graph Neural NetworkGraph Representation LearningLink PredictionRepresentation Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Link Prediction GPS Hyper-SAGNN-E AUC 0.9520000000000001 #1 of 2 Archive leaderboard report
Link Prediction GPS Hyper-SAGNN-E AUPR 0.7979999999999999 #1 of 2 Archive leaderboard report
Link Prediction GPS Hyper-SAGNN-W AUC 0.922 #2 of 2 Archive leaderboard report
Link Prediction GPS Hyper-SAGNN-W AUPR 0.722 #2 of 2 Archive leaderboard report
Link Prediction MovieLens 1M Hyper-SAGNN-W AUC 0.93 #1 of 2 Archive leaderboard report
Link Prediction MovieLens 1M Hyper-SAGNN-W AUPR 0.81 #1 of 2 Archive leaderboard report
Link Prediction MovieLens 1M Hyper-SAGNN-E AUPR 0.7929999999999999 #2 of 2 Archive leaderboard report
Link Prediction WordNet Hyper-SAGNN-E AUC 0.89 #6 of 7 Archive leaderboard report
Link Prediction WordNet Hyper-SAGNN-E AUPR 0.705 #6 of 7 Archive leaderboard report
Link Prediction WordNet Hyper-SAGNN-W AUC 0.88 #7 of 7 Archive leaderboard report
Link Prediction WordNet Hyper-SAGNN-W AUPR 0.706 #7 of 7 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Graph Neural Network

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections