Introduction
Federated Learning (FL) has emerged as a powerful paradigm for training shared machine learning models without compromising data privacy. However, its real-world deployment faces a "double whammy" of challenges: Data Heterogeneity (Non-IID) and Communication Heterogeneity. In practical wireless networks, devices often possess non-identical data distributions (e.g., one user having only images of cats while another has only dogs) and inconsistent signal qualities due to interference and distance from base stations.
Existing FL solutions typically address either data or communication issues in isolation. This paper introduces a Dual-Segment Clustering (DSC) strategy that treats client grouping as a multi-dimensional balancing act between signal quality and statistical data distribution. By intelligently organizing devices, the DSC strategy achieves significant accuracy improvements in noisy, heterogeneous environments.
Methodology
The proposed DSC strategy employs a hierarchical approach where clients are organized into groups. Instead of every device communicating directly with a central parameter server, they interact with a "group leader" who performs local aggregation. The core of this strategy is a two-step clustering process using Affinity Propagation, which allows group leaders to emerge naturally without pre-defining the number of clusters.
The Two-Step Clustering Process
- Communication-Based Clustering (Segment 1): The system constructs an SNR (Signal-to-Noise Ratio) Matrix to group clients with similar signal strengths. This ensures that transmissions within a group are reliable and predictable, minimizing the impact of wireless channel noise.
- Data-Based Refinement (Segment 2): Within the communication-based groups, the system further clusters clients using a novel Information Quantity Matrix. This matrix quantifies the "informativeness" of a client's local data. The goal is to ensure each group contains a diverse set of data labels, making the group's aggregate update more representative of the global dataset.
Experimental Evaluation
The DSC strategy was evaluated using two benchmark computer vision datasets: MNIST (handwritten digits) and Fashion-MNIST (clothing items). To simulate real-world heterogeneity, each client was assigned only two random labels, and simulated wireless noise was introduced into the communication channels. The performance was compared against standard FedAvg and GFedAvg, a state-of-the-art clustering method.
Results and Discussion
The experimental results demonstrate that the DSC strategy significantly outperforms baseline methods in noisy, practical wireless environments.
Key Findings
- Accuracy Boost: DSC improved testing accuracy by 20.28% on MNIST and 21.42% on Fashion-MNIST compared to standard FedAvg.
- Superiority over SOTA: DSC outperformed GFedAvg by approximately 3%, validating the importance of considering communication quality alongside data distribution.
- Stability and Convergence: Mathematical analysis and simulations showed that DSC leads to a more stable convergence upper bound. The model reaches peak accuracy faster and with less "jitter" during the training process compared to methods that ignore the wireless channel's impact.
Conclusion
The Dual-Segment Clustering strategy effectively mitigates the negative impacts of Non-IID data and unreliable wireless communication in Federated Learning. By using hierarchical aggregation as a filter, the system removes noise and bias before updates reach the main server. Future work will focus on extending this strategy to time-varying mobile environments, where client locations and signal qualities change dynamically as users move through urban landscapes.
Summary updated