Group Equivariant CNN (G-CNN)
Convolutional network built from group convolutions that share weights across rotations of each filter.
Image classification · 214 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Image classification
- Parameters
- 11.2M
- Operations
- 214
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2016
- Cited by
- 939 (as of 28 October 2026)
- Authors
- Taco S. Cohen, Max Welling
- Source
- GitHub: tscohen/GrouPy
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17183
- Graph hash
- ec4fe9f3759219ef6e21ba39638a5e5b5a1207937a187a6f809bb7f31719b8c1
- Skeleton hash
- a3a13dda73e71f06fb43e56a4faa57c6c83d1a07968bd082fbca09b6efd0e2bb
- Architecture hash
- 10b2a3f1c4edb58a9969ae366c4dff2b4f95d37a3ea4bb1936593c94b8a1335d
- Diagram SHA-256
- 212cd084eab4acc94e6bcf3f150d2d3490552567cfe4cb24a69deb9889fc43f3
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is a ResNet18 built with p4m group convolutions, from a PyTorch implementation of G-CNN that lists ResNet18 and ResNet50 as its architectures and CIFAR as a dataset. The group p4m consists of all compositions of translations, mirror reflections, and rotations by 90 degrees.
Group equivariant Convolutional Neural Networks (G-CNNs) generalize convolutional neural networks to exploit symmetries, which the paper says reduces sample complexity. They use G-convolutions, a type of layer with a substantially higher degree of weight sharing than regular convolution layers.
An ordinary correlation shifts a filter and computes a dot product with the feature maps, and the G-correlation replaces the shift with a more general transformation from some group G. The resulting feature map is a function on the group, while the input image and the first-layer filter are functions of the plane. The paper works with two groups: p4, all compositions of translations and rotations by 90 degrees, and p4m, which adds mirror reflections. Pooling, pointwise nonlinearities, batch normalization and residual blocks are shown to be equivariant as well, so they are compatible with G-CNNs.
To keep the number of parameters approximately the same as in the planar baselines, the authors halve the number of filters in each p4 layer and divide it by roughly 3 in each p4m layer. The paper reports 2.28% error on rotated MNIST, and 4.19% and 6.46% error on augmented and plain CIFAR10.
Key idea. The paper introduces G-convolutions, layers that are equivariant to a group of translations, rotations and reflections and share more weights than regular convolutions without adding parameters.
- Group Equivariant CNN
- G-CNN
- group equivariant convolutional networks
- G-convolution
- P4CNN
- p4m convolution
- rotation equivariance
- GrouPy
- rotated MNIST
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cohen2016groupequivariantconvolutionalnetworks,
title={Group Equivariant Convolutional Networks},
author={Taco S. Cohen and Max Welling},
year={2016},
eprint={1602.07576},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1602.07576},
}