Safe Augmentation: Learning Task-Specific Transformations from Data

Irynei Baran, Orest Kupyn, Arseny Kravchenko
7/30/2019
cs.CV

Official code: Irynei/SafeAugmentation (16 stars, Python, last commit 2026-07-17).

Abstract

Data augmentation is widely used as a part of the training process applied to deep learning models, especially in the computer vision domain. Currently, common data augmentation techniques are designed manually.

Show full abstract

Therefore they require expert knowledge and time. Moreover, augmentations are dataset-specific, and the optimal augmentations set on a specific dataset has limited transferability to others. We present a simple and explainable method called $\textbf{Safe Augmentation}$ that can learn task-specific data augmentation techniques that do not change the data distribution and improve the generalization of the model. We propose to use safe augmentation in two ways: for model fine-tuning and along with other augmentation techniques. Our method is model-agnostic, easy to implement, and achieves better accuracy on CIFAR-10, CIFAR-100, SVHN, Tiny ImageNet, and Cityscapes datasets comparing to baseline augmentation techniques. The code is available at $\href{https://github.com/Irynei/SafeAugmentation}{https://github.com/Irynei/SafeAugmentation}$.

View on arXivView PDF

Code Implementations(1)

160PythonAug 30, 20184 months ago

Similar Papers

Cite this paper

@article{baran2019safe,
  title  = {Safe Augmentation: Learning Task-Specific Transformations from Data},
  author = {Irynei Baran and Orest Kupyn and Arseny Kravchenko},
  year   = {2019},
  eprint = {1907.12896},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.12896}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.12896.svg)](https://codeofpaper.com/paper/1907.12896)

Discussion