Introduction
Standard Federated Learning (FL) frameworks typically operate under the assumption of homogeneity, where all participating clients train an identical global model. However, real-world deployments involve a diverse array of hardware, from high-performance workstations to resource-constrained IoT devices like the Raspberry Pi. This "system heterogeneity" introduces significant challenges, primarily tail latency—where the entire training round is bottlenecked by the slowest device—and resource under-utilization.
The Challenge of System Heterogeneity
In a conventional FL setup, the server must wait for the slowest participant to complete its local training before aggregating updates. As shown in the motivation study below, the presence of low-power devices can drastically increase total training time, with the slowest devices accounting for nearly 95% of the total latency in some configurations.
To address this, researchers have proposed model-heterogeneous FL, allowing different clients to train models of varying sizes. However, aggregating these disparate architectures remains a non-trivial task, often requiring shared public datasets or complex local data generation that weak devices cannot support.
The FedTSA Framework
FedTSA (Federated Two-Stage Aggregation) introduces a novel approach to bridge the gap between hardware capacity and model architecture through a cluster-based strategy.
1. Resource-Oriented Clustering and Pruning
Instead of relying on static hardware specifications, FedTSA uses a "proxy task"—a small MLP trained on a sliver of data—to measure actual runtime performance. Using Kernel Density Estimation (KDE), the server groups clients into clusters. Each cluster is then assigned a model pruning rate proportional to its hardware capability, ensuring that every device can contribute without becoming a bottleneck.
2. Two-Stage Aggregation
- Stage 1 (Client Side): Within each cluster, clients share the same pruned architecture. The server performs standard weight averaging (FedAvg) to consolidate knowledge within these homogeneous groups.
- Stage 2 (Server Side): To facilitate knowledge transfer between different architectures, the server employs Deep Mutual Learning (DML). Crucially, FedTSA leverages a pre-trained Diffusion Model to generate high-quality synthetic data based on text prompts provided by clients. This "data-free" approach avoids privacy concerns associated with shared datasets while ensuring that knowledge from larger, more complex models can be distilled into smaller ones, and vice versa.
Experimental Evaluation
The authors evaluated FedTSA against state-of-the-art baselines (e.g., FedProto, FedMD, HeteroFL) using CIFAR-10, CIFAR-100, and Tiny-ImageNet benchmarks under both IID and non-IID settings.
- Accuracy Boost: FedTSA achieved an accuracy of 89.28% on CIFAR-10, significantly outperforming FedMD (74.26%) and FedDF (79.01%).
- Robustness: The system remained stable even when models were pruned down to 10% of their original size for the weakest devices, whereas competitors saw sharp performance declines.
- Efficiency: By optimizing for heterogeneity, FedTSA captures the speedup potential of removing slow-device bottlenecks while still incorporating their data contributions.
Conclusion and Future Work
FedTSA demonstrates that system heterogeneity can be managed effectively through intelligent clustering and diffusion-based knowledge exchange. While the current implementation focuses on computer vision, future work will explore adaptations for Natural Language Processing (NLP) and automated prompt engineering to further enhance the quality of synthetic data used in the mutual learning stage.
Summary updated