Skip to main navigation Skip to search Skip to main content

DAIR-FedMoE: Hierarchical MoE for Federated Encrypted Traffic Classification under Compound Drift

  • Shamaila Fardous
  • , Kashif Sharif*
  • , Fan Li
  • , Ali Asghar Manjotho
  • , Liehuang Zhu
  • *Corresponding author for this work
  • Beijing Institute of Technology
  • Mehran University of Engineering & Technology

Research output: Contribution to journalArticlepeer-review

Abstract

Federated learning (FL) offers a decentralized, privacy-preserving framework for encrypted traffic classification (ETC), enabling network management and security. However, real-world deployment of federated ETC faces compound client specific feature, concept, and label drift, which degrades model performance. Existing ETC methods under FL settings typically address these drift types in isolation or partial combinations, overlooking their entanglement. Moreover, multiple-global model and personalized FL approaches are computational and communication expensive. To fill this gap, we propose DAIR FedMoE, a Drift-Adaptive, Imbalance-Aware, RL-Managed Federated Mixture-of-Experts framework to simultaneously handle the drift triad with single-global model while minimizing the computational and communication overhead. DAIR-FedMoE in tegrates a GShard Transformer with a hierarchical Mixture of-Experts (MoE) layer that routes encrypsted flows to either stable or drift-specialist experts based on per-client drift scores. Within each expert, entropy-guided loss reweighting empha sizes low-confidence classes to address dynamic label imbalance. Additionally, a reinforcement learning-based policy dynamically manages the expert pool by spawning, pruning, and merging experts, enabling efficient adaptation to evolving traffic patterns. Experiments on federated splits of ISCX-VPN, ISCX-Tor, VNAT, and USTC-TFC2016 show that DAIR-FedMoE achieves superior macro-F1, minority-class recall, and drift-recovery speed compared to state-of-the-art baselines, while preserving privacy and communication efficiency.

Original languageEnglish
JournalIEEE Transactions on Dependable and Secure Computing
DOIs
Publication statusAccepted/In press - 2026
Externally publishedYes

Keywords

  • Class Imbalance
  • Distributed Concept Drift
  • Encrypted Traffic Classifi cation
  • Federated Learning
  • Mixture-of Expert
  • Reinforcement Learning

Fingerprint

Dive into the research topics of 'DAIR-FedMoE: Hierarchical MoE for Federated Encrypted Traffic Classification under Compound Drift'. Together they form a unique fingerprint.

Cite this