Skip to main content
QUICK REVIEW

[Paper Review] Understanding and Enhancing Mixed Sample Data Augmentation.

Ethan Harris, Antonia Marcu|arXiv (Cornell University)|Feb 27, 2020
Advanced Neural Network ApplicationsComputer Science15 references21 citations
TL;DR

This paper proposes FMix, a novel mixed-sample data augmentation method that generates random binary masks from low-frequency Fourier-space images to create diverse, non-square mask shapes. Unlike MixUp, which distorts feature representations and acts adversarially, FMix preserves the data distribution while preventing memorization, achieving state-of-the-art performance on CIFAR-10 without external data, and outperforming both MixUp and CutMix with no training time increase.

ABSTRACT

Mixed Sample Data Augmentation (MSDA) has received increasing attention in recent years, with many successful variants such as MixUp and CutMix. By studying the mutual information between the function learned by a VAE on the original data and on the augmented data we show that MixUp distorts learned functions in a way that CutMix does not. We further demonstrate this by showing that MixUp acts as a form of adversarial training, increasing robustness to attacks such as Deep Fool and Uniform Noise which produce examples similar to those generated by MixUp. We argue that this distortion prevents models from learning about sample specific features in the data, aiding generalisation performance. In contrast, we suggest that CutMix works more like a traditional augmentation, improving performance by preventing memorisation without distorting the data distribution. However, we argue that an MSDA which builds on CutMix to include masks of arbitrary shape, rather than just square, could further prevent memorisation whilst preserving the data distribution in the same way. To this end, we propose FMix, an MSDA that uses random binary masks obtained by applying a threshold to low frequency images sampled from Fourier space. These random masks can take on a wide range of shapes and can be generated for use with one, two, and three dimensional data. FMix improves performance over MixUp and CutMix, without an increase in training time, for a number of models across a range of data sets and problem settings, obtaining a new single model state-of-the-art result on CIFAR-10 without external data. Finally, we show that a consequence of the difference between interpolating MSDA such as MixUp and masking MSDA such as FMix is that the two can be combined to improve performance even further. Code for all experiments is provided at this https URL .

Motivation & Objective

  • To investigate how mixed-sample data augmentation (MSDA) methods like MixUp and CutMix affect the representation learning of deep models.
  • To identify why MixUp may distort learned functions and hinder learning of sample-specific features, while CutMix avoids such distortion.
  • To develop a new MSDA method that combines the benefits of CutMix—preserving data distribution and preventing memorization—while enabling arbitrary-shaped masks for improved generalization.
  • To propose and evaluate FMix, a method that generates random binary masks via thresholding low-frequency Fourier transforms, applicable to 1D, 2D, and 3D data.
  • To demonstrate that FMix improves performance over MixUp and CutMix across multiple datasets and models, and that combining interpolation-based and masking-based MSDA further enhances results.

Proposed method

  • FMix generates random binary masks by sampling low-frequency images from Fourier space and applying a threshold to produce irregular, non-square shapes.
  • The method uses a differentiable sampling process to ensure gradients can flow during training, enabling end-to-end learning with standard backpropagation.
  • The masks are applied to input data and labels via element-wise multiplication and interpolation, similar to CutMix, but with shape diversity from Fourier-based generation.
  • The approach is generalizable to 1D, 2D, and 3D data, including images, audio, and video, due to the frequency-domain sampling mechanism.
  • FMix is designed to preserve the data distribution better than MixUp, avoiding adversarial-like distortion of feature representations.
  • The method enables combination with interpolation-based MSDA (e.g., MixUp), showing complementary gains when both are used together.

Experimental results

Research questions

  • RQ1How does MixUp affect the representation function learned by a VAE, and does it distort the underlying data distribution?
  • RQ2Why does CutMix improve generalization without distorting feature representations, unlike MixUp?
  • RQ3Can a masking-based MSDA with arbitrary-shaped masks further reduce memorization while preserving data distribution?
  • RQ4Does FMix, using Fourier-sampled masks, outperform existing MSDA methods like MixUp and CutMix across diverse datasets and architectures?
  • RQ5Can combining interpolation-based (MixUp) and masking-based (FMix) MSDA yield further performance gains?

Key findings

  • FMix achieves a new single-model state-of-the-art result on CIFAR-10 without using external data, outperforming both MixUp and CutMix.
  • FMix improves generalization performance across multiple models and datasets without increasing training time.
  • MixUp was found to distort learned functions and act as a form of adversarial training, increasing robustness to attacks like Deep Fool and Uniform Noise.
  • CutMix does not distort the data distribution and prevents memorization more effectively than MixUp, making it more suitable for standard data augmentation.
  • The combination of MixUp and FMix leads to further performance improvements, indicating complementary strengths between interpolation-based and masking-based MSDA.
  • FMix’s use of Fourier-sampled masks enables diverse, non-square mask shapes that enhance generalization while maintaining data distribution fidelity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.