WMCG-CNN Beats Rotational Blindness in CNNs Without Exploding Compute
A new group-equivariant CNN drops parameter sharing, uses Monte Carlo filter sampling, and beats prior G-CNNs on ImageNet and denoising benchmarks.
ProTakeaways
- WMCG-CNN replaces parameter-sharing G-CNN with Monte Carlo sampled, decomposed filters at standard CNN cost.
- Adds shear transform to the affine equivariance mix, which prior G-CNNs largely ignored.
- Beats SESN and RST-CNN on STL10 out-of-distribution accuracy with a fraction of the MACs.
- Improves ConvNeXt-S on ImageNet-1k top-1 without extra parameters when using 7x7 kernels.
- Lightweight denoising variant DnNeXt-B-WMCG outperforms DnCNN and MWDCNN with 0.64M parameters.
- Code and bases released at github.com/ZhaoWenzhao/MCG_CNN; basis choice remains dataset-dependent.
Group-equivariant CNNs (G-CNNs) are the standard trick for teaching a convolutional network that a rotated, scaled, or sheared image is still the same image. The problem is that the classic recipe, weight sharing across group transformations, becomes prohibitively expensive the moment you try to combine it with modern deep architectures. A new paper in IEEE TPAMI proposes a non-parameter-sharing alternative that keeps the equivariance guarantees, adds shear transforms into the mix, and runs at essentially the same cost as a vanilla CNN.
The method, called WMCG-CNN (Weighted Monte Carlo Group-equivariant CNN), replaces the nested integrals of group convolution with a Monte Carlo estimator over stochastically augmented, decomposed filters. The proposed methods adaptively aggregate a diverse range of filters by a weighted sum of stochastically augmented decomposed filters, with theoretical proof about how the group equivariance can be achieved.
Why parameter sharing became the bottleneck
To understand the fix, it helps to know what equivariance actually costs. A group-equivariant layer promises that if you rotate, scale, or shear the input, the output transforms the same way. The concept of group equivariant CNN was first proposed by Cohen and Welling, which exploited a higher degree of weight sharing by increasing the number of convolutional channels with the periodical rotation of the same convolutional kernel. That trick works, but it explodes fast.
The reason is dimensionality. Every additional transformation you want equivariance to (scale, rotation, mirror, shear) adds a nested integral to the group convolution. In discrete implementations that becomes a nested sum, so with m samples per transform and n transforms you evaluate m^n terms. This is why the existing works of affine G-CNN are limited to transforms such as scaling, rotation, and reflection, and further including the shear transform is rarely considered in the conventional framework.
Monte Carlo instead of nested sums
WMCG-CNN attacks the curse of dimensionality directly. Rather than sweeping the transformation group on a grid, it draws random samples of transformation parameters (scale, rotation, shear) from uniform distributions and treats the group convolution as a Monte Carlo integral. The key theoretical result is that this converges independently of the number of transformation dimensions, which lets the authors mix arbitrary affine transforms without blowing up compute.
The next step is what makes it cheap. Standard MC sampling still multiplies compute by N samples per filter. WMCG-CNN collapses this by establishing a one-to-one mapping between the sampled transformations and the input/output channel indices, so each learnable weight gets its own randomly transformed filter instance. Filters themselves are built from a small orthogonal basis (Fourier-Bessel or Mexican-hat wavelet), and the weighted sum of basis functions is precomputed at inference time.

The result is a bottleneck block that plugs directly into ResNet, ResNeXt, or ConvNeXt. Table I of the paper shows training time for ResNet50 rises from 2793 to 2808 seconds per epoch on an A100, and VRAM footprint from 24.9GB to 25.1GB. At inference the overhead disappears entirely because the weighted basis sum can be baked into a single equivalent kernel.
What the numbers look like
The authors prove that with random weight initialization and infinite width, WMCG-CNN converges to a truly group-equivariant continuous convolution. In practice they measure a mean normalized group-equivariance error (mGE) during training and find that WMCG-CNN keeps dropping while parameter-sharing baselines like RST-CNN plateau or even regress.

Concrete results across benchmarks:
- On STL10 with a ResNeXt41 backbone, WMCG-CNN reaches 90.78% in-distribution and 83.71% out-of-distribution accuracy, beating SESN (91.22 / 82.30) and RST-CNN (88.81 / 79.35) while using roughly one twentieth the MACs of RST-CNN.
- On CIFAR10, ResNeXt29-WMCG achieves 4.05% error versus 4.36% for the vanilla ResNeXt29 and 4.96% for a prior equivariant baseline.
- On ImageNet-1k, dropping WMCG into ConvNeXt-S with 7x7 kernels improves top-1 accuracy over both the vanilla ConvNeXt-S and a dynamic-convolution variant without adding parameters.
- For grayscale denoising, a DnNeXt-B with WMCG using 5x5 Fourier-Bessel bases beats DnCNN-B and the much larger MWDCNN on Set12 and BSD68 with only 0.64M parameters.
Where it helps and where it does not
The biggest practical win is efficient exploitation of large kernels. Standard CNNs pay quadratically in parameters for kernel size, but filter decomposition decouples kernel size from parameter count, so WMCG can afford 5x5 or 7x7 filters where a vanilla layer stays at 3x3. That is particularly useful for lightweight denoising networks and for architectures like ConvNeXt that already lean on depthwise 7x7 convolutions.
There are trade-offs. Low-pass Fourier-Bessel bases hurt performance on datasets where high-frequency detail dominates, such as SIDD smartphone denoising, because they cannot represent sharp edges as well as raw Dirac-delta filters. The Fourier-Bessel basis that shines on ImageNet also underperforms on CIFAR10, where the Mexican-hat wavelet basis wins. Basis choice is dataset-dependent and, by the authors' own admission, is still an open engineering problem.
Code and training recipes are released at github.com/ZhaoWenzhao/MCG_CNN, and the authors have already extended the same idea to 3D volumetric segmentation with an adaptive aggregation of Monte Carlo augmented spherical Fourier-Bessel filter bases that incorporates both angular and radial orthogonality in follow-up work.