Skip to main content
QUICK REVIEW

[Paper Review] Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive Learning

Berken Utku Demirel, Christian Holz|arXiv (Cornell University)|Sep 23, 2023
Machine Learning in HealthcareComputer Science8 citations
TL;DR

The paper introduces a phase- and magnitude-aware mixup augmentation for quasi-periodic time series in contrastive learning, enabling more informative positive samples by sampling mixup coefficients based on latent-space similarity. It improves downstream performance across multiple time-series tasks compared to prior augmentation methods.

ABSTRACT

The success of contrastive learning is well known to be dependent on data augmentation. Although the degree of data augmentations has been well controlled by utilizing pre-defined techniques in some domains like vision, time-series data augmentation is less explored and remains a challenging problem due to the complexity of the data generation mechanism, such as the intricate mechanism involved in the cardiovascular system. Moreover, there is no widely recognized and general time-series augmentation method that can be applied across different tasks. In this paper, we propose a novel data augmentation method for quasi-periodic time-series tasks that aims to connect intra-class samples together, and thereby find order in the latent space. Our method builds upon the well-known mixup technique by incorporating a novel approach that accounts for the periodic nature of non-stationary time-series. Also, by controlling the degree of chaos created by data augmentation, our method leads to improved feature representations and performance on downstream tasks. We evaluate our proposed method on three time-series tasks, including heart rate estimation, human activity recognition, and cardiovascular disease detection. Extensive experiments against state-of-the-art methods show that the proposed approach outperforms prior works on optimal data generation and known data augmentation techniques in the three tasks, reflecting the effectiveness of the presented method. Source code: https://github.com/eth-siplab/Finding_Order_in_Chaos

Motivation & Objective

  • Motivate and address limitations of standard mixup for non-stationary quasi-periodic time-series in contrastive learning.
  • Propose a tailored mixup that treats phase and magnitude separately to avoid destructive interference.
  • Leverage a beta-VAE to estimate sample similarity for adaptive augmentation strength.
  • Demonstrate improvements over state-of-the-art augmentation methods across multiple time-series tasks.

Proposed method

  • Represent time-series signals in the frequency domain by separating amplitude and phase.
  • Perform linear mixup on amplitudes but a controlled phase interpolation that preserves coherence (shortest phase difference).
  • Introduce sample-specific mixing coefficients drawn from distributions conditioned on latent-space similarity.
  • Train a beta-VAE to obtain an unsupervised latent space where proximity indicates semantic similarity, guiding aggressive augmentation for similar pairs.
  • Provide theoretical guarantees (lower bound on mutual information) for the proposed mixing method under stated assumptions.
  • Evaluate within SimCLR-style contrastive learning across eight datasets spanning activity recognition, heart-rate estimation, and CVD classification.

Experimental results

Research questions

  • RQ1Can a phase- and magnitude-aware mixup improve positive sample quality for quasi-periodic time-series in contrastive learning?
  • RQ2Does latent-space driven sampling of mixup coefficients prevent destructive interference and improve mutual information with labels?
  • RQ3How does the method perform across diverse time-series tasks compared to existing augmentation and hard-positive generation techniques?
  • RQ4Is a beta-VAE sufficient to capture semantic sample similarity for adaptive augmentation in an unsupervised setting?

Key findings

  • The proposed mixup with phase-aware interpolation yields higher downstream accuracy and F1 across most datasets compared to prior mixup baselines.
  • Across activity recognition, heart-rate estimation, and CVD classification, the method outperforms baselines on seven of eight datasets with reduced variance.
  • Aggressive augmentation is beneficial for semantically similar pairs identified via latent-space proximity, while avoiding excessive perturbation for dissimilar pairs.
  • Ablation studies show that removing phase-magnitude separation or latent-space guidance degrades performance, underscoring the importance of each component.

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.