Grounding inductive biases in natural images:invariance stems from variations in data

06/09/2021
by   Diane Bouchacourt, et al.
0

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. 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 inductive biases. We show the training data itself is the main source of invariance, and that data augmentation only further increases the learned invariances. Interestingly, the invariances brought from the training process 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.

READ FULL TEXT
research
08/26/2017

Deep Learning for Target Classification from SAR Imagery: Data Augmentation and Translation Invariance

This report deals with translation invariance of convolutional neural ne...
research
06/07/2021

Rotating spiders and reflecting dogs: a class conditional approach to learning data augmentation distributions

Building invariance to non-meaningful transformations is essential to bu...
research
03/07/2022

Regularising for invariance to data augmentation improves supervised learning

Data augmentation is used in machine learning to make the classifier inv...
research
05/03/2022

Better plain ViT baselines for ImageNet-1k

It is commonly accepted that the Vision Transformer model requires sophi...
research
03/03/2022

Robustness and Adaptation to Hidden Factors of Variation

We tackle here a specific, still not widely addressed aspect, of AI robu...
research
06/30/2021

Small in-distribution changes in 3D perspective and lighting fool both CNNs and Transformers

Neural networks are susceptible to small transformations including 2D ro...
research
05/27/2022

How Tempering Fixes Data Augmentation in Bayesian Neural Networks

While Bayesian neural networks (BNNs) provide a sound and principled alt...

Please sign up or login with your details

Forgot password? Click here to reset