From multimodal MRI and brain mechanics to postoperative cognition: a single-patient proof-of-concept
October 2026
Written for neuro-oncologists, neurosurgeons, clinical neuroscientists and neuropsychologists.
Navigation: ← → between sections · ↓ for deep dives · M menu · O overview · F full screen · S speaker notes
Research prototype, not for clinical use.
The results come from one patient (sub-PAT16, open OpenNeuro data). This is a working methods demonstration, not a validated predictive tool. It is not a medical device.
Code, data and notebooks (open):
github.com/arvidl/glioma-brain-digital-twin-public
Clinical question: can we model, for an individual patient, which functions are at risk and why, before and after surgery?

sub-PAT16: pre-operative tumour outline (red), right fronto-temporal/insular, ≈45 cm³ on the segmentation mask.
A patient-specific computational replica that links what we can measure (MRI, cognition) with what we can model (tissue mechanics, network dynamics). It is used to explore what happens if.
The chain ends in cognition and psychosocial state, the outcomes patients care about. That last link is what lets clinical data test the model.
Today’s twin is a one-off, retrospective reconstruction. It is not yet continuously updated with new data, and it is not used for prediction in practice.
| sub-PAT16 | |
|---|---|
| Sex, age | Male, 39 |
| Diagnosis (as labelled in the dataset) | Anaplastic astrocytoma, WHO II–III |
| Location | Right fronto-temporal / insular |
| Tumour volume | 45–50 cm³ |
| Scanner | Siemens TrioTim 3 T |
| Sessions | Pre-op and post-op |
Open data: Brain Tumor Connectomics, OpenNeuro ds001226 / ds002080, CC0 licence (Aerts et al. 2018, 2022). The diagnosis uses pre-2021 WHO terminology. Molecular markers (such as IDH status) are not available.

The same five data types are available before and after surgery: T1w MRI, diffusion MRI, resting-state fMRI, CANTAB, and psychosocial questionnaires. That pairing is what makes the case useful for testing a twin.
| Test | Domain | Main circuits | Metric (better =) |
|---|---|---|---|
| MOT Motor screening | Basic motor response | precentral, paracentral | latency (lower) |
| RTI Reaction time | Processing speed, attention | precentral, superior frontal, basal ganglia–thalamocortical | RT (lower) |
| RVP Rapid visual processing | Sustained attention | dorsolateral PFC, inferior parietal | A′ (higher) |
| SOC Stockings of Cambridge | Planning, executive | dorsolateral PFC, pars opercularis | min-move solutions (higher) |
| SSP Spatial span | Visuospatial working memory | caudal middle frontal, superior parietal, precuneus | span (higher) |
Raw scores only. There are no normative z-scores, and there is one pre-op and one post-op session. Practice effects and test–retest variability are not modelled.
Worry, coping and isolation affect attention and executive performance independently of the lesion (Eysenck et al. 2007; Gross 2015).

Resection cavity in the right temporal/insular region. Registering the post-op scan to the pre-op scan gives a measured displacement field, which is the “ground truth” the mechanics model is later compared against.
Pre-op FreeSurfer segmentation and Desikan–Killiany parcellation in Freeview. These 68 cortical regions are the nodes of the network model.
Tractography near tumour and oedema is biased. Pathways may be missed or invented.

FA and MD maps also inform the tissue stiffness used in the mechanics model.

68×68 structural connectivity, the network on which the dynamics model runs.
BOLD is an indirect, haemodynamic signal. The tumour and the surgery can change neurovascular coupling itself.

Empirical FC is the “target” a whole-brain model should reproduce.
Interactive 3D patient geometry: drag to rotate, scroll to zoom, click legend entries to show or hide structures.

Adding mass-effect release moves the model closer to reality than gravity alone does.
It still underestimates the measured shift (peak ≈ 2 mm vs ≈ 13 mm). Voxel-wise agreement is poor (r ≈ −0.16), so the mechanics layer is the weakest link today.

Measured deformation is right-lateralised (≈ 3× the left side) and concentrated in temporal–insular parcels. FC changes relate only weakly to it (r ≈ −0.30).
Linear elasticity on the patient mesh, with heterogeneous parameters:
\[ -\nabla\cdot\sigma(u) = f, \qquad \sigma = 2\mu(x)\,\varepsilon(u) + \lambda(x)\,(\nabla\cdot u)\,I,\qquad \varepsilon = \tfrac12(\nabla u + \nabla u^\top) \]
Material parameters are not fitted to this patient. Estimating them from pre/post imaging is an open inverse problem.

The coupling visibly changes the simulated network. But the fit to the patient’s own FC is weak (r ≈ 0.08), and coupling does not reduce the error. The dynamics are not yet fitted to the patient.

The domain-to-parcel mapping is broad and literature-based. It is not patient-specific, and it does not take hemisphere into account.

| Domain | Predicted vulnerability | Observed change | Zone |
|---|---|---|---|
| Executive function (SOC) | 23.3 % | 0.0 % | Expected preservation |
| Sustained attention (RVP) | 21.4 % | +0.2 % | Expected preservation |
| Attention / speed (RTI 5-choice) | 20.2 % | +9.5 % | Resilience / plasticity |
| Processing speed (RTI simple) | 17.3 % | +14.4 % | Resilience / plasticity |
| Working memory (SSP) | 13.0 % | +16.7 % | Resilience / plasticity |
| Motor (MOT) | 11.6 % | −3.3 % | Expected preservation |
What this shows: the chain from mechanics to cognition runs end to end, and mismatches become visible and discussable.
What it does not show: no observed decline exceeds 5 %, so no deficit is “confirmed”. Two sessions cannot separate real recovery from practice effects or test–retest noise.
Next step: use reliable-change indices and normative z-scores, add psychosocial state as explicit model variables, and test in many patients.
Supported by this work
Not yet supported
| Stage | Goal | Key requirement |
|---|---|---|
| Now | Proof-of-concept (this work) | Transparent, open, reproducible pipeline |
| 1–2 years | Multi-patient validation (full BTC cohort, n = 25) | Out-of-sample testing, uncertainty, baselines |
| 3–5 years | Pre-surgical prediction | Does a pre-op twin predict the post-op state better than simpler models? |
| Vision | Decision support | In-silico comparison of resection or rehabilitation scenarios, with prospective evaluation |
The decisive experiment is prospective: build the twin from pre-operative data only, predict the post-operative state, and compare against simple clinical models.
α, excitability shift, bifurcation λ) the data can actually constrain.AI-generated video (Google Gemini Veo, Nov 2025) from a single photo and a text prompt.
Generative video is plausible, not physical. Clinical twins need mechanistic constraints and validation, not just realism.
Explore, reproduce and challenge it: github.com/arvidl/glioma-brain-digital-twin-public
| Term | Meaning |
|---|---|
| Digital twin | Patient-specific computational model linked to that patient’s measured data |
| BIDS | Brain Imaging Data Structure, a standard folder layout for neuroimaging data |
| DK68 | Desikan–Killiany atlas: 68 cortical regions (34 per hemisphere) |
| SC | Structural connectivity: white-matter connection strength between regions (from tractography) |
| FC | Functional connectivity: correlation of resting-state BOLD signals between regions |
| FA / MD | Fractional anisotropy / mean diffusivity, diffusion MRI measures of tissue microstructure |
| FEM | Finite-element method, a numerical solution of tissue mechanics on a mesh |
| Hopf model | Whole-brain model in which each region is an oscillator near a bifurcation point |
| α (alpha) | Coupling strength: how strongly local strain weakens structural connections |
| CANTAB | Cambridge Neuropsychological Test Automated Battery |
| Reliable change index | Statistic testing whether a score change exceeds measurement error |
NB_C01–NB_C09 (runnable in Google Colab).python data/download_data.py --capstone, from the OpenNeuro BTC datasets (CC0) plus project derivatives.presentation/build_figures.py.Licences: code MIT · text and figures CC-BY-4.0 · data CC0 (cite Aerts et al.).
Glioma Brain Digital Twin · single-patient proof-of-concept · not for clinical use