Collaborative Quantization Embeddings for Intra-Subject Prostate MR Image Registration

Ziyi Shen, Qianye Yang, Yuming Shen, Francesco Giganti, Vasilis Stavrinides, Richard Fan, Caroline Moore, Mirabela Rusu, Geoffrey Sonn, Philip Torr, Dean Barratt, Yipeng HuarXiv 2022

TL;DR

Deep learning models for medical image registration often overfit due to limited training data and over-parametrization. This paper introduces HiCo-Net, a novel framework that uses hierarchical and collaborative vector quantization to compress continuous latent features into discrete, anatomically aware dictionaries. This approach acts as a powerful regularizer, reducing overfitting and improving target registration accuracy by 28.7% on longitudinal prostate MR images.

What Problem Does This Paper Address?

Tracking the progression of prostate cancer often relies on comparing magnetic resonance (MR) images taken from the same patient at different times (longitudinal imaging). To accurately quantify morphological changes, algorithms must align—or register—these images.

While deep learning-based registration methods are fast and efficient, they struggle with generalization. Clinical datasets are typically small, yet prostate anatomy and intensity patterns vary wildly between individuals. Because deep networks are heavily over-parametrized, they tend to memorize non-essential noise and features specific to the training data, leading to severe overfitting.

By analyzing the bottleneck layers of standard registration networks using t-SNE visualizations, the authors discovered that the continuous feature space is highly redundant; the features naturally cluster into a small number of discrete groups. This paper exploits that redundancy to build a more robust, regularized registration network.

Methods

The authors propose the Hierarchically & Collaboratively Quantized Network (HiCo-Net), which replaces continuous latent features with discrete representations using Vector Quantization (VQ).

Fig. 1. Demonstration of the proposed prostate registration framework. (a) The t-SNE [10] visualization of the encoder outputs of a U-Net-like prostate registration network. (b) The network structure of HiCo-Net.

Key components include:

  • Vanilla Vector Quantization (VQ): Continuous feature vectors from the network's encoder are mapped to the closest discrete "code" vector within a learned dictionary ($D^v$). This discretization limits the network's capacity to memorize noise.
  • Hierarchical Quantization: To handle both large-scale alignment and fine-grained anatomical details, quantization is applied across multiple scales (global bottleneck features and local skip-connection features via dictionary $D^h$).
  • Collaborative Quantization: To inject anatomical awareness without requiring manual segmentations during inference, the authors pre-train a separate prostate segmentation network. They extract its features on the training set, cluster them using K-means, and use these cluster centers to initialize a parallel collaborative dictionary ($D^c$). This dictionary is then jointly optimized during registration training.

The final objective combines standard registration losses (Sum-of-Square Differences, Dice loss on masks, and bending regularization for smooth displacement fields) with VQ commitment losses.

Datasets

The framework was evaluated on a real-world clinical dataset:

  • UCLH Dataset: 216 longitudinal prostate T2-weighted MR images from 86 patients, provided by the University College London Hospitals NHS Foundation Trust.
  • Data Split: 70 patients for training, 6 for validation, and 10 for testing (each patient had 2–4 images taken over intervals averaging 18 months).
  • Evaluation Landmarks: The test set featured 141 manually identified anatomical and pathological landmarks (such as cysts, calcifications, and zonal boundaries) to rigorously evaluate registration accuracy.

Key Insights and Ideas

  • The Latent Space is Mostly Redundant: The core "aha moment" is that deep registration networks don't need continuous spaces. Compressing features into discrete "vocabulary" vectors preserves essential structural information while discarding the over-parametrized noise that causes overfitting.
  • Privileged Information via Smart Initialization: Instead of forcing the network to learn segmentation and registration simultaneously, the collaborative dictionary transfers knowledge from a segmentation network purely through initialization. This gives the model a strong prior on gland boundaries without adding computational overhead or requiring segmentation masks at test time.
  • Quantization as Regularization: While techniques like dropout or weight decay are standard, vector quantization acts as a structural regularizer uniquely suited to medical imaging, directly closing the performance gap between training and testing data.

Key Results

HiCo-Net demonstrated significant improvements over both unquantized baselines and state-of-the-art medical image registration methods:

  • Reduced Overfitting: Quantization successfully minimized the performance gap between training and testing datasets.
  • Target Registration Error (TRE): HiCo-Net achieved a TRE of 5.46 mm, marking a 28.7% improvement over the baseline U-Net without quantization (7.66 mm).
  • Baseline Comparisons: It outperformed popular frameworks like VoxelMorph (8.83 mm) and DeepTag (7.46 mm) while maintaining a highly efficient inference runtime of 0.68 seconds.
Fig. 4. Effect of proposed method. (a) moving image. (b) fixed image. (c) w/o quantization. (d) w/ Dv. (e) w/ Dv and Dh. (f) w/ Dv, Dh and Dc.

Limitations and Future Work

The primary focus of this paper is intra-subject registration (aligning scans of the same patient over time). While the authors briefly demonstrated that their quantization approach could benefit inter-subject registration (aligning scans between different patients), they noted that inter-subject registration introduces much higher anatomical variability. The authors identify the representation and quantization of these highly variable inter-subject structures as the key direction for their future work.

Summary updated

BibTeX
@misc{shen2022collaborative,
  author = {Ziyi Shen and Qianye Yang and Yuming Shen and Francesco Giganti and Vasilis Stavrinides and Richard Fan and Caroline Moore and Mirabela Rusu and Geoffrey Sonn and Philip Torr and Dean Barratt and Yipeng Hu},
  title = {{Collaborative Quantization Embeddings for Intra-Subject Prostate MR Image Registration}},
  year = {2022},
  eprint = {2207.06189},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.06189},
}
Figure