This paper explores the frontier of privacy-preserving machine learning, specifically focusing on how to transform sensitive time series data into "public" synthetic versions that remain useful for training deep learning models.
TL;DR
The authors benchmark GAN-based methods for generating privacy-preserving synthetic time series data, finding that Gradient-Sanitized Wasserstein GANs (GSWGAN) significantly outperform traditional Differentially Private GANs. By only sanitizing the gradients sent to the generator, GSWGAN maintains high classification utility while providing robust privacy protections.
What Problem Does This Paper Address?
Deep learning thrives on data, but in sectors like healthcare and finance, data is often locked away due to strict privacy regulations (like GDPR). Standard anonymization techniques are frequently insufficient against modern deanonymization attacks.
While Differential Privacy (DP) offers a mathematical guarantee of privacy, applying it directly to a classifier often results in a significant "utility gap"—a sharp drop in accuracy. This paper addresses the scarcity of benchmarking for generative privacy methods in the time series domain. The goal is to create synthetic datasets that look and act like the original data but contain no identifiable private information, allowing them to be shared and used freely.
Methods
The researchers compared two primary GAN-based architectures:
- DPWGAN (Differentially Private Wasserstein GAN): A standard approach where noise is added to the gradients and discriminator weights are clipped to satisfy DP requirements.
- GSWGAN (Gradient-Sanitized Wasserstein GAN): A more recent approach where only the gradients passed from the discriminator to the generator are "sanitized."
The core innovation of GSWGAN is the realization that the discriminator is discarded after training. Therefore, the discriminator itself doesn't need to be privacy-restricted. By allowing a "stronger," unrestricted discriminator to guide the generator, the resulting synthetic data is much higher quality.
The study also evaluated the impact of Dense vs. Convolutional architectures and investigated various stopping criteria (like FID and Inception Score) to prevent the common GAN problem of mode collapse.
Datasets
The experiments were conducted using a diverse selection of 9 datasets from the well-known UEA & UCR time series repository. These datasets cover various domains to test the generalizability of the methods:
- Transport: AsphaltPavementType, AsphaltRegularity
- Communications: CharacterTrajectories, HandOutlines, UWaveGestureLibraryAll, Wafer
- Public Health: ECG5000, FaceDetection
- Manufacturing: FordA
Characteristics such as sequence length, number of channels, and class counts for these datasets are detailed in the table below:
Key Insights and Ideas
- The Utility of a Strong Discriminator: GSWGAN’s superiority stems from not handicapping the discriminator. Because the discriminator is just a training tool and not part of the released data, it can be as complex as needed to provide precise feedback to the generator.
- Convolutions are King for Time Series: The authors found that convolutional generators (GSWGAN-conv) produce much smoother, more realistic samples compared to dense layers, which often result in noisy, jagged outputs.
- FID is a Reliable Compass: Originally designed for images, the Frechet Inception Distance (FID) proved to be an excellent early stopping criterion for time series GANs, consistently leading to better-performing models than simply training for a fixed number of iterations.
- Robustness to Noise: GSWGAN is remarkably robust. Even when the "noise multiplier" (which increases privacy) was turned up, GSWGAN maintained much higher accuracy than DPWGAN or direct DP classifiers.
Key Results
The quantitative results highlight a clear winner:
- Accuracy: GSWGAN showed an average performance drop of only ~10% compared to a non-private baseline. In contrast, DPWGAN suffered a massive ~36% drop.
- Architecture Impact: Convolutional setups outperformed dense ones by an average of 4%, with gains as high as 10% on difficult datasets like FaceDetection.
- Stopping Criteria: Using FID as a stopping criterion improved average performance by 3% over using accuracy and was significantly more stable than the Inception Score (IS).
Detailed accuracy comparisons across all datasets and methods can be seen here:
The impact of different stopping criteria on GSWGAN performance is summarized in Figure 3:
Limitations and Future Work
- Architecture Sensitivity: While GSWGAN-conv is powerful, it requires a more intensive architecture search (tuning filter sizes and strides) for each new dataset compared to simpler dense networks.
- Data Imbalance: The GANs struggled with highly imbalanced datasets (like ECG5000), where the generator often failed to learn the characteristics of minority classes.
- Computational Cost: Training these generative models, especially when performing architecture searches for complex datasets like FordA, remains computationally expensive.
Future work could involve automating the architecture search for time series GANs and developing better techniques for handling extreme class imbalance in a private context.
Summary updated