Introduction
Domain shift remains a significant hurdle for deep learning models, where performance drops when testing on data from a different distribution than the training set. Single Domain Generalization (SDG) is the most restrictive case, requiring a model to generalize from only one source domain. While Random Convolutions (RandConv) provide a baseline by distorting textures, they often suffer from a trade-off between style diversity and semantic preservation. Large kernels in RandConv can lead to a loss of semantics, making the image unrecognizable to the model.
The Pro-RandConv Approach
The proposed Progressive Random Convolutions (Pro-RandConv) addresses the limitations of standard RandConv through a multi-layer recursive strategy and a more sophisticated convolution block.
Recursive Stacking and Weight Sharing
Instead of a single large-kernel convolution, Pro-RandConv stacks multiple layers with small (3x3) kernels. A key finding of the research is that using the same random weights across these layers provides better control over style distortion. This recursive stacking acts as a multi-pass filter that gradually increases style diversity while maintaining the influence of central pixels in the receptive field, thereby preserving object semantics better than a single large kernel.
The Random Convolution Block
The core of the method is a sophisticated block designed to maximize diversity across virtual domains. This block replaces basic convolutions with a sequence of operations:
- Deformable Offsets: These allow the convolution to "wiggle" its sampling points, creating geometric and texture variety. Gaussian Random Fields (GRF) are used for initialization to ensure natural-looking distortions.
- Standardization and Affine Transformations: Randomly adjusting mean ($\beta$) and variance ($\gamma$) helps diversify contrast and color, making the model invariant to global lighting changes.
- Tanh Activation: Keeps pixel values within a stable range ([-1, 1]) after multiple transformations.
Experimental Results
Pro-RandConv was evaluated across several standard domain generalization benchmarks, demonstrating state-of-the-art performance with minimal overhead (2-3% training cost, zero inference cost).
- Digits Benchmark: Achieved an average accuracy of 81.35%, significantly outperforming the original RandConv (74.84%) and complex adversarial methods like PDEN (74.77%).
- PACS Dataset: Reached 68.88% accuracy in single-domain settings, showing particular strength in generalizing to highly divergent domains like "Sketch" and "Cartoon."
- Semantic Segmentation: The method proved robust for pixel-level tasks, showing significant mIoU (mean Intersection over Union) improvements on real-world datasets like Cityscapes when trained on synthetic GTA data.
Conclusion
Pro-RandConv offers a lightweight, efficient augmentation strategy for single domain generalization. By progressively stacking random convolutions and incorporating deformable offsets, it creates diverse virtual domains that effectively bridge the gap between training and unseen test distributions without the need for complex generative models.
Summary updated