Wanna compare dynamics across neural data, RNNs, or dynamical systems? We got a fast and furious methodποΈ
The 1st preprint of my PhD π₯³ fast dynamical similarity analysis (fastDSA):
π: arxiv.org/abs/2511.22828
π»: github.com/CMC-lab/fast...
Iβll be @cosynemeeting.bsky.social - happy to chat π
08.01.2026 16:07 β
π 114
π 35
π¬ 1
π 4
netneurotools: a trainee-oriented approach to network neuroscience | doi.org/10.1101/2025...
Our labβs internal toolkit for accomplishing everyday tasks in brain imaging ‡οΈ
18.12.2025 14:58 β
π 74
π 36
π¬ 1
π 3
Thanks for reading! Do reach out to us if you plan to use cuBNM in your study, we are happy to help π
And many thanks to @sofievalk.bsky.social, @sbe.bsky.social, @borismontreal.bsky.social, @wanb.bsky.social and all the collaborators on this project ππ»
21/21
14.11.2025 17:29 β
π 2
π 0
π¬ 0
π 0
GitHub - amnsbr/nimare-gpu: GPU-accelerated activation likelihood estimation meta-analysis (a GPU wrapper for NiMARE)
GPU-accelerated activation likelihood estimation meta-analysis (a GPU wrapper for NiMARE) - amnsbr/nimare-gpu
Iβm now a bit obsessed with GPUs π€ They have great potential for scaling up neuroimaging and neuroscience analyses π
Coming up next: GPU-accelerated neuroimaging meta-analyses (work in progress π§: github.com/amnsbr/nimar...)
20/n
14.11.2025 17:29 β
π 3
π 1
π¬ 1
π 0
This started as a small weekend curiosity and turned into a very fun project.
I learned a lot along the way, and I hope cuBNM helps others with their modeling studies.
19/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
GitHub - amnsbr/cubnm: A toolbox for brain network modeling on GPUs
A toolbox for brain network modeling on GPUs. Contribute to amnsbr/cubnm development by creating an account on GitHub.
Community contributions are very welcome π
If youβre interested to contribute new models, implement features, or help maintain the toolbox, visit the GitHub repo: github.com/amnsbr/cubnm
18/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
A few technical details: The frontend is written in Python (for ease of use), but to optimize efficiency, the simulation core is written in CUDA and C++. And not just simulations, but also calculation of FC, FC dynamics and goodness of fit measures is done on GPUs π
17/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
As examples of the utility of these individualized models, we investigated test-retest reliability and heritability of simulated (and empirical) measures in the HCP dataset, and found simulated features to be fairly reliable and heritable.
15/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
This took a total of 1,426 hours on A100 GPUs (still considerable!) but multi-core supercomputer CPU nodes would have required 11x more time, 31x more cost and 14x more energy to do the same!
14/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
A key advantage of cuBNMβs GPU implementation is to make it possible to fit large numbers of individualized BNMs, in batches!
To demonstrate this, we built individualized models for 430 HCP participants, running >28 million simulations.
13/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
cuBNM also supports regional heterogeneity of parameters, using map-based and node-based approaches.
To demonstrate these approaches in the preprint, we applied them to fit group-level models of the HCP data, and as expected, found them to outperform the homogenous model.
12/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
Two optimization approaches are included in cuBNM:
1οΈβ£ grid search
2οΈβ£ evolutionary optimizers (via pymoo, with CMA-ES as the featured method)
We demonstrate both in the preprint by fitting the rWW model to the group-averaged HCP data.
11/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
cuBNM currently includes five commonly used models (with rWW model featured in tutorials and the preprint).
New models can be added via YAML model specification files. And a guide for contributing new models is included in the documentation.
10/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
Tutorials - cubnm documentation
Check out our comprehensive tutorials cubnm.readthedocs.io/en/stable/tu... and read the preprint to learn how to π
And feel free to get in touch if you needed help.
9/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
Using cuBNM, if you have access to a few GPUs*, you can quickly and easily create individualized BNMs for your own dataset. All you need is: resting-state BOLD & structural connectivity (from each subjectβs DWI, or a template SC).
* CPUs are also supported, but are not our focus.
8/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
Why are GPUs so much faster?
GPUs are designed for parallel processing, so computations across both *simulations* and *nodes* can be massively parallelized π§ βοΈ
7/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
GPU implementation also makes it feasible to simulate denser networks with thousands of nodes: Compute time with number of nodes increases near-quadratically on CPUs, but near-linearly on GPUs.
6/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
On GPU, compared to single-core CPU, simulations can run up to 1000+ times faster (typically: 400-800x faster).
For example, running 32,768 simulations would take 3.8 *days* on a single-core CPU, but only 5.6 *minutes* on a data-center A100 GPU β‘
5/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
So we thought: why not use GPUs to parallelize simulation calculations and make them faster? We tried it, and β¦ it paid off really well π₯³Then we turned it into the cuBNM toolbox!
4/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
We experienced this directly during my PhD work on adolescent maturation of E-I ratio. We needed to fit individualized models for several hundred subjects, using more complex models, and quickly ran into the limits of CPU-based implementations.
3/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
Brain network models (BNMs) are great tools for investigating latent neural properties at micro-/mesoscale (such as excitation-inhibition ratio) using simulations. Despite their usefulness, the computational cost of simulation has limited their application at larger scales.
2/n
14.11.2025 17:29 β
π 0
π 0
π¬ 1
π 0
β¨ New preprint β¨
Introducing cuBNM, a toolbox we developed to run brain simulations *much* more efficiently on GPUs ππ
Preprint: www.biorxiv.org/content/10.1...
Documentation: cubnm.readthedocs.io/en/stable/
GitHub: github.com/amnsbr/cubnm
1/n π§΅
14.11.2025 17:29 β
π 9
π 3
π¬ 1
π 0
Excited to share that our work introducing the Reproducible Brain Charts (RBC) data resource is now published in Neuron!! π
π Read the paper: authors.elsevier.com/c/1lpaF3BtfH...
π§ Explore the RBC dataset: reprobrainchart.github.io
22.09.2025 21:51 β
π 71
π 39
π¬ 3
π 2
The effect of spherical projections on spin tests for brain maps | doi.org/10.1162/IMAG...
Spin tests are the de facto null model for map-to-map comparisons in brain imaging. Why don't they perfectly control false positives? @vincebaz.bsky.social explores ‡οΈ
10.09.2025 13:06 β
π 25
π 14
π¬ 1
π 1
π¨ Excited to share the latest preprint form the lab β‘οΈhttps://tinyurl.com/32d3be9f
Here we tackle a long-standing chicken-or-egg π£π₯question in #autism and developmental neuroscience
β‘οΈ Is excitationβinhibition (E:I) imbalance a "cause" or a "consequence" of #autism?
Check out what we found!
π§΅1/n
10.09.2025 15:08 β
π 64
π 34
π¬ 1
π 5
Integrating and interpreting brain maps | doi.org/10.1016/j.ti...
Imaging and recording technologies make it possible to map multiple biological features of the brain. How can these features be conceptually integrated into a coherent understanding of brain structure and function? ‡οΈ
04.08.2025 14:26 β
π 74
π 42
π¬ 1
π 0
My lab is at @ohbmofficial.bsky.social in Brisbane! Find us at the @gradientsworkshop.bsky.social - great talks by @wanb.bsky.social Katerina Manoli (and others)
Then we are at the educational sessions where @claraweber.bsky.social will present @amnsbr.bsky.social work on E/I balance.
21.06.2025 11:47 β
π 16
π 4
π¬ 1
π 0
... and functional changes e.g., faster and stronger IPSCs, and an increase in parvalbumin expression which (at least in one study) was not mirrored by an increase in PV cell counts. I can recommend Caballero 2014 Brain Struct Func, Caballero 2016 Neuro Biobeh Rev, and Hoftman 2017 Biol Psychiatry.
06.06.2025 18:22 β
π 1
π 0
π¬ 1
π 0