Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

The Effectiveness of Data Augmentation in Image Classification using Deep Learning

Learned augmentation networks can stretch small image datasets further than fixed transforms

  • Problem Classifiers trained on small curated image sets fit their training images closely and generalize poorly to new images. Collecting more labelled data is often restricted, as with medical patient data.
  • Method Neural augmentation uses a small Augmentation Network, trained jointly with the classifier, to transform pairs of same-class images instead of applying fixed transforms.
  • Results On dogs versus goldfish, neural augmentation reached 0.915 validation accuracy, against 0.855 with no augmentation.

Why small curated image sets need augmentation

Specialized image classification tasks often run short of labelled data, and medical work is a common case because access to patient data is restricted for privacy reasons. A classifier trained on a small set fits its training images closely and generalizes poorly to validation and test images, which is the overfitting problem that augmentation targets.

Augmentation enlarges the training set by transforming images the model already has, so no new data collection is needed.

The study asks whether a small, curated set can be stretched further by augmentation rather than by collecting a much larger unstructured corpus. It compares three routes: fixed affine transformations, style transfer produced by GANs, and a learned augmentation network that is trained together with the classifier. Each route is judged by validation accuracy on two-class subsets of tiny-imagenet-200 and on a 0-versus-8 MNIST task.

Fixed augmentations: affine transforms and GAN styling

Traditional transformations pair each training image with one duplicate produced by an affine transformation, such as a shift, zoom, rotation, flip, distortion or hue shading. All of these operations are affine maps of the form y = Wx + b applied to the original image. Both the original and the duplicate are fed into the network, so a dataset of size N becomes a dataset of size 2N.

The GAN route assigns each input image one style from six options: Cezanne, Enhance, Monet, Ukiyoe, Van Gogh and Winter. The styled image is produced with CycleGAN, which is also the network that moves dataset images to fixed targets such as day or night and winter or summer. As with the affine route, the original and the styled image are both used for training, which again doubles the data.

Neural augmentation: a learned pairing network

Neural augmentation replaces the fixed transform with a small convolutional network, the Augmentation Network, that receives two images from the same class. The two images are concatenated along the channel axis into a six-channel input, or a two-channel input for gray-scale data. The network outputs a three-channel image with the same height and width as the input images.

During training, a batch of original images goes through SmallNet, and randomly sampled same-class pairs go through the Augmentation Network, whose output is also passed into SmallNet. The loss is back-propagated into both networks, so the augmenting layers and the classification layers are updated together.

Any two same-class images can form a pair, so a dataset of size N yields N squared pairs, which the authors describe as a magnitude increase. The design rests on the idea that paired images from a small dataset can produce new images that improve training.

Augmentation losses and the combined objective

Training combines a classification loss, L_c, and an augmentation loss, L_a, into the weighted sum \\(\\alpha L_c + \\beta L_a\\). Setting \\(\\beta = 0\\) removes the augmentation loss, so the augmentation layers are trained only through the classification loss. The classification loss is a multi-class cross entropy applied to the sigmoids of the SmallNet scores.

The content loss compares the augmented image A with a target image T of the same size, with D the side length of the images. As printed, it is \\(L_{\\text{content}_a} = \\frac{1}{D^2}\\sum_{i,j}(A_{ij}-T_{ij})\\), and the text calls it a mean squared error. The style loss applies the same kind of comparison to gram matrices, defined as \\(G_{ij} = \\sum_k F_{ik}F_{jk}\\), with C the number of channels.

In the paper the gram matrix is taken on the raw images, and the style loss is written as \\(L_{\\text{style}_a} = \\frac{1}{C^2}\\sum_{i,j}(G^A_{ij}-G^T_{ij})\\).

The third arm computes no augmentation loss, so the augmenting layers learn only from the classification loss. The authors also suggest that the augmentation loss acts as a regularizer that keeps the augmented images close to the training data.

Datasets and training setup

The three tasks are dogs against cats and dogs against goldfish, both drawn from tiny-imagenet-200, and 0 against 8 from MNIST. For the tiny-imagenet subsets, 400 images per class go to training and the remaining 100 per class to validation, following an 80:20 split. The goldfish class replaces cats in the second task because goldfish look very different from dogs, while cats resemble dogs closely.

The MNIST subset has 1000 images per class.

Every run trains for 40 epochs with Adam optimization at a learning rate of 0.0001. SmallNet has three convolution layers with batch normalization and max pooling, followed by two fully connected layers, the second of which outputs the two class scores. The Augmentation Network has four 16-channel convolution layers followed by a final 3-channel convolution layer.

Each table reports one accuracy per setting, the best validation accuracy over the 40 epochs.

Dogs versus goldfish accuracy

Neural augmentation without an augmentation loss reached 0.915 validation accuracy, against 0.855 with no augmentation. Neural augmentation with content loss reached 0.900 and with style loss 0.890. Traditional transformations reached 0.890 and GANs reached 0.865, both above the no-augmentation baseline.

In the control arm, the same two images are fed into the Augmentation Network, which is meant to approximate a larger network trained on a single image without pairing. The control reached 0.840, below the 0.855 baseline. The authors read this as evidence that extra layers alone do not reduce overfitting on a small dataset, and they suggest that a larger net with a different learning rate might explain it.

The discussion ranks neural augmentation second on this task at 77.0% against 70.5%, while Table I gives 0.915 against 0.855 for the same comparison. The percentage pair in the text does not match the table, so the table values are used here.

Dogs versus cats accuracy

On dogs versus cats, neural augmentation without loss reached 0.765 and with content loss 0.770, against 0.705 with no augmentation. Traditional transformations reached 0.775, the highest value in Table II, GANs reached 0.720, and neural augmentation with style loss reached 0.740.

The control arm reached 0.710 against 0.705 without augmentation, so on this task it is not below the baseline. The statement that only the control does worse than no augmentation holds on dogs versus goldfish, where the control reached 0.840, but not on dogs versus cats.

The discussion states that neural augmentation performs best on dogs versus cats with 91.5% against 85.5%. Table II gives 0.765 for neural augmentation without loss and 0.705 with no augmentation for the same pair, so the text's values do not match the table.

MNIST 0-versus-8 results

Without augmentation the 0-versus-8 task reached 0.972 validation accuracy. Neural augmentation without loss reached 0.975, and with content loss 0.968. Only the content loss was tried on this gray-scale data, because the gram matrix does not produce a meaningful quantity for gray-scale images.

The authors conclude that neural augmentation has no effect on MNIST. They hypothesize that a simple CNN already performs well on MNIST, that the digits are simple enough that combining them adds little information, and that the digit variations leave few new images for the network to see.

What the augmented images look like

For goldfish, the augmented images are mostly combinations of the two source images, with the golden bodies of the fish merged while the background grass is smoothed out. For dogs, the augmented image takes on the characteristics of one source while keeping only the contours of the other dog, such as the nose and legs.

Some augmented dog images show no clear dog shape and consist only of contours of ears and legs. The images that help most appear regularized, with faded color and background noise reduced. Orange backgrounds from the source images are picked up, and the dog ears are colored greenish against the orange background.

Loss curves and training accuracy

The content loss decreased from about 1.6 to a range of 1.3 to 1.5 after 30 epochs and never converged, while the style loss hovered around 0.5. The authors argue that minimizing these losses fully would amount to an oracle that recreates any dog from any pair of dog images, which convolutional layers alone are unlikely to achieve.

For most of the first 20 epochs, training accuracy with augmentation is slightly lower than without it. The authors read this as a sign that learned augmentation helps the classifier generalize. A comparison of the losses across arms is not made, since the arms use different loss functions.

Limitations

Every augmentation arm uses SmallNet, and the authors list a VGG16 classifier as future work to test whether augmentation still helps a deeper network. Only the two tiny-imagenet subsets and the 0-versus-8 MNIST task were tested.

Each setting has one reported value, the best validation accuracy over 40 epochs at a learning rate of 0.0001, and no variation across runs is shown. One passage calls the reported score test accuracy and another calls it validation accuracy.

The authors report that the GAN and neural augmentation methods took almost three times the compute time of traditional augmentation. Traditional transformations reached nearly the same accuracy at a smaller time cost, according to the authors. Combining traditional transformations with neural augmentation was not tested, although the authors suggest it could help.

Paper info

Authors
Luis Perez, Jason Wang
Venue
arXiv · Preprint
First published
2017-12-13
Added
2026-11-12
Updated
2017-12-13
Version
v1
arXiv
1712.04621
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Luis Perez, Jason Wang (2017). The Effectiveness of Data Augmentation in Image Classification using Deep Learning. arXiv:1712.04621v1. https://arxiv.org/abs/1712.04621v1

BibTeX
@misc{perez2017effectiveness,
  title = {{The Effectiveness of Data Augmentation in Image Classification using Deep Learning}},
  author = {Luis Perez and Jason Wang},
  year = {2017},
  eprint = {1712.04621},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.04621v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up