Addressing Class Imbalance in Classification Problems of Noisy Signals by using Fourier Transform Surrogates

Justus T. C. Schwabedal, John Snyder, Ayse S. Cakmak, Shamim Nemati, Gari D. CliffordarXiv 2018 · DOI

Abstract

Randomizing the Fourier-transform (FT) phases of temporal-spatial data generates surrogates that approximate examples from the data-generating distribution. We propose such FT surrogates as a novel tool to augment and analyze training of neural networks, specifically for sleep-stage classification. By computing FT surrogates of raw EEG, EOG, and EMG signals from under-represented sleep stages in the CAPSLPDB database, we achieved a balanced dataset. Training a convolutional neural network (CNN) on this augmented data improved the mean F1-score by 7%. Furthermore, we introduced "partial surrogates" to generate saliency maps for individual sleep epochs, providing a robust method for model interpretability.

Introduction: The Challenge of Class Imbalance

In biomedical signal processing, researchers frequently encounter massive class imbalances. Critical but rare events, such as specific sleep stages or epileptic seizures, are often under-represented compared to more prevalent states like wakefulness. Standard solutions like under-sampling or simple over-sampling often lead to data loss or overfitting. While Generative Adversarial Networks (GANs) offer a sophisticated alternative, they are often too data-hungry to effectively model rare classes from limited examples.

This paper explores Fourier Transform (FT) surrogates as a statistical middle ground—a method to generate realistic synthetic signals that regularize models without the overhead of complex generative architectures.

Methodology: Fourier Transform Surrogates

The core innovation lies in using FT surrogates for data augmentation. The process involves taking a real signal, performing a Fourier Transform to isolate its frequency components, maintaining the power spectrum (amplitudes), and replacing the phases with random values. The inverse transform then produces a new signal that shares the linear correlation structure of the original but represents a unique realization.

Comparison of original and FT surrogate signals across different sleep stages.

The study utilized a two-stage CNN architecture. The first stage employs "channel pipes" (1D convolutions) to process EEG, EOG, and EMG signals independently, while the second stage merges these outputs to capture inter-channel relationships.

Results and the "Sweet Spot" for Augmentation

The researchers found that augmentation performance follows a convex relationship with the probability of surrogate replacement ($\alpha$). Rather than a "more is better" approach, the best results were achieved at $\alpha = 0.4$, indicating that a balanced mix of original and synthetic data provides the most effective regularization.

Per-class accuracy as a function of augmentation probability, showing the optimal performance at approximately 0.4.

Overall, the FT-surrogate augmentation improved the mean F1-score by 7% compared to standard training. Stage S2 showed the most significant gains. However, the method also revealed that FT surrogates "smear" localized features, which can negatively impact performance for stages like S1 and S3 that rely on specific, short-lived transients.

Interpretability via Partial Surrogates

To understand model decisions, the authors developed a "partial surrogate" saliency technique. Instead of traditional "zero-masking"—which can introduce unrealistic artifacts or be interpreted as a feature itself (e.g., low EMG voltage in REM)—they replace small windows of the signal with FT surrogates of the remaining epoch. By sliding this window and observing changes in class probability, they can pinpoint the specific signal segments driving the classification. This method successfully identified that a specific "K-complex" caused a REM epoch to be misclassified as S2, demonstrating its value for model debugging.

Conclusion

FT surrogates provide a powerful, low-data alternative for balancing skewed biomedical datasets. While the assumption of stationarity limits their effectiveness for certain transient-heavy classes, the 7% improvement in F1-score and the novel interpretability tools highlight their potential for robust signal classification.

Summary updated

BibTeX
@misc{schwabedal2018addressing,
  author = {Justus T. C. Schwabedal and John Snyder and Ayse S. Cakmak and Shamim Nemati and Gari D. Clifford},
  title = {{Addressing Class Imbalance in Classification Problems of Noisy Signals by using Fourier Transform Surrogates}},
  year = {2018},
  eprint = {1806.08675},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.08675},
}
Figure