[Paper Review] Equivariance versus Augmentation for Spherical Images
This paper compares group equivariant spherical CNNs (S2CNNs) with standard non-equivariant CNNs trained with rotational data augmentation on spherical MNIST datasets. It finds that while data augmentation can match S2CNN performance in rotationally invariant classification, equivariant networks significantly outperform augmented non-equivariant models in inherently equivariant semantic segmentation tasks, with faster training at matched accuracy and lower latency in optimized inference scenarios.
We analyze the role of rotational equivariance in convolutional neural networks (CNNs) applied to spherical images. We compare the performance of the group equivariant networks known as S2CNNs and standard non-equivariant CNNs trained with an increasing amount of data augmentation. The chosen architectures can be considered baseline references for the respective design paradigms. Our models are trained and evaluated on single or multiple items from the MNIST or FashionMNIST dataset projected onto the sphere. For the task of image classification, which is inherently rotationally invariant, we find that by considerably increasing the amount of data augmentation and the size of the networks, it is possible for the standard CNNs to reach at least the same performance as the equivariant network. In contrast, for the inherently equivariant task of semantic segmentation, the non-equivariant networks are consistently outperformed by the equivariant networks with significantly fewer parameters. We also analyze and compare the inference latency and training times of the different networks, enabling detailed tradeoff considerations between equivariant architectures and data augmentation for practical problems. The equivariant spherical networks used in the experiments are available at https://github.com/JanEGerken/sem_seg_s2cnn .
Motivation & Objective
- Investigate whether group equivariant networks offer inherent advantages over data augmentation for spherical image tasks.
- Address the trade-off between architectural inductive bias (equivariance) and data augmentation in deep learning for spherical data.
- Evaluate performance differences in rotationally invariant (classification) versus inherently equivariant (semantic segmentation) tasks.
- Analyze training time, inference latency, and throughput to assess practical trade-offs between equivariant and non-equivariant models.
- Provide a detailed implementation and theoretical foundation for S2CNNs with equivariant outputs for semantic segmentation on the sphere.
Proposed method
- Propose a new group equivariant CNN layer for arbitrary Lie groups G, generalizing prior work for semantic segmentation on the sphere.
- Extend the S2CNN architecture with a final layer that ensures equivariant output, proven mathematically in Appendix A.
- Train standard non-equivariant CNNs with increasing rotational data augmentation on spherical MNIST projections.
- Use spherical MNIST and FashionMNIST datasets projected onto the sphere for both classification and semantic segmentation tasks.
- Profile inference latency and throughput on an Nvidia T4 GPU for both S2CNN and non-equivariant CNN models.
- Measure total training time for models achieving matched performance, comparing S2CNNs (trained on unrotated data) with augmented CNNs (trained on rotated data).
Experimental results
Research questions
- RQ1Does rotational equivariance in S2CNNs provide a performance advantage over data augmentation in non-equivariant CNNs for spherical image classification?
- RQ2To what extent can data augmentation close the performance gap between non-equivariant and equivariant networks in semantic segmentation tasks?
- RQ3How do training times and inference latencies compare between S2CNNs and augmented non-equivariant CNNs at equivalent performance levels?
- RQ4Does the advantage of equivariance persist when the complexity of the segmentation task is increased?
- RQ5Where in the inference pipeline is the performance bottleneck for S2CNNs, and can optimization targets be identified?
Key findings
- For rotationally invariant classification, non-equivariant CNNs with extensive data augmentation and larger architectures can match the performance of smaller S2CNNs.
- In inherently equivariant semantic segmentation, non-equivariant models with data augmentation consistently underperform S2CNNs, even with up to 5 million augmented training samples.
- At a target accuracy of ~97.5%, the S2CNN trained on unrotated data completed training in 15 hours, while the augmented non-equivariant CNN required 26 hours to reach 97.49% accuracy.
- The S2CNN model achieved a throughput of 14.6 samples/second at batch size 7 on an Nvidia T4, while the non-equivariant CNN achieved 682 samples/second at batch size 60, indicating a significant latency gap.
- Inference profiling revealed that the largest SO(3) tensor operations in the final layers are the primary performance bottleneck in S2CNNs, suggesting optimization targets.
- Despite higher per-inference latency, the total training time for S2CNNs is shorter than for augmented non-equivariant models at matched performance, indicating a practical efficiency advantage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.