data augmentation training

**Data Augmentation Techniques** is the **family of methods that artificially expand training data diversity through geometric transformations, color perturbations, and mixing strategies — improving model robustness, generalization, and sample efficiency without additional labeled data**. **Geometric and Color Augmentations:** - Geometric transforms: horizontal/vertical flips, random crops, rotations, affine transforms; common for vision (don't break semantic meaning) - Color jitter: random brightness, contrast, saturation, hue adjustments; maintain semantic content while varying visual appearance - Random erasing: randomly select region and erase with random/mean color; forces model to use non-local features - Normalization: subtract channel means; divide by channel standard deviations for standardized input scale **Advanced Mixing-Based Augmentations:** - Cutout: randomly mask square region during training; forces network to learn complementary features beyond occluded region - CutMix: mix two images by replacing rectangular region of one with corresponding region of another; preserves semantic labels proportionally - MixUp: weighted combination of two images and labels: x_mixed = λx_i + (1-λ)x_j, y_mixed = λy_i + (1-λ)y_j; linear interpolation in data space - Mosaic augmentation: combine 4 random images in grid; increases batch diversity and scale variations **Automated Augmentation Policies:** - AutoAugment: reinforcement learning searches for optimal augmentation policies (operation type, probability, magnitude) - Augmentation policy: sequence of operations applied with learned probabilities; discovered policies generalize across datasets - RandAugment: simplified parametric augmentation; just two hyperparameters (operation count, magnitude) vs complex policy tuning - AugMix: mix multiple augmented versions; improved robustness to natural image corruptions and distribution shift **Self-Supervised Learning and Augmentation Invariance:** - Contrastive learning: augmentation creates positive pairs (different views of same image); negative pairs from different images - Augmentation invariance: learned representations are invariant to augmentation transformations; crucial for self-supervised pretraining - Strong augmentations: SimCLR uses color jitter + cropping + blur; augmentation strength critical for representation quality - Weak augmentation: original image sufficient for some tasks; computational efficiency tradeoff **Test-Time Augmentation (TTA):** - Multiple augmented predictions: average predictions over multiple augmented versions of same image - Ensemble effect: TTA provides minor accuracy boost (1-3%) by averaging over input transformations; improved robustness - Computational cost: TTA requires multiple forward passes; inference latency increase tradeoff for accuracy gain **Small Dataset Benefits:** - Limited data regimes: augmentation crucial when training data is scarce; prevents overfitting and improves generalization - Synthetic data expansion: augmentation effectively creates synthetic samples increasing dataset diversity - Regularization effect: augmentation acts as regularizer; reduces generalization gap between training and test **Data augmentation strategically expands training diversity — improving robustness to visual variations, reducing overfitting, and enabling effective learning from limited labeled data through clever transformations and mixing strategies.**

Go deeper with CFSGPT

Get AI-powered deep-dives, save terms, and run advanced simulations — free account.

Create Free Account