Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions

Zinan Lin, Alankar Jain, Chen Wang, Giulia C. Fanti, Vyas Sekar · DOI

TL;DR

Sharing valuable networked time series data is hindered by privacy and fidelity concerns. This paper introduces DoppelGANger (DG), a novel GAN-based framework that generates realistic synthetic time series data with metadata, significantly improving fidelity and enabling broader data sharing for research and development.

What Problem Does This Paper Address?

The core problem is the "data access barrier" in networked systems research. Researchers and developers often need real-world time series data (like network traffic, server logs, or performance metrics) to build and test models. However, organizations are reluctant to share this data due to fears of revealing sensitive business information or violating user privacy. Existing methods for creating synthetic data, like manual modeling or simpler machine learning approaches, are often too specialized, require significant expert knowledge, and struggle to generalize across different datasets and use cases. This limits data-driven innovation.

Methods

The paper proposes DoppelGANger (DG), a custom workflow built upon Generative Adversarial Networks (GANs) to address the specific challenges of networked time series data. Key innovations include:

  • Decoupled Metadata and Time Series Generation: Instead of generating metadata and time series jointly, DG uses separate generators. A metadata generator (an MLP) creates metadata, which is then fed as input to an RNN-based time series generator. This helps capture complex relationships between measurements and their associated attributes.
  • Auto-Normalization for Mode Collapse: To combat mode collapse (where GANs produce limited variations), DG employs an "auto-normalization" technique. It normalizes each time series individually by treating its min/max values as generated "fake" metadata. This allows the GAN to learn to generate these normalization parameters, alleviating issues caused by wide value ranges in the data.
  • Batch Generation with RNNs: To capture long-term temporal correlations in time series, DG uses an RNN generator that generates data in batches (multiple time steps at once) rather than one step at a time. This reduces the number of RNN passes needed, improving the ability to model long-term dependencies.
  • Auxiliary Discriminator for Metadata Fidelity: An additional discriminator is introduced to specifically evaluate the fidelity of the generated metadata. This helps improve the overall quality and realism of the synthetic data, especially for metadata that might be complex or high-dimensional.

Datasets

The authors evaluated DG on three real-world datasets:

  • Wikipedia Web Traffic (WWT): Daily page view counts for Wikipedia pages, with metadata like Wikipedia domain, access type, and agent type. This dataset is characterized by long time series (550 daily measurements per sample).
  • Measuring Broadband America (MBA): Network performance measurements (e.g., ping loss rate, traffic volume) from home internet users, with metadata including ISP, connection technology, and state. This dataset features variable measurement lengths.
  • Google Cluster Usage Traces (GCUT): Task resource usage (CPU, memory) from a compute cluster, with metadata like task end event type. This dataset also exhibits variable measurement lengths and has a bimodal distribution in task durations.

Key Insights and Ideas

  • GANs are promising but need domain-specific adaptation: Standard GAN architectures struggle with the unique characteristics of networked time series data, particularly long-term dependencies and complex metadata relationships. DG demonstrates that tailored GAN designs can overcome these limitations.
  • Metadata is crucial and challenging: Effectively generating and correlating metadata with time series measurements is key to realistic synthetic data. DG's decoupled approach and auxiliary discriminator highlight the importance of this.
  • Mode collapse is a significant hurdle for diverse data: The wide value ranges and multiple patterns in networked data make mode collapse a persistent problem. Auto-normalization offers a practical solution by making the generation task more uniform.
  • Privacy guarantees can severely impact fidelity: While GANs offer potential for privacy, current differentially private GANs (DP-GANs) significantly degrade the quality and temporal correlations of generated time series, making them impractical for many use cases.
  • More training data can improve robustness against membership inference attacks: Contrary to some privacy practices, using larger training datasets for GANs appears to make them more resistant to membership inference attacks, suggesting a different approach to privacy.

Key Results

  • Improved Fidelity: DG achieved up to 43% higher fidelity than baseline models on downstream tasks like predictive modeling.
  • Better Temporal Correlation Capture: DG successfully captured long-term temporal correlations (e.g., weekly and annual patterns) in the WWT dataset, outperforming baselines like RCGAN by a significant margin in autocorrelation error.
  • Accurate Distribution Modeling: DG accurately reproduced bimodal distributions (e.g., task durations in GCUT) and captured subtle differences in bandwidth usage between DSL and cable users in the MBA dataset.
  • Effective Metadata-Measurement Correlation: DG demonstrated strong performance in learning and preserving correlations between measurements and metadata, as shown by its superior performance in predicting task end events on GCUT.
  • No Memorization: Visualizations showed that DG-generated samples were not simple copies of training data, indicating it learned underlying data structures.
  • Competitive Training Time: While not the fastest, DG's training time was competitive with other advanced GANs, and it achieved better results with significantly less training data than some baselines.

Limitations and Future Work

  • Privacy-Fidelity Tradeoff: The paper acknowledges that resolving the privacy problem while maintaining high fidelity remains an open challenge. Current DP-GAN approaches sacrifice too much fidelity.
  • Complex Interactions: DG does not handle causal interactions between stateful agents, which is a limitation for certain types of data (e.g., full TCP session captures).
  • "What-If" Analysis: While DG can obfuscate metadata distributions, it doesn't fully support "what-if" analysis where significant changes to the underlying system model are explored. This might require combining GANs with simulators.
  • Broader Privacy Metrics: The authors suggest exploring alternative privacy metrics beyond differential privacy, as DP's assumptions may not align well with all networked data types.
  • Generalization to More Complex Datasets: Future work could explore DG's applicability to datasets with even greater complexity, such as those involving more intricate causal relationships or a larger number of metadata dimensions.

Summary updated

BibTeX
@inproceedings{lin2020using,
  author = {Zinan Lin and Alankar Jain and Chen Wang and Giulia C. Fanti and Vyas Sekar},
  title = {{Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions}},
  booktitle = {Internet Measurement Conference},
  year = {2020},
  doi = {10.1145/3419394.3423643},
}
Figure