S3M: Scalable Statistical Shape Modeling through Unsupervised Correspondences

Lennart Bastian, Alexander Baumann, Emily Hoppe, Vincent Bürgin, Ha Young Kim, Mahdi Saleh, Benjamin Busam, Nassir Navab

TL;DR

S3M is a novel unsupervised framework for building Statistical Shape Models (SSMs) that eliminates the need for labor-intensive manual landmarking. By combining Graph Neural Networks (GNNs) with functional mapping, the method produces highly accurate anatomical models even when dealing with noisy automatic segmentations and complex, branching organ structures.

What Problem Does This Paper Address?

Statistical Shape Models (SSMs) are essential tools in medical imaging for understanding how anatomy varies across a population. They help clinicians classify diseases, plan surgeries, and regress shape changes over time. However, building these models is traditionally a "bottleneck" process. It requires domain experts to manually annotate landmarks or create perfect 3D segmentations, which are then aligned using complex registration algorithms.

Existing unsupervised methods often fail when the input data is "messy"—such as segmentations generated by neural networks that contain topological noise—or when the anatomy is complex, like the branching vessels of the heart. The authors of S3M aim to create a pipeline that is both unsupervised and robust enough to handle the irregularities of real-world clinical data.

Methods

The S3M pipeline (Scalable Statistical Shape Modeling) bridges the gap between local geometric features and global shape structure through three main stages:

  1. Geometric Feature Description: The model uses a Siamese Graph Neural Network (GNN) to extract local features directly from 3D surface meshes. Unlike handcrafted descriptors, the GNN learns to be robust to noise and rotations.
  2. Deformable Correspondence Estimation: These local features are projected onto the spectral domain using Laplace-Beltrami Operator (LBO) eigenfunctions. The system then optimizes a functional mapping between pairs of shapes. Crucially, this is done using an unsupervised loss that enforces bijectivity (the mapping should work in both directions) and isometry (preserving the intrinsic geometry).
  3. SSM Generation: During inference, the "soft" functional correspondences are converted into "hard" point-to-point correspondences using a Product Manifold Filter (PMF). These correspondences are then used to build a standard Point Distribution Model (PDM).
Fig. 1. Our proposed method for unsupervised SSM curation. (a) We use a Siamese GNN as shape descriptor and project the extracted features onto the LBO eigenfunc- tions ψ to obtain spectral representations. (b) From these, we optimize a functional mapping between pairs of shapes with an unsupervised loss. Gradients are backpropa- gated to the geometric descriptors. (c) During inference, the dense correspondences are estimated between pairs of shapes based on the learned population parameters, which are then used to construct an SSM.

Datasets

The authors evaluated S3M on two distinct anatomical structures:

  • Thyroid Dataset (SegThy): 3D freehand ultrasound scans. This dataset is particularly challenging due to the inherent noise in ultrasound. The authors tested S3M on both expert manual labels and "pseudo-labels" generated by a segmentation network (QuickNAT) to test robustness to inaccuracies.
  • Heart Dataset: 30 MRI scans. The authors created three "compositions" of increasing complexity:
  • Comp 1: Right ventricle only.
  • Comp 2: Four chambers (atria and ventricles).
  • Comp 3: The whole heart, including complex bifurcations like the aorta and pulmonary artery.

Key Insights and Ideas

  • Scaling with "Good Enough" Data: One of the most striking findings is that S3M generalizes better when trained on a larger set of noisy, automatically generated "pseudo-labels" than when trained on a smaller set of perfect manual labels. This suggests we can scale SSMs to massive patient populations without waiting for expert annotators.
  • Handling Complex Topologies: Traditional methods like ShapeWorks often struggle with "bifurcations"—places where a shape branches off, like vessels leaving the heart. Because S3M uses functional maps that capture high-level semantics, it maintains accurate correspondences across these complex junctions where other methods produce distorted mean shapes.
  • Local-Global Synergy: By using GNNs for local features and LBO eigenfunctions for global structure, the model avoids the pitfalls of methods that rely solely on one or the other.
Qualitative comparison of mean shapes for the whole heart. S3M (e) produces a much cleaner and more anatomically plausible reconstruction than baselines (b, c, d).

Key Results

S3M consistently outperformed established baselines like ShapeWorks and $\mu$Match across multiple metrics:

  • Thyroid Robustness: On ground-truth labels, S3M achieved a Generality of 1.25mm, significantly better than ShapeWorks (1.94mm). When using noisy pseudo-labels, S3M’s Generality actually improved to 0.95mm, proving its ability to leverage larger, noisier datasets.
  • Heart Complexity: For the most complex heart composition (Comp 3), S3M achieved a Generality of 1.63mm, nearly doubling the performance of ShapeWorks (3.07mm), which struggled with the complex mesh bifurcations.
Table 1. SSM quality metrics for the Thyroid dataset [25]

Limitations and Future Work

While S3M shows great promise, the authors note that the field still seeks generic models that can perform perfectly across every possible organ. The current study focused on the thyroid and heart; extending this to even more varied structures (like the branching airways of the lungs or complex bone joints) remains a future goal. Additionally, while the method is unsupervised, it still relies on an initial segmentation (even if noisy), so improvements in automated segmentation will directly benefit the S3M pipeline.

Summary updated

BibTeX
@inproceedings{bastian2023s,
  author = {Lennart Bastian and Alexander Baumann and Emily Hoppe and Vincent Bürgin and Ha Young Kim and Mahdi Saleh and Benjamin Busam and Nassir Navab},
  title = {{S3M: Scalable Statistical Shape Modeling through Unsupervised Correspondences}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
}
Figure