[Paper Review] Grounding inductive biases in natural images:invariance stems from variations in data
This paper investigates how inductive biases in vision models arise from data variations in ImageNet, showing that data augmentation—particularly translation and scale—mainly drives invariance, not architectural design. Despite residual networks' built-in translation invariance, translation alone achieves near-maximal performance gains, and learned invariances align closely with real ImageNet factors of variation, indicating data itself is the primary source of robustness.
To perform well on unseen and potentially out-of-distribution samples, it is desirable for machine learning models to have a predictable response with respect to transformations affecting the factors of variation of the input. Here, we study the relative importance of several types of inductive biases towards such predictable behavior: the choice of data, their augmentations, and model architectures. Invariance is commonly achieved through hand-engineered data augmentation, but do standard data augmentations address transformations that explain variations in real data? While prior work has focused on synthetic data, we attempt here to characterize the factors of variation in a real dataset, ImageNet, and study the invariance of both standard residual networks and the recently proposed vision transformer with respect to changes in these factors. We show standard augmentation relies on a precise combination of translation and scale, with translation recapturing most of the performance improvement -- despite the (approximate) translation invariance built in to convolutional architectures, such as residual networks. In fact, we found that scale and translation invariance was similar across residual networks and vision transformer models despite their markedly different architectural inductive biases. We show the training data itself is the main source of invariance, and that data augmentation only further increases the learned invariances. Notably, the invariances learned during training align with the ImageNet factors of variation we found. Finally, we find that the main factors of variation in ImageNet mostly relate to appearance and are specific to each class.
Motivation & Objective
- To understand the relative impact of data, data augmentation, and model architecture on learned invariance in vision models.
- To identify the natural factors of variation in ImageNet that underlie model robustness.
- To evaluate whether standard data augmentations like random resized crop correspond to meaningful transformations in real data.
- To assess whether architectural inductive biases (e.g., CNNs vs. ViTs) or data augmentation are the dominant drivers of invariance.
- To investigate whether learned invariances align with actual factors of variation in ImageNet.
Proposed method
- Decomposed standard data augmentation (random resized crop) into separate translation and scale components to isolate their individual contributions.
- Trained ResNet18 and Vision Transformer (ViT) models on ImageNet with controlled augmentations to measure performance under varying transformations.
- Used Augerino, a neural network for automatic symmetry discovery, to learn relevant transformations from data and evaluate its impact on generalization.
- Measured invariance via model response consistency under geometric and appearance transformations on the ImageNet validation set.
- Compared invariance across architectures (ResNet18 and ViT) and with and without data augmentation to isolate sources of robustness.
- Analyzed learned transformations from Augerino to determine which factors (translation, scale, etc.) are most relevant to performance.
Experimental results
Research questions
- RQ1To what extent do standard data augmentations like random resized crop correspond to meaningful factors of variation in real ImageNet data?
- RQ2How do architectural inductive biases (e.g., CNNs vs. ViTs) influence invariance, and do they differ in their response to data variations?
- RQ3Is data augmentation the primary driver of invariance, or do architectural biases play a more significant role?
- RQ4Do the invariances learned during training align with the actual factors of variation present in ImageNet?
- RQ5Can automatic symmetry discovery methods like Augerino identify relevant transformations that improve model generalization on real datasets?
Key findings
- Translation alone accounts for most of the performance gain from standard random resized crop augmentation, despite residual networks already having approximate translation invariance.
- Scale augmentation contributes only marginally compared to translation, with performance gains from scale being significantly smaller.
- Despite their different inductive biases, ResNet18 and Vision Transformer models achieve similar levels of scale and translation invariance, indicating that data is the dominant factor.
- The invariances learned during training align closely with the actual factors of variation found in ImageNet, which are mostly appearance-based and class-specific.
- Augerino, used to automatically discover relevant transformations, showed limited success on ImageNet, with performance dropping when enabled at inference, suggesting challenges in applying such methods to real-world data.
- The best-performing model with Augerino used a regularization parameter λ=0.6, but even then, performance was lower than with standard translation-only augmentation, indicating that translation is the most critical factor.
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.