BrainDyn: A Sheaf Neural ODE for Forecasting and Generating Brain Dynamics

Siddharth Viswanath, Panayiotis Ketonis, Cassidy All, William Dai, Gabriel Escobedo +8 more
5/19/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Brain activity unfolds as coordinated patterns across regions over time, and modeling these dynamics is a central goal in computational neuroscience. Because activity is distributed over connected brain regions, it is naturally represented on a graph whose nodes are brain regions or recording electrodes and whose edges capture relationships between these nodes, with message-passing modeling regional communication.

Show full abstract

However, standard message-passing networks place every node in a single shared feature space and typically aggregate messages from neighbors by scalar summation, which does not align with neurobiological evidence of brain communication. In order to model the heterogeneous nature of the brain, we introduce BrainDyn, a graph ordinary differential equation (ODE) network built on a cellular sheaf with dynamic restriction maps, recomputed from the forecasting context window rather than fixed once, mediating region-to-region communication through learned linear transformations that drive the time evolution of neural activity. We evaluate BrainDyn on resting-state fMRI, EEG, and simulated activity from the NEST simulator. Across these modalities, we test multi-region forecasting and autoregressive generation of brain transients, and, using NEST, prediction of altered transients following controlled perturbations. BrainDyn outperforms competing models across modalities, while analysis of the learned features shows that they are expressive, interpretable, and biologically aligned.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{viswanath2026braindyn,
  title  = {BrainDyn: A Sheaf Neural ODE for Forecasting and Generating Brain Dynamics},
  author = {Siddharth Viswanath and Panayiotis Ketonis and Cassidy All and William Dai and Gabriel Escobedo and Christine Gao and Jeffrey Lee and Joao Felipe Rocha and Andrew J Steindl and Ian Adelstein and Michael Perlmutter and Dhananjay Bhaskar and Smita Krishnaswamy},
  year   = {2026},
  eprint = {2605.19324},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.19324v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.19324.svg)](https://codeofpaper.com/paper/2605.19324)

Discussion