SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.24693 · NeurIPS · 2025

Brain Harmony: A Multimodal Foundation Model Unifying Morphology and Function into 1D Tokens

Yichi Zhang, Ruilin Li, Zijian Dong, Joanna Su, Xian Chong, Juan Zhou, Niousha Dehestani, Yinghui Teng, Yi Lin, Zhizhou Li, Yapei Xie, Leon Qi, and 2 more

arXiv · PDF · Open in the Atlas

Code that ran

4 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 1 failure of our instrument; 5 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2509.24693.json · badge: /api/ran/2509.24693.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
hzlab/Brain-Harmony community
Papers with Code archive
3 ran · 5 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
DropPath Ran
ran on a synthesized input · constructed an object; no result was computed
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("862cf06383f8bde7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MLP Ran
ran on a synthesized input · constructed an object; no result was computed
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("00ab6e2a5e0dd98d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from gladzhang/Xformer
pointer only; the stored copy get_code serves, from gladzhang/Xformer, is pointer only (licence: NONE) · get_code("55120f2026b56aa2")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_1d_sincos_pos_embed Ran
ran, honoured the contract we drafted
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("83c2cef1c62331fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Attention Not yet run
unverified (harvested, no recorded run)
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("d3cc43506db5cff8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Block Not yet run
unverified (harvested, no recorded run)
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("6fdfbb3c57d4f9fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

FlashAttention2 Not yet run
unverified (harvested, no recorded run)
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("df56dd1e07f7f87e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

OneTokRegViT Not yet run
unverified (harvested, no recorded run)
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("2119ddf45caf867f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

is_flash_attn_greater_or_equal_2_10 Not yet run
unverified (harvested, no recorded run)
hzlab/Brain-Harmony/modules/harmonizer/stage1_pretrain/models.py
pointer only (licence: NONE) · get_code("5e9bf5b2eaf4c4dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzlab/Brain-Harmony when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 4 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
drop_path
brick of this paper's assembly: helper
224 other papers
211 dated earlier, 1 the same month, 8 later, 3 same year, order not determinable, 1 undated · 38 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2007.09384 (2020-07)
Multi-Scale Positive Sample Refinement for Few-Shot Object Detection
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
and 221 more not named here
DropPath
brick of this paper's assembly: helper
47 other papers
44 dated earlier, 1 the same month, 2 later · 33 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2105.14432 (2021-05)
TransMatcher: Deep Image Matching Through Transformers for Generalizable Person Re-identification
and 44 more not named here
MLP
brick of this paper's assembly: model
6 other papers
4 dated earlier, 2 later · 6 only as an assembly brick
2301.08243 (2023-01)
Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture
2308.07092 (2023-08)
Masked Motion Predictors are Strong 3D Action Representation Learners
2406.00123 (2024-06)
Correlation-aware Coarse-to-fine MLPs for Deformable Medical Image Registration
and 3 more not named here
get_1d_sincos_pos_embed
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
2409.19407 (2024-09)
Brain-JEPA: Brain Dynamics Foundation Model with Gradient Positioning and Spatiotemporal Masking
2511.16315 (2025-11)
BioBench: A Blueprint to Move Beyond ImageNet for Scientific ML Benchmarks

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We present Brain Harmony (BrainHarmonix), the first multimodal brain foundation model that unifies structural morphology and functional dynamics into compact 1D token representations. The model was pretrained on two of the largest neuroimaging datasets to date, encompassing 64,594 T1-weighted structural MRI 3D volumes (~14 million images) and 70,933 functional MRI (fMRI) time series. BrainHarmonix is grounded in two foundational neuroscience principles: structure complements function -structural and functional modalities offer distinct yet synergistic insights into brain organization; function follows structurebrain functional dynamics are shaped by cortical morphology. The modular pretraining process involves single-modality training with geometric pre-alignment followed by modality fusion through shared brain hub tokens. Notably, our dynamics encoder uniquely handles fMRI time series with heterogeneous repetition times (TRs), addressing a major limitation in existing models. BrainHarmonix is also the first to deeply compress high-dimensional neuroimaging signals into unified, continuous 1D tokens, forming a compact latent space of the human brain. BrainHarmonix achieves strong generalization across diverse downstream tasks, including neurodevelopmental and neurodegenerative disorder classification and cognition prediction -consistently outperforming previous approaches. Our models -pretrained on 8 H100 GPUs -aim to catalyze a new era of AI-driven neuroscience powered by large-scale multimodal neuroimaging. Code is available at: https://github.com/hzlab/Brain-Harmony

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2509.24693")
get_code_for_paper("2509.24693")
have("2509.24693")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2509.24693.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2509.24693.svg)](https://syntology.ai/paper/2509.24693)

Connect an agent — have() is free.