Sample Efficient Semantic Segmentation using Rotation Equivariant Convolutional Networks.

Jasper Linmans, Jim Winkens, Bastiaan S. Veeling, Taco S. Cohen, Max WellingarXiv 2018

This paper, presented at an ICML workshop, introduces a way to make semantic segmentation models much more efficient by baking geometric common sense—specifically rotation and reflection symmetry—directly into the network architecture. By extending Group Equivariant CNNs (G-CNNs) to an encoder-decoder structure, the authors demonstrate that a model can achieve the same performance as a standard U-Net while using significantly less training data.

TL;DR

The authors propose GU-Net, a rotation-equivariant version of the popular U-Net architecture that exploits discrete symmetries (90-degree rotations and reflections). This approach significantly boosts sample efficiency in medical imaging, allowing a model trained on just 12.5% of a dataset to match the performance of a standard CNN trained on the full 100%.

What Problem Does This Paper Address?

Standard Convolutional Neural Networks (CNNs) are naturally "translation equivariant"—if you shift an object in an image, the network's internal representation shifts accordingly. However, they are not naturally equivariant to rotations or reflections. To handle a rotated object, a standard CNN must either see that object at every possible angle during training (data augmentation) or learn redundant filters for each orientation.

This is a major hurdle in fields like histopathology (the study of diseased tissue). Unlike a photo of a house or a cat, a microscope slide of a cell has no "up" or "down." A cancer cell is still a cancer cell whether it’s rotated 90 degrees or flipped. Furthermore, getting pixel-perfect labels for medical images is incredibly expensive and time-consuming. The authors tackle two main issues: the lack of robustness to rotation in standard models and the high demand for labeled data.

Methods

The authors build upon the G-CNN framework, which uses "group convolutions" to share weights across different orientations. They extend this framework to the segmentation task through three key innovations:

  1. GU-Net Architecture: They replace all standard convolutional and transposed convolutional layers in a U-Net with group equivariant counterparts.
  2. Equivariant Transposed Convolution: They formulate a way to perform up-sampling (essential for segmentation) that maintains symmetry properties.
  3. $(G \to \mathbb{Z}^2)$-convolution: A new layer that maps complex, multi-orientation feature maps back down to a standard 2D grid to produce the final segmentation mask.

To ensure a fair fight, the authors kept the number of parameters constant between the baseline U-Net and their GU-Net. Since the GU-Net uses more "orientation channels," they reduced the number of filters per layer to compensate.

Visualization of how a 2-layer G-CNN maintains equivariance across rotations.

Datasets

The model was evaluated on the PatchCamelyon dataset, which is derived from the Camelyon16 challenge.

  • Content: 300,000 H&E stained histopathology patches (320x320 pixels) of sentinel lymph nodes.
  • Task: Binary semantic segmentation to locate cancer metastases.
  • Regimes: The authors tested the models on 100%, 50%, 25%, and 12.5% of the training data to measure sample efficiency.

Key Insights and Ideas

  • Weight Sharing is Free Lunch: By using group convolutions, the network uses the same filter for all 8 roto-reflection orientations. This reduces redundancy and allows the model to use its "parameter budget" more effectively.
  • Predictive Stability: Standard CNNs often give "erratic" predictions when an image is rotated. Even with data augmentation, a standard U-Net might predict a pixel is "cancer" in one orientation but "healthy" if the patch is rotated 90 degrees. GU-Net is mathematically guaranteed to be stable under these transformations.
  • Symmetry as a Regularizer: Exploiting more symmetries (moving from just rotations, $p4$, to rotations plus reflections, $p4m$) consistently led to better generalization.
Comparison of prediction stability. The baseline U-Net (d) shows high standard deviation in its predictions when the input is rotated, whereas the P4M U-Net remains stable.

Key Results

The quantitative results, measured by the Dice Similarity Coefficient (DSC), were striking:

  • Superior Performance: The P4M U-Net outperformed the baseline U-Net in every single data regime.
  • 8x Sample Efficiency: The P4M U-Net trained on only 12.5% of the data achieved a DSC of 79.6, which is essentially identical to the baseline U-Net trained on 100% of the data (79.8).
  • Low-Data Gains: The gap between the models widened as the data became scarcer. In the 12.5% regime, the equivariant model outperformed the baseline by 7.2%.

Limitations and Future Work

  • Discrete vs. Continuous: The current framework only handles discrete 90-degree rotations. While this is highly effective, it doesn't capture full 360-degree continuous rotation equivariance.
  • Computational Overhead: While parameter-efficient, group convolutions can be more computationally demanding in terms of memory and FLOPs because they process multiple orientation channels.
  • Future Directions: The authors suggest that exploring larger groups or continuous symmetries could further improve performance, especially in domains where orientation is entirely arbitrary.

Summary updated

BibTeX
@misc{linmans2018sample,
  author = {Jasper Linmans and Jim Winkens and Bastiaan S. Veeling and Taco S. Cohen and Max Welling},
  title = {{Sample Efficient Semantic Segmentation using Rotation Equivariant Convolutional Networks.}},
  year = {2018},
  eprint = {1807.00583},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.00583},
}
Figure