SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2005.00695 · ICML · 2020

On the Generalization Effects of Linear Transformations in Data Augmentation

Hongyang Zhang, Christopher Ré, Sen Wu, Gregory Valiant

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
SenWu/dauphin canonical 4 of 4
senwu/dauphin canonical 1 of 1
adam-mehdi/MuarAugment — 1 of 4
FunctionStatusWhere it lives
MixUpCrossEntropy Ran adam-mehdi/MuarAugment/muar/augmentations.py
code served (permissive licence) · get_code("be948f6069b9a943")
conv3x3 Ran SenWu/dauphin/dauphin/image/models/pyramidnet.py
code served (permissive licence) · get_code("9ce5cddeac7a72b0")
conv3x3 Ran SenWu/dauphin/dauphin/image/models/wide_resnet.py
code served (permissive licence) · get_code("056902da11d3f6b0")
get_alpha_beta Ran SenWu/dauphin/dauphin/image/models/shake_shake_function.py
code served (permissive licence) · get_code("8766441052d7093a")
load_json Ran SenWu/dauphin/dauphin/utils.py
code served (permissive licence) · get_code("e10d4efe152bbf23")
parse_sequence Ran senwu/dauphin/dauphin/image/augment_policy.py
code served (permissive licence) · get_code("a5f3e16641cea20d")
BatchRandAugment Not yet run adam-mehdi/MuarAugment/muar/augmentations.py
code served (permissive licence) · get_code("2f969dec47d024ae")
MuAugment Not yet run adam-mehdi/MuarAugment/muar/augmentations.py
code served (permissive licence) · get_code("d823826c5d2d0f05")
kornia_list Not yet run adam-mehdi/MuarAugment/muar/augmentations.py
code served (permissive licence) · get_code("a56a697ec3f193c1")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Data augmentation is a powerful technique to improve performance in applications such as image and text classification tasks. Yet, there is little rigorous understanding of why and how various augmentations work. In this work, we consider a family of linear transformations and study their effects on the ridge estimator in an over-parametrized linear regression setting. First, we show that transformations that preserve the labels of the data can improve estimation by enlarging the span of the training data. Second, we show that transformations that mix data can improve estimation by playing a regularization effect. Finally, we validate our theoretical insights on MNIST. Based on the insights, we propose an augmentation scheme that searches over the space of transformations by how uncertain the model is about the transformed data. We validate our proposed scheme on image and text datasets. For example, our method outperforms random sampling methods by 1.24% on CIFAR-100 using Wide-ResNet-28-10. Furthermore, we achieve comparable accuracy to the SoTA Adversarial AutoAugment on CIFAR-10, CIFAR-100, SVHN, and ImageNet datasets.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2005.00695")
get_code_for_paper("2005.00695")
have("2005.00695")

Connect an agent — have() is free.