Distributed Traffic Synthesis and Classification in Edge Networks: A Federated Self-supervised Learning Approach

Yong Xiao, Rong Xia, Yingyu Li, Guangming Shi, Diep N. Nguyen, Dinh Thai Hoang, Dusit Niyato, Marwan Krunz · DOI

Abstract

As network traffic becomes increasingly complex in the 5G/6G era, traditional management techniques struggle with data privacy, label scarcity, and traffic heterogeneity. This paper introduces FS-GAN, a federated self-supervised learning framework that enables edge networks to automatically classify and synthesize network traffic without human-labeled data. By combining multi-generator Generative Adversarial Networks (GANs) with federated learning, FS-GAN achieves a 20% improvement in classification accuracy over state-of-the-art clustering methods while strictly preserving data privacy.

Introduction

The transition to 5G and 6G networks introduces diverse traffic patterns from applications like autonomous vehicles and the tactile internet. Managing this traffic faces three primary hurdles:

  1. Privacy: Regulations and security concerns prevent moving raw user data to a central cloud for analysis.
  2. Labeling Scarcity: Supervised learning requires massive amounts of manually labeled data, which is practically impossible to obtain for rapidly evolving network services.
  3. Heterogeneity: Traffic patterns vary wildly across different geographic locations and edge servers, making a "one size fits all" model ineffective.

Existing unsupervised solutions, such as clustering, often lack the accuracy needed for mission-critical network slicing or intrusion detection. Standard GANs also suffer from "model collapse," failing to capture the full diversity of traffic types.

Methodology

The authors propose FS-GAN (Federated Self-supervised GAN), which orchestrates several cutting-edge AI techniques to overcome these challenges.

System architecture and workflow of FS-GAN

The framework utilizes a multi-generator architecture where each edge server employs a set of generators, each specializing in a specific traffic type. It creates its own labels through self-supervised classification: since the framework knows which generator produced a specific synthetic sample, it uses that information as a pseudo-label to train a classifier.

Federated Learning (FL) is employed to aggregate local model parameters at a global coordinator, ensuring raw data never leaves the edge. The paper explores two coordination schemes: Scheme I (uploading both discriminators and generators for faster convergence) and Scheme II (uploading only discriminators for lower communication overhead). Additionally, a diversity regularization hyper-parameter ($\lambda$) is introduced to force generators to produce distinct traffic distributions, effectively solving the model collapse problem.

Key Results

The researchers evaluated FS-GAN using the ISCXVPN2016 dataset, focusing on 10 popular services to simulate a mixed traffic environment. FS-GAN outperformed state-of-the-art unsupervised clustering algorithms (like DEC and IDEC) by over 20% in average classification accuracy.

Comparison of true and synthetic traffic distributions

As shown in the figure above, FS-GAN produces synthetic samples that closely mirror true service distributions (e.g., Facebook, sftp, YouTube). The quality of the synthesized traffic was nearly five times better than standard federated GAN implementations, with a Jensen-Shannon Divergence (JSD) as low as 0.011. The system also proved robust against data imbalance, maintaining effectiveness even for services with limited samples.

Conclusion

FS-GAN represents a significant advancement in privacy-preserving network traffic analysis. While current limitations include hyper-parameter sensitivity and computational overhead at the edge, the framework's ability to learn from global traffic patterns without compromising local data privacy offers a promising path for future autonomous network management. Future work will focus on automated parameter tuning and adapting the model for real-time detection of novel service types.

Summary updated

BibTeX
@article{xiao2023distributed,
  author = {Yong Xiao and Rong Xia and Yingyu Li and Guangming Shi and Diep N. Nguyen and Dinh Thai Hoang and Dusit Niyato and Marwan Krunz},
  title = {{Distributed Traffic Synthesis and Classification in Edge Networks: A Federated Self-supervised Learning Approach}},
  journal = {IEEE Trans. Mobile Computing},
  year = {2023},
  doi = {10.1109/tmc.2023.3240821},
}
Figure