WWW2026

FedDiG: Frequency-Guided Diffusion Diversity for Generalizable Federated Time Series Classification

Haoran Shi, Junru Zhang, Cheng Peng, Xiaoli Tang, Longtao Huang, Han Yu

摘要

Federated domain generalization (FDG) for time-series classification (TSC) poses a critical challenge for modern intelligent web services, which rely on edge-collected time-series signals from diverse mobile applications and web devices (e.g., wearables sensors) to support decision-making. The source heterogeneity and temporal dynamics give rise to out-of-distribution (OOD) patterns, which hinder the model's ability to generalize to previously unseen users and devices. In this work, we propose Federated Generalization via Diversity Generation (FedDiG), a diffusion-based FDG framework that captures intra-client distribution shifts from a frequency-domain perspective and employs cross-frequency sampling to synthesize time-series data with diverse spectral patterns. Specifically, FedDiG first performs frequency-proxy representation learning on clients to serve as diffusion conditions. The server then aggregates client-side frequency proxies to construct a global proxy pool and applies class-wise mixup to create novel frequency features. These features guide a global diffusion model to produce diverse data, enabling the simulation of previously unseen patterns and thereby enhancing model training. Extensive experiments on four cross-domain time-series benchmarks demonstrate that FedDiG significantly outperforms state-of-the-art federated learning and FDG baselines, particularly under small-data regimes and large-scale client scenarios, achieving robust generalization to unseen domains in federated settings. This work bridges distribution-diversity synthesis and FDG for time-series to support robust, scalable web applications fed by edge-collected signals, delivering web-scale generalization across heterogeneous web, mobile, and IoT clients.