Latent Disentanglement in Mesh Variational Autoencoders Improves the Diagnosis of Craniofacial Syndromes and Aids Surgical Planning

Simone Foti, Alexander J. Rickart, Bongjin Koo, Eimear O' Sullivan, Lara S. van de Lande, Athanasios Papaioannou, Roman Khonsari, Danail Stoyanov, N. u. Owase Jeelani, Silvia Schievano, David J. Dunaway, Matthew J. Clarkson

This paper presents a novel deep learning framework using a Swap Disentangled Variational Autoencoder (SD-VAE) to analyze 3D head shapes for diagnosing rare craniofacial syndromes. By disentangling the latent space into specific anatomical regions, the researchers achieved perfect diagnostic accuracy while enabling interpretable, region-by-region analysis and the ability to simulate surgical outcomes.

TL;DR

The researchers developed a mesh-based autoencoder that "untangles" the complex geometry of the human head into 15 distinct anatomical regions. This allows for 100% accurate diagnosis of Crouzon, Apert, and Muenke syndromes and provides a quantitative tool for surgeons to simulate and evaluate different surgical procedures.

What Problem Does This Paper Address?

Craniofacial syndromes like Crouzon and Apert involve premature fusion of skull sutures, leading to significant deformities and life-threatening intracranial pressure. Traditionally, surgeons have relied on "morphometrics"—simple measurements like distances and angles—to plan corrective surgeries.

While deep learning offers a more powerful way to analyze these complex 3D shapes, most existing models are "black boxes." They might tell you a patient has a specific syndrome, but they can't easily explain which part of the face led to that conclusion. Furthermore, these syndromes are rare, meaning there isn't enough data to train standard deep learning models without running into severe "class imbalance" (where the model sees far more healthy examples than syndromic ones).

Methods

The core of this work is the Swap Disentangled Variational Autoencoder (SD-VAE). Unlike a standard VAE that compresses an entire shape into a single vector, the SD-VAE is trained to partition its latent space into 15 subsets, each controlling a specific anatomical region (e.g., the nose, orbits, or upper lip).

Key technical innovations include:

  • Mini-batch Feature Swapping: During training, the model swaps anatomical parts between different subjects. This forces the latent space to learn specific correspondences between subsets of variables and local shape attributes.
  • Spectral Data Augmentation: To solve the data scarcity problem, the authors introduced a technique that interpolates meshes in the spectral domain (using the Fourier transform of the mesh). This creates realistic synthetic heads that plausibly combine features from different patients, rather than just creating "blurry" averages.
  • Diagnostic Pipeline: The model uses Linear Discriminant Analysis (LDA) for visualizing the latent space and Quadratic Discriminant Analysis (QDA) for the final classification.
Figure 2. Manifold visualisation and syndrome classification. La- tent vectors obtained encoding shapes with SD-VAE, zP , can be processed as a whole or in subsets of variables. LDA and QDA models are thus created for each latent subset and for the the whole latent. LDA models are used for dimensionality reduction and manifold visualisation, while QDA models for classification.

Datasets

The study utilized a specialized dataset of 3D head meshes:

  • Syndromic Patients: 39 Apert, 53 Crouzon, and 11 Muenke patients (segmented from CT scans).
  • Healthy Controls: 250 subjects (from CT scans and 3D photographs).
  • Augmented Data: The spectral augmentation factor of 5 resulted in a balanced training set of 281 meshes per class (1,405 total).

Key Insights and Ideas

  • Regional Importance: The model reveals that not all facial features are equally diagnostic. The orbits, upper lip, and supraorbital regions are the most critical for identifying these syndromes. In contrast, while the nose and neck shapes are clearly "syndromic," they overlap significantly between the different syndromes, making them less useful for specific classification.
  • Interpretability is Key: By isolating regions, the model can explain why a patient is classified as having a syndrome. For example, in atypical cases where a patient looks clinically healthy, the model can point to subtle deviations in the neck or parietal region that confirm a genetic diagnosis.
  • Quantifying Surgery: The framework allows for "latent interpolation." By moving a patient's regional latent vector toward the "healthy" average, the model can simulate procedures like a Le Fort II advancement or Fronto-orbital Remodelling (FOAR) and quantitatively measure how much closer the patient moves to a normal distribution.
Figure 3. Example of surgical region definition. In this case, the nose is combined with the upper lip and the nasolabial attributes, thus defining the regions affected by the Le Fort II surgical proce- dure

Key Results

  • Perfect Classification: The QDA classifier achieved 100% accuracy, precision, and recall across all syndromes when using the full latent vector.
  • Reconstruction Fidelity: The model reconstructed meshes with a mean error of only 1.27 mm, proving it captures fine anatomical detail.
  • Augmentation Impact: Without the novel spectral augmentation, classification accuracy plummeted from 100% to roughly 72%, highlighting the necessity of their data generation technique.
  • Disentanglement Success: As shown in Figure 5, manipulating a single latent variable primarily affects its intended anatomical region, with only minor "bleeding" into neighbors to maintain surface continuity.
Evaluation of latent disentanglement shows that specific variables map cleanly to individual anatomical attributes.

Limitations and Future Work

  • Age Disentanglement: The current model doesn't explicitly separate age from shape. Since children's heads change rapidly, future work aims to add age as a conditioning variable to predict how a patient's head will grow over time.
  • Soft Tissue Modeling: The model currently focuses on the surface mesh (often bone-derived). Predicting how bone surgery affects the overlying soft tissue (skin and muscle) remains a complex, non-linear challenge for future iterations.
  • Ethical Considerations: The authors acknowledge the ethical "quandary" of using a "normal" head shape as a surgical target, emphasizing that this tool should aid, not replace, the human dimension of surgical planning and patient education.

Summary updated

Abstract

The use of deep learning to undertake shape analysis of the complexities of the human head holds great promise. However, there have traditionally been a number of barriers to accurate modelling, especially when operating on both a global and local level. In this work, we will discuss the application of the Swap Disentangled Variational Autoencoder (SD-VAE) with relevance to Crouzon, Apert and Muenke syndromes. Although syndrome classification is performed on the entire mesh, it is also possible, for the first time, to analyse the influence of each region of the head on the syndromic phenotype. By manipulating specific parameters of the generative model, and producing procedure-specific new shapes, it is also possible to simulate the outcome of a range of craniofacial surgical procedures. This opens new avenues to advance diagnosis, aids surgical planning and allows for the objective evaluation of surgical outcomes.
BibTeX
@inproceedings{foti2024latent,
  author = {Simone Foti and Alexander J. Rickart and Bongjin Koo and Eimear O' Sullivan and Lara S. van de Lande and Athanasios Papaioannou and Roman Khonsari and Danail Stoyanov and N. u. Owase Jeelani and Silvia Schievano and David J. Dunaway and Matthew J. Clarkson},
  title = {{Latent Disentanglement in Mesh Variational Autoencoders Improves the Diagnosis of Craniofacial Syndromes and Aids Surgical Planning}},
  booktitle = {Comput. Methods Programs Biomed},
  year = {2024},
  url = {https://openreview.net/forum?id=lHE00Ry1Gf},
}
Figure