Amortizing Personalization in Virtual Brain Twins
Nina Baldy✉, Marmaduke M. Woodman, Viktor K. Jirsa · 2025
Read Amortizing Personalization in Virtual Brain Twins by Nina Baldy✉, Marmaduke M. Woodman, Viktor K. Jirsa (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-21155.txt.
Introduction
Nina Baldy, Marmaduke Woodman, and Viktor Jirsa tackle a privacy problem in brain modeling. Their 2025 paper deals with virtual brain twins, digital models tuned to one person's brain. Such models help read brain scan data in a mechanistic way. But training them needs personal data, and clinic use must stay light on resources.
Their answer is anonymized personalization. The model's prior range is widened to include personal tuning from the start. Training can then run without named personal data, while later use stays personal and cheap. They show the basic approach and test its reliability on an example. The paper weighs what this means for lab and computing work on the brain. Code is shared in public.
Catalog record
| CREATOR | Nina Baldy✉, Marmaduke M. Woodman, Viktor K. Jirsa |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 21 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2506-21155
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Amortizing Personalization in Virtual Brain Twins Nina Baldy✉, Marmaduke M. Woodman, Viktor K. Jirsa Abstract Virtual brain twins are personalized digital models of individual human subject or patient’s brains, allowing for mechanistic interpretation of neuroimaging data features. Training & inference with these models however presents a pair of challenges: (a) large shared infrastructure do not allow for use of personal data and (b) inference in clinical applications should not require significant resources. We introduce "anonymized personalization" to address both by expanding model priors to include personalization which under amortized inference allows training to be performed anonymously, while inference is both personalized and lightweight. We illustrate the basic approach, demonstrate reliability in an example, and discuss the impact on both experimental and computational neuroscience. Code is available at https://github.com/ins-amu/apvbt . 1 Introduction Virtual brain twins (VBTs) represent a synthetic approach in computational neuroscience, offering personalized digital models of individual brains that enable mechanistic interpretations of neuroimaging data features [ 6 ] [ 20 ] [ 13 ] [ 7 ] and the underlying causal organization [ 10 ] [ 5 ] . These models hold significant potential for advancing our understanding of brain function, neurological disorders, and personalized medicine. However, their broad application present significant challenges that must be addressed to fully realize their clinical and research utility. One major challenge lies in the training and inference processes required for these models. Traditional approaches often rely on large shared infrastructure [ 17 ] , which poses a critical barrier due to the sensitivity of brain imaging data. The use of such infrastructure requires stringent privacy protections, complicating the integration of sensitive patient information into model development. Additionally, use in the clinic requires efficient and resource-light inference methods to ensure practicality in real-world settings. To overcome these challenges, we propose expanding model priors to incorporate personalization within an amortized inference framework. This approach allows for anonymous training while enabling personalized and lightweight inference, addressing both the privacy concerns associated with sensitive data and the computational demands of clinical applications. By integrating prior knowledge about brain structure and function into the model architecture, we can train models without direct access to individual patient data, thereby preserving privacy while maintaining the ability to generate accurate and personalized VBTs. This paper is organized as follows: Section 2 outlines our methodology, detailing how we expand model priors for personalization and implement amortized inference. Section 3 presents our results, including an assessment on a test case. Finally, Section 4 discusses the broader implications of this work for computational neuroscience and clinical applications. 2 Methods 2.1 Virtual brain twins Figure 1: Virtual brain twins provide mechanistic interpretation of neuroimaging data. An example of amortized inference workflow as developed by Hashemi et al. [ 7 ] for clinical epilepsy. MRI images (T1 & diffusion-weighted) are used to reconstruct brain geometry, parcellation & connectome. Nonlinear dynamics are assigned to each node, with connectome providing the interactions between nodes. The model is simulated for many samples in parameter space, training a deep Bayesian estimator to map data features to posterior distributions over model parameters. Once trained, the estimator can be rapidly applied to unseen data to provide new inferences. This figure from Hashemi et al. [ 7 ] was reproduced with permission. VBT models describe whole brain neural activity, and, through forward models, neuroimaging data such as EEG or fMRI. The models are composed of a set of nodes representing regions of the brain, each with dynamics described by differential equations, and a connectome, which describes the weighted connections between the regions, usually derived from diffusion weighted imaging, as described below in Section 2.2 . For the models used here, we employ a low dimensional description of neural dynamics [ 14 ] , in terms of N nodes’ mean firing rates {\bm{r}}(t) and mean membrane potentials {\bm{v}}(t) , \displaystyle\dot{{\bm{r}}} \displaystyle=\Delta/\pi+2{\bm{r}}{\bm{v}}+k{\bm{C}}{\bm{r}} (1) \displaystyle\dot{{\bm{v}}} \displaystyle={\bm{v}}^{2}+\eta+J{\bm{r}}+I-\pi^{2}{\bm{r}}^{2} (2) where {\bm{C}} is the matrix of connectome weights, and default parameter values \tau=1.0 , I=0.0 , \Delta=1.0 , J=15.0 , \eta=-5.0 generate bistable dynamics. Simulations of the VBT model involves sampling parameters of interest, integrating the differential equations (potentially stochastic and/or delayed), computing relevant data features. For our tests, we consider as parameters only coupling scaling k and noise scaling D as parameters of interest, with uninformative uniform priors, i.e. k\sim U(0.1,0.3) and D~\sim U(0.2,0.4) . The data feature used for inference is the mean value of {\bm{r}}_{i}(t) at steady state. A typical workflow for inference with a VBT is illustrated in Figure 1 . The canonical computational implementation for simulating such models is provided by The Virtual Brain software package [ 16 ] , freely available from https://thevirtualbrain.org . 2.2 Personal data: connectomes In typical use of VBTs, the personal data of interest is the set of connection weights describing how regions in the brain communicate, enabling the model to provide personalized predictions of brain dynamics. In this report, we make use of MRI scans 461 subjects across a German cohort in the 1000BRAINS project (1KB) over a range of ages collected by [ 3 ] and an American cohort of subjects part of the Human Connectome Project (HCP) described by [ 19 ] , with the connectomes reconstructed under 20 parcellations by [ 12 ] . Because the connectomes represent raw counts of tracks between regions with large variance, they are preprocessed by (a) clipping values to 1 to 99th percentiles, (a) normalizing between 0 and 1, and (c) taking the square root per connectome, then removing the mean over all connectomes, such that subsequent steps work with residual deviations around preprocessed mean connectomes. 2.3 Priors over personal data While inference with VBTs has generally taken the connectome as a fixed piece of data on which the model and posterior are conditioned, we will instead consider the connectome as a parameter to be inferred, alongside the other parameters of interest. Human connectomes derived from diffusion-weighted imaging are symmetric, leading to additional (N^{2}-N)/2 parameters (ignoring self connections). We regularize this high-dimensional set of parameters by introducing a low-rank representation, in an approach similar to an autoencoder [ 8 ] that we term cross-coder since it collects information across parcellations: each subject in the dataset has their connectome represented in 20 parcellations. We train a two layer architecture to encode the connectome of a subject shown in Figure 2 , from all parcellations into the same latent space, and decode from that latent space to all parcellations, with a l_{2} loss: Figure 2: Cross-coder architecture encodes connectomes. The cross-coder architecture, inspired by autoencoder, takes the subject connectome data in the i th parcellation, encodes with a single dense layer to a latent space and decodes to the j th parcellation, with a l_{2} loss on the reconstruction error. Each encoder is informed not only by its own parcellation but also errors due to decoding to all other parcellations, and similarly for each decoder. L_{2}=\sum_{i,j,k}\|{\bm{c}}_{j,k}-\left(({\bm{c}}_{i,k}{\bm{W}}_{i}^{e}+{\bm{b}}_{i}^{e})^{T}{\bm{W}}_{j}^{d}+{\bm{b}}_{j}^{d}\right)^{T}\| (3) where {\bm{c}}_{i,k} is a vector containing the upper triangle of the connectome for the k th subject in the i th parcellation, {\bm{W}}_{i}^{e} and {\bm{b}}_{i}^{e} are the weights matrices and bias vectors for the encoder from the i th parcellation, {\bm{W}}_{i}^{d} and {\bm{b}}_{i}^{d} similarly for the decoder. Stochastic gradient descent is performed