Neural deformation fields for template-based reconstruction of cortical surfaces from MRI

Fabian Bongratz, Anne-Marie Rickmann, Christian Wachinger

TL;DR

Vox2Cortex-Flow (V2C-Flow) is a novel deep-learning framework that reconstructs high-resolution cortical surfaces from MRI scans in under two seconds—roughly 10,000 times faster than traditional tools like FreeSurfer. By modeling brain surface deformation as a continuous flow using Graph Neural Ordinary Differential Equations (Graph NODEs), it achieves state-of-the-art accuracy while maintaining inherent point-wise correspondences for immediate downstream analysis.

What Problem Does This Paper Address?

Quantitative analysis of the human cerebral cortex—measuring its thickness, area, and folding—is vital for studying aging and neurodegenerative diseases. However, the cortex is a thin, highly folded sheet, making accurate reconstruction difficult.

Existing approaches fall into two camps, both with significant drawbacks:

  1. Traditional Pipelines (e.g., FreeSurfer): These are highly accurate but computationally expensive, often taking hours to process a single scan. They also require separate, complex registration steps to compare different subjects.
  2. Voxel-based Deep Learning: These methods are fast but operate on a discrete grid, leading to "staircase" artifacts and a lack of sub-voxel precision.

Furthermore, most methods reconstruct the inner (white matter) and outer (pial) surfaces independently, which can lead to anatomically impossible results where the two surfaces intersect.

Fig. 1: The smooth and tightly folded geometry of the cortex is better represented by mesh-based surface extraction methods than by voxel-based segmentation methods. Inner white matter (WM) and outer pial surfaces of each hemisphere were extracted from a T1-weighted MRI scan with the proposed V2C-Flow method (mesh-based) and the popular nnUNet (Isensee et al., 2020) with subsequent application of Marching Cubes (voxel-based). While voxel-based methods attempt to classify each voxel, mesh-based approaches focus on delineating the contours between distinct tissue types; this fundamental difference is depicted on the left for an axial slice of the MRI scan.

Methods

The authors introduce Vox2Cortex-Flow (V2C-Flow), which treats surface reconstruction as a template-deformation problem. Instead of predicting a surface from scratch, the model takes a standard "template" brain mesh and learns how to warp it to match a specific patient's MRI.

Key technical innovations include:

  • Graph NODEs: The deformation is modeled as a continuous-time process described by an Ordinary Differential Equation (ODE). The network learns the "velocity field" that moves template vertices to their final positions. This is integrated numerically using a forward Euler scheme, resulting in smoother and more regular meshes.
  • Hybrid Architecture: A 3D UNet (F-CNN) extracts volumetric features from the MRI, while a Graph Neural Network (GNN) operates directly on the mesh vertices. These are linked by a feature-sampling module that maps image data onto the moving mesh.
  • Joint Modeling with Virtual Edges: To prevent surfaces from crashing into each other, V2C-Flow reconstructs all four surfaces (left/right white matter and pial) simultaneously. It uses "virtual edges" in the GNN to allow information exchange between the inner and outer boundaries during the deformation process.
  • Curvature-Weighted Loss: The model uses a specialized Chamfer loss that gives more weight to highly curved regions (like the bottoms of sulci), ensuring the model doesn't "cut corners" in complex folds.
Fig. 2: V2C-Flow extracts inner white matter (WM) and outer (pial) cortical surface meshes from MRI. Computed surfaces have point-wise correspondences to the input template. The rainbow-colored surfaces are real distinct surfaces extracted by V2C-Flow, with corresponding vertices having identical colors. To this end, a deformation field relative to the template’s vertices V(t), modeled as a neural ordinary differential equation (NODE), is predicted. The deformation is conditioned on the input MRI scan. The boundary condition of the ODE is given at t = 0 by the template. The network consists of a fully-convolutional neural network (F-CNN) and a graph neural network (GNN), operating in image and mesh space, respectively. Both networks are connected by a feature-sampling module that maps image features onto vertices. Skip connections within CNN blocks are omitted for the sake of clarity.

Datasets

The study utilizes six diverse, publicly available datasets to ensure robustness and generalization:

  • ADNI: The primary dataset for training and internal testing (1,647 subjects).
  • OASIS-1: Used for external validation (416 subjects).
  • Mindboggle-101: Used for external validation (101 subjects).
  • J-ADNI: A Japanese cohort used to test generalization across different populations (502 subjects).
  • Test-retest (TRT): Used to assess the consistency of reconstructed points across multiple scans of the same person.
  • JHU Manual Landmarks: A specialized dataset with expert-placed landmarks used to validate accuracy near white matter lesions.

Key Insights and Ideas

  • Inherent Registration: Because every subject's brain is a deformed version of the same template, every vertex in the output mesh has a known "home" on the template. This means researchers can perform group studies or atlas-based parcellation immediately, skipping the hours-long registration process usually required.
  • Continuous vs. Discrete Deformation: Modeling the deformation as a continuous flow (ODE) rather than a single displacement step significantly improves geometric regularity and accuracy, especially in the tight folds of the cortex.
  • Joint Surface Learning: Sharing parameters and using virtual edges between the white matter and pial surfaces effectively eliminates the anatomical errors (intersections) common in other deep learning baselines.

Key Results

  • Speed: V2C-Flow processes a full brain (four surfaces) in 1.6 seconds on a modern GPU.
  • Accuracy: It achieves an Average Symmetric Surface Distance (ASSD) of less than 0.185mm relative to FreeSurfer "silver standard" labels, outperforming previous template-based deep learning methods.
  • Consistency: In test-retest experiments, V2C-Flow showed higher vertex-wise consistency than the standard FreeSurfer registration pipeline, suggesting it captures anatomical structure more reliably across scans.
  • Robustness: The model outperformed FreeSurfer in regions with white matter lesions (common in Multiple Sclerosis), where traditional intensity-based methods often struggle.

Limitations and Future Work

While V2C-Flow is a major step forward, the authors note a few limitations:

  • Self-Intersections: Although joint modeling prevents WM/pial intersections, the mesh can still occasionally intersect with itself in extremely tight folds, which may require post-processing for certain applications.
  • Pathology: The model has not yet been validated on brains with major structural distortions, such as large tumors.
  • Silver Standard Reliance: The model is trained on labels generated by FreeSurfer. While FreeSurfer is the industry standard, it is not perfect, and the model may inherit some of its systematic biases.

Future work could involve training on even higher-resolution data or incorporating topological guarantees to ensure the resulting meshes are always perfectly manifold.

Summary updated

BibTeX
@article{bongratz2024neural,
  author = {Fabian Bongratz and Anne-Marie Rickmann and Christian Wachinger},
  title = {{Neural deformation fields for template-based reconstruction of cortical surfaces from MRI}},
  journal = {Medical Image Analysis},
  year = {2024},
  doi = {10.1016/j.media.2024.103093},
}
Figure