[Paper Review] Style Augmentation: Data Augmentation via Style Randomization
Introduces style augmentation by randomizing texture, color, and contrast through a fast, random style-transfer pipeline; improves robustness to domain shift and can complement traditional augmentations.
We introduce style augmentation, a new form of data augmentation based on random style transfer, for improving the robustness of convolutional neural networks (CNN) over both classification and regression based tasks. During training, our style augmentation randomizes texture, contrast and color, while preserving shape and semantic content. This is accomplished by adapting an arbitrary style transfer network to perform style randomization, by sampling input style embeddings from a multivariate normal distribution instead of inferring them from a style image. In addition to standard classification experiments, we investigate the effect of style augmentation (and data augmentation generally) on domain transfer tasks. We find that data augmentation significantly improves robustness to domain shift, and can be used as a simple, domain agnostic alternative to domain adaptation. Comparing style augmentation against a mix of seven traditional augmentation techniques, we find that it can be readily combined with them to improve network performance. We validate the efficacy of our technique with domain transfer experiments in classification and monocular depth estimation, illustrating consistent improvements in generalization.
Motivation & Objective
- Motivate and address domain bias and overfitting in CNNs by introducing a fast, domain-agnostic data augmentation technique.
- Propose style augmentation that randomizes texture/color/contrast while preserving shape and content.
- Evaluate the impact of style augmentation on image classification, cross-domain classification, and monocular depth estimation.
- Open-source a PyTorch implementation for practitioners.
Proposed method
- Use a real-time neural artistic stylization network ( Ghiasi et al. 2017 ) to transform inputs.
- Replace the style predictor with sampling a 100-dim style embedding z from a multivariate normal distribution fitted to Painter By Numbers embeddings.
- Apply conditional instance normalization conditioned on z to modulate feature maps during style transfer.
- Introduce a controlled interpolation between the random style embedding and the input’s own style via alpha to adjust augmentation strength.
- Evaluate augmentation alone and in combination with traditional augmentations across multiple tasks and architectures.
- Provide a hyperparameter study to choose augmentation ratio and strength.
Experimental results
Research questions
- RQ1Does style augmentation improve generalization to unseen domains without target-domain data?
- RQ2Can randomized style transfer serve as a practical, domain-agnostic data augmentation strategy across tasks (classification, domain transfer, depth estimation)?
- RQ3How does style augmentation interact with traditional augmentations in improving performance?
- RQ4What are the practical training costs and implementation considerations for style augmentation?
Key findings
- Style augmentation yields significant accuracy gains on domain transfer benchmarks across multiple architectures.
- On STL-10, style augmentation alone improves convergence and final accuracy, and combining it with seven traditional augmentations yields an 8.5% accuracy improvement.
- In Office cross-domain classification, style augmentation often outperforms or complements traditional augmentations, with combined usage achieving the highest final accuracies.
- In monocular depth estimation, models trained with style augmentation generalize better to real-world data than those trained with traditional augmentations alone.
- Style augmentation generally degrades performance on ImageNet, consistent with the texture-bias finding that removing texture cues can reduce accuracy on large-scale datasets.
- The approach can be added with modest training time overhead (e.g., ~6% increase for STL-10 with optimal augmentation ratio).
- The method is complementary to existing augmentations and can serve as a simple, domain-agnostic strategy to mitigate domain bias.
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.