Fast refacing of <scp>MR</scp> images with a generative neural network lowers re‐identification risk and preserves volumetric consistency

Nataliia Molchanova, Bénédicte Maréchal, Jean‐Philippe Thiran, Tobias Kober, Till Huelnhagen, Jonas Richiardi, the Alzheimer's Disease Neuroimaging Initiative

Introduction

Open science in neuroimaging relies on the widespread sharing of high-resolution 3D MRI scans. However, these scans often contain identifiable facial features that can be reconstructed into 3D models, posing a significant privacy risk. Traditional solutions like "defacing" (removing facial voxels) often interfere with automated analysis tools that expect a complete head shape. Conversely, "refacing" (replacing the face with a template) is often computationally prohibitive. This paper presents a 3D conditional Generative Adversarial Network (cGAN) designed to "reface" MRI scans rapidly, protecting privacy while maintaining structural integrity for downstream analysis.

Methodology: The 3D cGAN Approach

The researchers developed a 3D cGAN based on the vox2vox architecture. The system utilizes a 3D U-Net generator with residual blocks and a PatchGAN discriminator. To improve image quality, an $L_{1.5}$ loss term was employed instead of the standard $L_1$ loss, resulting in sharper synthetic features.

A synthetic face generated by the 3D cGAN to replace identifiable features while maintaining head geometry.

The pipeline begins with a "defaced" image—where the original face has been removed—and uses the cGAN to "inpaint" a new, synthetic face. To ensure every generated face is unique and not a mere reproduction of training data, internal noise is injected via dropout layers during the inference phase.

Key Insights: The "Face Matters" Paradox

While neuroimaging research focuses on the brain, the presence of a face is critical for the geometric context required by automated segmentation and skull-stripping algorithms. The study demonstrates that refaced images yield significantly more consistent brain volume measurements compared to defaced images, which often "break" these tools.

Segmented brain MRI illustrating the structural regions that must remain consistent after refacing.

Results and Discussion

The cGAN approach was evaluated against industry standards like pydeface and mri_reface using the TADPOLE dataset (738 scans):

  • Efficiency: The cGAN processed scans in just 9 seconds on a CPU, compared to over 15 minutes for traditional template-based methods. This speed makes it feasible for massive biobanks.
  • Privacy: Using the ArcFace recognition model, the cGAN achieved a "potentially identifiable" rate of 9.8%, a marked improvement over mri_reface (23.5%).
  • Consistency: Volumetric measurements for regions like the hippocampus remained highly reproducible, matching or exceeding the performance of existing tools.

While currently optimized for T1-weighted images in older populations, this fast, generative approach offers a scalable solution for anonymizing neuroimaging data without compromising scientific utility.

Summary updated

BibTeX
@inproceedings{molchanova2024fast,
  author = {Nataliia Molchanova and Bénédicte Maréchal and Jean‐Philippe Thiran and Tobias Kober and Till Huelnhagen and Jonas Richiardi and the Alzheimer's Disease Neuroimaging Initiative},
  title = {{Fast refacing of <scp>MR</scp> images with a generative neural network lowers re‐identification risk and preserves volumetric consistency}},
  booktitle = {Human},
  year = {2024},
  doi = {10.1002/hbm.26721},
}
Figure