Deep Learning for 2D and 3D Rotatable Data: An Overview of Methods

Luca Della Libera, Vladimir Golkov, Yue Zhu, Arman Mielke, Daniel CremersarXiv 2019

Introduction

Standard Convolutional Neural Networks (CNNs) have revolutionized computer vision primarily due to their inherent translational equivariance. When an object shifts within an image, the resulting feature maps shift correspondingly, allowing the network to recognize patterns regardless of their location. However, this property does not naturally extend to rotations. A standard CNN typically perceives a cat and the same cat rotated by 90 degrees as two distinct, unrelated patterns. This survey provides a roadmap for achieving rotational equivariance, moving from simple data augmentation to mathematically rigorous "exact" methods.

The Challenge of Rotational Variance

The traditional approach to handling rotations is data augmentation—rotating training images to force the network to learn various orientations during training. While common, this method is computationally inefficient. It requires the network to dedicate its capacity to learning the same feature multiple times at different orientations, which often hinders its ability to generalize to unseen rotations.

The goal of "rotation-aware" architectures is to build networks that inherently understand rotational symmetry. This involves two key concepts:

  • Invariance: The output remains identical regardless of input rotation (e.g., classification labels).
  • Equivariance: The output transforms predictably in response to input rotation (e.g., segmentation masks or vector fields).

Methodological Frameworks

The paper categorizes current research into two primary philosophies: Exact and Approximate Rotational Equivariance.

Exact Rotational Equivariance

These methods embed symmetry group mathematics directly into the network architecture to ensure equivariance by design.

  • Group Convolutions: These extend standard convolutions by using a set of rotated versions of a filter. While effective, they are often limited to discrete rotations, such as 90-degree increments.
  • Steerable Filters: By utilizing irreducible representations, such as circular or spherical harmonics, these filters can achieve equivariance under any continuous rotation angle.
Steerable filters allow for continuous rotation equivariance by expressing a rotated filter as a linear combination of base filters.

Approximate Rotational Equivariance

These techniques encourage rotation-awareness without strict mathematical guarantees, often proving more flexible for general tasks.

  • Learned Pose Normalization: Modules like Spatial Transformer Networks (STNs) attempt to "un-rotate" objects into a canonical pose before processing.
  • Soft Constraints: Auxiliary loss functions penalize the model if its predictions vary when the input is rotated.
  • Deformable Convolutions: These allow the convolutional grid to warp, capturing some rotational variance without formal guarantees.

Comparative Analysis of 2D and 3D Techniques

The survey synthesizes findings across various domains, from 2D histopathology images to 3D molecular structures and point clouds.

A comprehensive comparison of 2D methods categorized by their approach to rotational equivariance and group properties.

Key takeaways from the comparison include:

  • Representation Trade-offs: Regular representations (group convolutions) allow for standard nonlinearities like ReLU but are restricted to discrete angles. Conversely, irreducible representations (steerable filters) support continuous rotation but require complex, specialized nonlinearities.
  • The Grid Problem: Rotating data on a rectangular pixel or voxel grid often leads to "missing parts" of equivariance as features move in and out of the field of view, necessitating some residual data augmentation.
  • State-of-the-Art Tools: The authors identify the e2cnn library for 2D and e3nn for 3D as the current gold standards for implementing general steerable CNNs and Tensor Field Networks.

Key Results and Recommendations

The paper concludes that exact methods are generally superior for tasks where rotational symmetry is a physical reality, such as medical imaging or molecular modeling. For practical 2D applications, group convolutions with small rotation angles currently provide the best balance of performance and ease of use. In the 3D domain, Tensor Field Networks are highlighted for providing continuous exact SE(3)-equivariance (rotation + translation).

Limitations and Future Directions

Despite progress, several challenges remain:

  • Discretization Artifacts: Mathematical exactness is often compromised by the discrete nature of pixel/voxel grids, which can amplify errors in deeper layers.
  • Computational Overhead: Group convolutions significantly increase memory and compute requirements by multiplying the number of filters by the number of rotation angles.
  • Loss Function Robustness: The authors caution against using standard $L^p$ distances for rotation embeddings, suggesting Geodesic distance as a more robust alternative that respects the geometry of the rotation space.

Summary updated

BibTeX
@misc{libera2019deep,
  author = {Luca Della Libera and Vladimir Golkov and Yue Zhu and Arman Mielke and Daniel Cremers},
  title = {{Deep Learning for 2D and 3D Rotatable Data: An Overview of Methods}},
  year = {2019},
  eprint = {1910.14594},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.14594},
}
Figure