TL;DR
Standard Convolutional Neural Networks (CNNs) are surprisingly fragile; a simple one-pixel shift in an input image can change a classification result by as much as 30%. This paper introduces GaussNets, a new architecture that uses a Gaussian-Hermite basis to represent filters, providing a mathematical guarantee of "translation insensitivity" and significantly improving robustness to shifts without sacrificing accuracy.
What Problem Does This Paper Address?
While CNNs are often touted as being "translation invariant" (meaning they recognize an object regardless of where it is in the frame), recent research has shown this is largely a myth. In practice, modern architectures like ResNet and VGG are highly unstable. This instability stems from sub-sampling operations (like striding and max-pooling) that violate the Shannon-Nyquist sampling theorem.
When a network sub-samples a feature map without proper blurring, it introduces aliasing. While one could simply remove sub-sampling to fix this, it leads to two massive problems:
- Parameter Explosion: To maintain the same "receptive field" (the area of the image the network sees), kernels would have to grow significantly in size, requiring an exorbitant number of parameters.
- Memory Bottlenecks: Non-sub-sampled feature maps consume massive amounts of GPU memory, making deep networks impossible to train.
Methods
The authors propose GaussNets, which rethink how convolutional kernels are represented. Instead of learning individual pixel values for a $3 \times 3$ or $5 \times 5$ grid, the network learns coefficients for an orthogonal Gaussian-Hermite basis.
- The Basis: Kernels are represented as a linear combination of a Gaussian function and its derivatives (up to the 2nd order). This enforces a "smoothness" on the filters that standard CNNs lack.
- Translation Invariance vs. Insensitivity:
- Without sub-sampling, GaussNets are mathematically translation invariant when followed by global average pooling.
- With sub-sampling, they achieve translation insensitivity. The authors prove that because the Gaussian basis is Lipschitz continuous (smooth), the output of the network changes at most linearly with the size of the shift, providing stability.
- Efficiency: A standard $3 \times 3$ kernel has 9 parameters. A GaussNet kernel using derivatives up to the 2nd order requires only 6 coefficients, regardless of the spatial size of the filter. To handle large receptive fields efficiently, the authors use Fast Fourier Transforms (FFTs).
Datasets
The authors evaluated their approach on:
- CIFAR-10: The standard benchmark for small-image classification.
- CIFAR-10-ZP (Zero-Padded): A modified version where images are down-sampled to $30 \times 30$ and padded back to $32 \times 32$. This ensures that when an image is shifted by one pixel, no original content is "lost" off the edge of the frame, allowing for a cleaner measurement of architectural robustness.
Key Insights and Ideas
- Smoothness is Safety: The primary reason standard CNNs fail at shifts is that their learned kernels are "jagged." By forcing kernels to be combinations of smooth Gaussian derivatives, GaussNets prevent the aliasing that occurs during sub-sampling.
- Boundary Conditions Matter: For a network to be truly insensitive to shifts, the kernels must "die down" to zero at their boundaries. Gaussian functions do this naturally.
- Receptive Field Decoupling: In GaussNets, the size of the receptive field is controlled by the $\sigma$ (standard deviation) of the Gaussian, not the number of parameters. This allows the network to have massive "vision" without a corresponding spike in the number of weights to learn.
Key Results
The authors compared GaussNet-18 and GaussNet-50 against standard ResNets and "Anti-Aliased" ResNets (which use a fixed blur before sub-sampling).
- Robustness: On CIFAR-10, the probability of a 1-pixel shift changing the classification ($\Delta_1$) was 14.24% for ResNet-18 but only 8.97% for GaussNet-18.
- Worst-Case Stability: The probability that any of the eight possible 1-pixel shifts would change the result ($\Delta_2$) dropped from 35.20% (ResNet) to 23.83% (GaussNet).
- Accuracy: GaussNets achieved these robustness gains while maintaining nearly identical test errors (approx. 20% on CIFAR-10) compared to their ResNet counterparts.
- Parameter Count: GaussNet-50 used roughly 19.7M parameters, compared to 23.5M for a standard ResNet-50.
Limitations and Future Work
- Computational Speed: While GaussNets are parameter-efficient, they are computationally heavier. GaussNet-50 was about 7.3x slower in inference than ResNet-50 due to the complexity of FFTs and Gaussian filtering.
- Implementation Complexity: The authors noted that on small images, edge effects are tricky. They had to use a specific "Gaussian weighting" before pooling to mitigate inaccuracies at the borders of the feature maps.
- Scaling Up: The study focused on CIFAR (small images). Future work is needed to see how these "smooth" kernels perform on high-resolution datasets like ImageNet.
- Beyond Translation: The authors plan to extend this framework to handle other transformations, such as rotations and scaling, using similar basis-function approaches.
Summary updated