Learning to Transform for Generalizable Instance-wise Invariance

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Singhal, Utkarsh, Esteves, Carlos, Makadia, Ameesh, Yu, Stella X.
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909108235403264
author Singhal, Utkarsh
Esteves, Carlos
Makadia, Ameesh
Yu, Stella X.
author_facet Singhal, Utkarsh
Esteves, Carlos
Makadia, Ameesh
Yu, Stella X.
contents Computer vision research has long aimed to build systems that are robust to spatial transformations found in natural data. Traditionally, this is done using data augmentation or hard-coding invariances into the architecture. However, too much or too little invariance can hurt, and the correct amount is unknown a priori and dependent on the instance. Ideally, the appropriate invariance would be learned from data and inferred at test-time. We treat invariance as a prediction problem. Given any image, we use a normalizing flow to predict a distribution over transformations and average the predictions over them. Since this distribution only depends on the instance, we can align instances before classifying them and generalize invariance across classes. The same distribution can also be used to adapt to out-of-distribution poses. This normalizing flow is trained end-to-end and can learn a much larger range of transformations than Augerino and InstaAug. When used as data augmentation, our method shows accuracy and robustness gains on CIFAR 10, CIFAR10-LT, and TinyImageNet.
format Preprint
id arxiv_https___arxiv_org_abs_2309_16672
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Learning to Transform for Generalizable Instance-wise Invariance
Singhal, Utkarsh
Esteves, Carlos
Makadia, Ameesh
Yu, Stella X.
Computer Vision and Pattern Recognition
Machine Learning
Computer vision research has long aimed to build systems that are robust to spatial transformations found in natural data. Traditionally, this is done using data augmentation or hard-coding invariances into the architecture. However, too much or too little invariance can hurt, and the correct amount is unknown a priori and dependent on the instance. Ideally, the appropriate invariance would be learned from data and inferred at test-time. We treat invariance as a prediction problem. Given any image, we use a normalizing flow to predict a distribution over transformations and average the predictions over them. Since this distribution only depends on the instance, we can align instances before classifying them and generalize invariance across classes. The same distribution can also be used to adapt to out-of-distribution poses. This normalizing flow is trained end-to-end and can learn a much larger range of transformations than Augerino and InstaAug. When used as data augmentation, our method shows accuracy and robustness gains on CIFAR 10, CIFAR10-LT, and TinyImageNet.
title Learning to Transform for Generalizable Instance-wise Invariance
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2309.16672