Papers › Learning Dynamic Graph Representation of Brain Connectome with Spatio-Temporal Attention

Learning Dynamic Graph Representation of Brain Connectome with Spatio-Temporal Attention

27 May 2021NeurIPS 2021 12arXiv:2105.13495archive 2025-07-28

Byung-Hoon Kim, Jong Chul Ye, Jae-Jin Kim

Functional connectivity (FC) between regions of the brain can be assessed by the degree of temporal correlation measured with functional neuroimaging modalities. Based on the fact that these connectivities build a network, graph-based approaches for analyzing the brain connectome have provided insights into the functions of the human brain. The development of graph neural networks (GNNs) capable of learning representation from graph structured data has led to increased interest in learning the graph representation of the brain connectome. Although recent attempts to apply GNN to the FC network have shown promising results, there is still a common limitation that they usually do not incorporate the dynamic characteristics of the FC network which fluctuates over time. In addition, a few studies that have attempted to use dynamic FC as an input for the GNN reported a reduction in performance compared to static FC methods, and did not provide temporal explainability. Here, we propose STAGIN, a method for learning dynamic graph representation of the brain connectome with spatio-temporal attention. Specifically, a temporal sequence of brain graphs is input to the STAGIN to obtain the dynamic graph representation, while novel READOUT functions and the Transformer encoder provide spatial and temporal explainability with attention, respectively. Experiments on the HCP-Rest and the HCP-Task datasets demonstrate exceptional performance of our proposed method. Analysis of the spatio-temporal attention also provide concurrent interpretation with the neuroscientific knowledge, which further validates our method. Code is available at https://github.com/egyptdj/stagin

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="2105.13495")

Code

Syntology Ran 13 of 15 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · honoured contract; 12 ran with no contract checked.

By repository: official repository: 4 samples from 1 repository, 3 ran; community (archive-listed): 11 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

egyptdj/stagin officialmentioned in papermentioned on GitHubpytorch report
summerwings/cdgin mentioned on GitHubpytorch 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

15 samples harvested; 13 ran; 1 honoured the contract we drafted; 2 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 · honoured contract
12ran
2unverified

Licence: 15 of the 15 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

ModuleTimestamping egyptdj/stagin/model.py official repository ran GPL-3.0 (copyleft) · pointer only · 84a3e8003fcb5340 · report
ModuleTransformer egyptdj/stagin/model.py official repository ran GPL-3.0 (copyleft) · pointer only · 430499354e73b4a5 · report
count_parameters egyptdj/stagin/model.py official repository ran · honoured contract GPL-3.0 (copyleft) · pointer only · 8f101e1712844130 · report
ModelSTAGIN egyptdj/stagin/model.py official repository unverified GPL-3.0 (copyleft) · pointer only · 1a6ed53e10fc4d86 · report
CL_MLP summerwings/cdgin/net/CDGIN.py community (archive-listed) ran no licence file found · pointer only · c7794a32fc398023 · report
LayerGIN summerwings/cdgin/net/CDGIN.py community (archive-listed) ran no licence file found · pointer only · 44ecc65021788153 · report
ModuleFusion summerwings/cdgin/net/CDGIN.py community (archive-listed) ran no licence file found · pointer only · fc5fbcce16d4f1f6 · report
ModuleGARO summerwings/cdgin/net/CDGIN.py community (archive-listed) ran no licence file found · pointer only · af27625e1c1da111 · report
ModuleMeanReadout summerwings/cdgin/net/CDGIN.py community (archive-listed) ran fingerprinted no licence file found · pointer only · 8852ed5fb37bb4ba · report
ModuleSERO summerwings/cdgin/net/CDGIN.py community (archive-listed) ran no licence file found · pointer only · 61c36fd5f2765068 · report
ModuleSumReadout summerwings/cdgin/net/CDGIN.py community (archive-listed) ran fingerprinted no licence file found · pointer only · fd1f1a2352953434 · report
ModuleTimestamping summerwings/cdgin/net/CDGIN.py community (archive-listed) ran no licence file found · pointer only · 5b36578d41bd3a30 · report
ModuleTransformer summerwings/cdgin/net/CDGIN.py community (archive-listed) ran fingerprinted no licence file found · pointer only · a2b5e9d3759d13f5 · report
Percentile summerwings/cdgin/net/CDGIN.py community (archive-listed) ran fingerprinted no licence file found · pointer only · fea2fca6373c48d7 · report
ModelCDGIN summerwings/cdgin/net/CDGIN.py community (archive-listed) unverified no licence file found · pointer only · 007776ff55ed978a · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

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