Weakly Supervised Learning of Cortical Surface Reconstruction from Segmentations

Qiang Ma, Liu Li, Emma C. Robinson, Bernhard Kainz, Daniel Rueckert

Abstract

Existing learning-based cortical surface reconstruction approaches heavily rely on the supervision of pseudo ground truth (pGT) cortical surfaces for training. Such pGT surfaces are generated by traditional neuroimage processing pipelines, which are time consuming and difficult to generalize well to low-resolution brain MRI, e.g., from fetuses and neonates. In this work, we present CoSeg, a learning-based cortical surface reconstruction framework weakly supervised by brain segmentations without the need for pGT surfaces. CoSeg introduces temporal attention networks to learn time-varying velocity fields from brain MRI for diffeomorphic surface deformations, which fit an initial surface to target cortical surfaces within only 0.11 seconds for each brain hemisphere. A weakly supervised loss is designed to reconstruct pial surfaces by inflating the white surface along the normal direction towards the boundary of the cortical gray matter segmentation. This alleviates partial volume effects and encourages the pial surface to deform into deep and challenging cortical sulci. We evaluate CoSeg on 1,113 adult brain MRI at 1mm and 2mm resolution. CoSeg achieves superior geometric and morphological accuracy compared to existing learning-based approaches. We also verify that CoSeg can extract high-quality cortical surfaces from fetal brain MRI on which traditional pipelines fail to produce acceptable results.

Introduction

Mapping the inner (white matter) and outer (pial) surfaces of the cerebral cortex is a cornerstone of modern neuroscience, enabling the study of brain development and disease. However, the field faces a significant computational bottleneck. Traditional neuroimaging pipelines, such as FreeSurfer or the HCP pipeline, are computationally intensive, often requiring over six hours to process a single subject.

Recent deep learning approaches have attempted to accelerate this process, but they are hindered by a "circular logic" problem: they require high-quality pseudo-ground truth (pGT) surfaces for training. These pGT surfaces are themselves products of the slow traditional pipelines the AI aims to replace. When these legacy pipelines fail—particularly on low-resolution scans of fetuses or neonates—the learning-based models lack reliable data to learn from. Furthermore, existing methods often struggle with "partial volume effects," where the model cannot distinguish between closely packed cortical folds (sulci), leading to inaccurate or topologically incorrect reconstructions.

Methodology

CoSeg addresses these challenges by breaking the dependency on pre-generated surface meshes, opting instead for a weakly supervised approach.

1. Weak Supervision from Segmentations

Rather than requiring perfect 3D meshes for training, CoSeg utilizes cortical ribbon segmentations (voxel-based maps of brain tissue). These segmentations are significantly easier to obtain and demonstrate greater robustness across different age groups and scan resolutions compared to surface meshes.

The CoSeg framework architecture, utilizing a 3D U-Net and Temporal Attention Network for diffeomorphic surface reconstruction.

2. Temporal Attention Networks (TA-Net)

The framework employs a TA-Net to learn diffeomorphic deformations. By treating surface reconstruction as a fluid-like "flow" governed by Ordinary Differential Equations (ODEs), CoSeg learns a time-varying velocity field (TVF). This ensures that the resulting mesh is mathematically "well-behaved," preserving the brain's topology and preventing geometric artifacts like holes or self-intersecting surfaces.

3. The Inflation Loss

To accurately capture deep cortical sulci, the researchers developed a novel inflation loss function. Standard distance-based losses often cause the surface to "bridge" across narrow folds. CoSeg’s inflation loss forces the pial surface to expand strictly along its normal direction (outward from the white matter surface). This biologically inspired constraint pushes the surface deep into the narrow valleys of the brain folds, capturing complex geometry that previous models often missed.

Experimental Results

The model was rigorously evaluated using two primary datasets: the HCP (Human Connectome Project) Young Adult Dataset (1,113 scans) for quantitative benchmarking at 1mm and 2mm resolutions, and the dHCP (developing Human Connectome Project) Fetal Dataset (241 scans) to test generalization on high-difficulty clinical data.

Computational Efficiency

CoSeg achieves a dramatic reduction in processing time. While traditional pipelines require roughly 6 hours (21,600 seconds) per subject, CoSeg reconstructs a brain hemisphere in just 0.11 seconds on a standard GPU. This represents a speedup of several orders of magnitude over both traditional and existing learning-based methods.

Qualitative comparison and inference times for various cortical surface reconstruction methods.

Geometric Accuracy

On the HCP dataset, CoSeg demonstrated superior geometric accuracy compared to state-of-the-art methods like Vox2Cortex and CortexODE, particularly at lower (2mm) resolutions. By supervising with segmentations rather than pGT surfaces, CoSeg effectively removes the "performance ceiling" imposed by legacy software, allowing it to potentially surpass the accuracy of the tools used to generate its training data.

Conclusion and Future Work

CoSeg represents a significant advancement in cortical surface reconstruction, offering a fast, robust, and accurate alternative to traditional pipelines. Its ability to handle fetal brain MRI where traditional methods fail opens new avenues for prenatal clinical diagnostics.

Future research will focus on refining the dependency on initial voxel segmentations. The authors plan to explore semi-supervised learning techniques to allow the model to learn directly from raw MRI intensities, further enhancing anatomical fidelity and reducing the need for any pre-processing steps.

Summary updated

BibTeX
@inproceedings{ma2024weakly,
  author = {Qiang Ma and Liu Li and Emma C. Robinson and Bernhard Kainz and Daniel Rueckert},
  title = {{Weakly Supervised Learning of Cortical Surface Reconstruction from Segmentations}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
}
Figure