You Only Cut Once: Boosting Data Augmentation with a Single Cut

Junlin Han, Pengfei Fang, Weihao Li, Jie Hong, Mohammad Ali Armin +3 more
1/28/2022
cs.CVcs.LG

Official code: JunlinHan/YOCO (107 stars, Python, PyTorch, last commit 2023-08-01).

Abstract

We present You Only Cut Once (YOCO) for performing data augmentations. YOCO cuts one image into two pieces and performs data augmentations individually within each piece.

Show full abstract

Applying YOCO improves the diversity of the augmentation per sample and encourages neural networks to recognize objects from partial information. YOCO enjoys the properties of parameter-free, easy usage, and boosting almost all augmentations for free. Thorough experiments are conducted to evaluate its effectiveness. We first demonstrate that YOCO can be seamlessly applied to varying data augmentations, neural network architectures, and brings performance gains on CIFAR and ImageNet classification tasks, sometimes surpassing conventional image-level augmentation by large margins. Moreover, we show YOCO benefits contrastive pre-training toward a more powerful representation that can be better transferred to multiple downstream tasks. Finally, we study a number of variants of YOCO and empirically analyze the performance for respective settings. Code is available at GitHub.

View on arXivView PDF

Code Implementations(1)

JunlinHan/YOCOOfficial100%
PyTorch

Code for You Only Cut Once: Boosting Data Augmentation with a Single Cut, ICML 2022.

10710PythonJan 27, 20223 years ago
cifar10cifar100classificationcomputer-visioncontrastive-learning+11 more

Similar Papers

Cite this paper

@article{han2022only,
  title  = {You Only Cut Once: Boosting Data Augmentation with a Single Cut},
  author = {Junlin Han and Pengfei Fang and Weihao Li and Jie Hong and Mohammad Ali Armin and Ian Reid and Lars Petersson and Hongdong Li},
  year   = {2022},
  eprint = {2201.12078},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.12078}
}

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/2201.12078.svg)](https://codeofpaper.com/paper/2201.12078)

Discussion