Skip to main content
QUICK REVIEW

[Paper Review] CADDA: Class-wise Automatic Differentiable Data Augmentation for EEG Signals

Cédric Rommel, Thomas Moreau|arXiv (Cornell University)|Jun 25, 2021
EEG and Brain-Computer InterfacesNeuroscience49 references5 citations
TL;DR

This paper proposes CADDA, a differentiable, class-wise data augmentation method for EEG signals that automatically learns optimal augmentation policies per class using gradient-based optimization. It introduces novel EEG-specific augmentation operations and demonstrates superior performance in both class-agnostic and class-wise settings, outperforming gradient-free methods and achieving faster convergence than existing gradient-based approaches on sleep staging tasks.

ABSTRACT

Data augmentation is a key element of deep learning pipelines, as it informs the network during training about transformations of the input data that keep the label unchanged. Manually finding adequate augmentation methods and parameters for a given pipeline is however rapidly cumbersome. In particular, while intuition can guide this decision for images, the design and choice of augmentation policies remains unclear for more complex types of data, such as neuroscience signals. Besides, class-dependent augmentation strategies have been surprisingly unexplored in the literature, although it is quite intuitive: changing the color of a car image does not change the object class to be predicted, but doing the same to the picture of an orange does. This paper investigates gradient-based automatic data augmentation algorithms amenable to class-wise policies with exponentially larger search spaces. Motivated by supervised learning applications using EEG signals for which good augmentation policies are mostly unknown, we propose a new differentiable relaxation of the problem. In the class-agnostic setting, results show that our new relaxation leads to optimal performance with faster training than competing gradient-based methods, while also outperforming gradient-free methods in the class-wise setting. This work proposes also novel differentiable augmentation operations relevant for sleep stage classification.

Motivation & Objective

  • To address the lack of effective, automated data augmentation strategies for EEG signals, especially in supervised learning settings with limited data.
  • To explore class-dependent augmentation policies, recognizing that different EEG stages (e.g., N2 vs. W) require distinct invariances.
  • To develop a differentiable relaxation of the data augmentation search problem that enables efficient, gradient-based optimization over large, class-specific policy spaces.
  • To propose novel, EEG-specific differentiable augmentation operations suitable for sleep stage classification.
  • To evaluate the method on EEG sleep staging and benchmark tasks, comparing performance and efficiency against state-of-the-art gradient-based and gradient-free methods.

Proposed method

  • Introduces three novel differentiable augmentation operations tailored for EEG signals: time reversal, sign flip, and Fourier transform-based surrogate operations.
  • Extends the bilevel optimization framework of AutoAugment to support class-wise policies, where each class has its own set of learnable augmentation weights.
  • Uses a Gumbel-Softmax relaxation to differentially sample subpolicies, enabling end-to-end backpropagation through the augmentation policy selection process.
  • Employs a differentiable relaxation of the search space to allow gradient-based optimization over the combination of operations and their parameters per class.
  • Applies the method in both class-agnostic and class-wise settings, with the latter enabling distinct augmentation strategies for each EEG sleep stage.
  • Uses a two-stage training process: inner loop evaluates policy performance on a validation set, outer loop updates policy weights via gradient descent.

Experimental results

Research questions

  • RQ1Can gradient-based automatic data augmentation with class-wise policies improve performance on EEG sleep staging compared to class-agnostic or gradient-free methods?
  • RQ2What novel, EEG-specific augmentation operations are effective for improving generalization in sleep stage classification?
  • RQ3How does the differentiable relaxation of the policy search space enable faster and more effective learning than traditional black-box optimization?
  • RQ4Does the performance gain from class-wise augmentation depend on data regime size, and how does it compare to density-matching approaches?
  • RQ5How do different augmentation strategies impact individual EEG classes, and can CADDA discover these class-specific invariances?

Key findings

  • In the class-agnostic setting, CADDA achieves higher final accuracy (0.5% better) and is 40% faster than Faster AutoAugment, outperforming DADA by 1%.
  • In the class-wise setting, CADDA is five times faster than AutoAugment and achieves higher performance than all evaluated gradient-free methods.
  • The method discovers class-specific augmentation strategies: for example, time reversal and sign flip are more beneficial for certain stages, while others require different operations.
  • On the Physionet dataset, manual grid-search for magnitude parameters showed that optimal augmentation performance depends on the training data size, with gains up to 1.5% balanced accuracy when using 2^-11 of the data.
  • Density matching-based methods perform poorly in low-data regimes (e.g., 6 nights), but improve with more data (24 nights), highlighting the advantage of CADDA’s differentiable search in data-scarce settings.
  • Ablation studies confirm that the differentiable relaxation and class-wise policy design are critical for performance, with ablation of either component leading to significant drops in accuracy.

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.