Deep generative models are transforming medical imaging, but they often hit a wall when dealing with the sheer complexity of 3D volumetric data. While Generative Adversarial Networks (GANs) suffer from convergence issues and Variational Autoencoders (VAEs) rely on potentially restrictive assumptions, autoregressive models like PixelCNN offer a promising alternative.
In this paper, researchers from UCL and King’s College London introduce 3DPixelCNN, a volumetric extension of the PixelCNN architecture that incorporates Bayesian uncertainty to significantly improve semi-supervised learning tasks like stroke lesion segmentation and brain age regression.
TL;DR
The authors extend the PixelCNN architecture to 3D volumetric data and reformulate it as a Bayesian model using dropout. By leveraging the resulting uncertainty measures and hidden layer activations, they achieve substantial performance gains in semi-supervised medical imaging tasks, particularly when labeled data is scarce.
What Problem Does This Paper Address?
Medical imaging suffers from two chronic headaches: class imbalance and sparse labels. Annotating 3D brain scans is time-consuming and requires expert knowledge, leading to datasets where only a fraction of the data is labeled.
Semi-supervised learning aims to use the vast amount of unlabeled data to build better models. However, standard generative models struggle with 3D volumes. GANs often "drop modes" (failing to represent the full diversity of the data), and VAEs provide mathematical bounds that might be too loose for high-resolution clinical use. Furthermore, most models don't provide a robust way to say, "I'm not sure about this specific voxel," which is critical for clinical safety.
Methods
The authors propose two major innovations:
- 3D Volumetric Extension: PixelCNN generates images pixel-by-pixel, ensuring each pixel only "sees" previously generated ones. In 2D, this creates a "blind spot." To solve this in 3D, the authors developed a three-stack architecture—Horizontal, Vertical, and Depth stacks—to ensure the model's receptive field covers the entire available context without "looking into the future."
- Bayesian Reformulation: By incorporating SpatialDropout after every convolution, the authors treat the network as an approximation of a Deep Gaussian Process. At test time, they run multiple forward passes with dropout enabled. The mean ($\mu$) of these passes serves as the reconstruction, while the standard deviation ($\sigma$) provides a voxel-wise measure of model uncertainty.
Datasets
The model was evaluated on two large-scale clinical datasets:
- DWI (Diffusion Weighted Imaging): 2,315 scans (1,333 with acute stroke lesions, 982 without). This was used for the semantic segmentation task.
- GM (Grey Matter) from T1-MRI: 13,287 tissue compartments derived from the UK Biobank and UCLH. This was used for age regression and sex classification.
For both, volumes were downsampled to a 3mm resolution ($52 \times 64 \times 52$ voxels) to manage computational overhead.
Key Insights and Ideas
- Uncertainty as a Signal: For localized tasks like lesion segmentation, the uncertainty map ($\sigma$) is incredibly powerful. Because the model was trained on healthy brains, it becomes highly "uncertain" when it encounters a lesion, effectively highlighting the pathology.
- Embeddings for Global Tasks: For global tasks like predicting age or sex, the model's internal representations (penultimate layer activations, $\psi$) outperformed the raw uncertainty maps. These high-dimensional embeddings capture a richer decomposition of the brain's structure than a simple uncertainty value.
- Super-Resolution Capabilities: Interestingly, the model acted as a super-resolution mechanism. When presented with corrupted original images, the 3DPixelCNN reconstruction was often cleaner and more detailed, proving it had learned the underlying distribution $p(x)$ rather than just memorizing the training set.
Key Results
The 3DPixelCNN demonstrated clear advantages across the board:
- Reconstruction: It outperformed existing Bayesian Autoencoders, showing a 111% improvement in log-likelihood on the detailed T1-GM modality.
- Segmentation: Using uncertainty measures ($\sigma$) improved the Dice coefficient for stroke lesion segmentation by 25.6% in scenarios with very few labeled scans ($N < 500$).
- Regression/Classification: For age regression, using hidden activations ($\psi$) reduced the average error by 0.68 years (9.09%). For sex classification, it increased accuracy by 3.36%.
Limitations and Future Work
While successful, the authors note a few hurdles:
- Computational Cost: Autoregressive models are notoriously slow because they generate data sequentially. Even with the convolutional approximation, 3D volumes require significant GPU memory.
- Resolution: The study used 3mm downsampled volumes. Applying this to full-resolution clinical scans will require further architectural optimizations, such as incorporating downsampling layers within the 3DPixelCNN itself.
- Noise in Uncertainty: The uncertainty maps can be noisy for brains without obvious gross abnormalities, suggesting that the choice between using $\sigma$ or hidden activations $\psi$ depends heavily on the specific clinical task.
Summary updated