Skip to main content
QUICK REVIEW

[Paper Review] DistFL: Distribution-aware Federated Learning for Mobile Scenarios

Bingyan Liu, Yifeng Cai|arXiv (Cornell University)|Oct 22, 2021
Privacy-Preserving Technologies in DataComputer Science60 references9 citations
TL;DR

This paper proposes DistFL, a distribution-aware federated learning framework that clusters non-iid client models based on extracted distribution knowledge from batch normalization layers, enabling cluster-wise model aggregation. By identifying and grouping clients with similar data distributions, DistFL achieves significantly improved accuracy—up to 21%–40% higher than FedAvg—on mobile scenarios with strong data skew, while maintaining privacy and efficiency through selective BN channel optimization.

ABSTRACT

Federated learning (FL) has emerged as an effective solution to decentralized and privacy-preserving machine learning for mobile clients. While traditional FL has demonstrated its superiority, it ignores the non-iid (independently identically distributed) situation, which widely exists in mobile scenarios. Failing to handle non-iid situations could cause problems such as performance decreasing and possible attacks. Previous studies focus on the "symptoms" directly, as they try to improve the accuracy or detect possible attacks by adding extra steps to conventional FL models. However, previous techniques overlook the root causes for the "symptoms": blindly aggregating models with the non-iid distributions. In this paper, we try to fundamentally address the issue by decomposing the overall non-iid situation into several iid clusters and conducting aggregation in each cluster. Specifically, we propose extbf{DistFL}, a novel framework to achieve automated and accurate extbf{Dist}ribution-aware extbf{F}ederated extbf{L}earning in a cost-efficient way. DistFL achieves clustering via extracting and comparing the extit{distribution knowledge} from the uploaded models. With this framework, we are able to generate multiple personalized models with distinctive distributions and assign them to the corresponding clients. Extensive experiments on mobile scenarios with popular model architectures have demonstrated the effectiveness of DistFL.

Motivation & Objective

  • To address the fundamental root cause of performance degradation in federated learning under non-iid data distributions in mobile scenarios.
  • To overcome the limitations of existing methods that treat symptoms (e.g., low accuracy, poisoning attacks) rather than the underlying issue of blind model aggregation across diverse data distributions.
  • To enable automated, accurate, and cost-efficient clustering of clients based on their data distribution characteristics without requiring labeled data or manual tuning.
  • To design a framework that supports personalized model generation by assigning distinct models to clusters of clients with similar data distributions.
  • To ensure privacy and efficiency by extracting distribution knowledge from only a subset of batch normalization layers, reducing computational cost.

Proposed method

  • Extract distribution knowledge from local models by generating and feeding synthetic 'bogus data' into batch normalization (BN) layers to capture statistical properties.
  • Use the model responses to this synthetic data as a proxy for distribution knowledge, forming a similarity matrix to compare clients.
  • Apply clustering to group clients with similar distribution knowledge, decomposing the overall non-iid problem into multiple iid clusters.
  • Perform model aggregation separately within each cluster using standard FedAvg-style averaging, improving convergence and accuracy.
  • Optimize efficiency by selecting only a fraction (e.g., 20–50%) of BN channels for knowledge extraction, reducing computation without sacrificing clustering quality.
  • Validate the framework using real-world mobile scenarios with diverse model architectures and simulated non-iid data distributions.

Experimental results

Research questions

  • RQ1Can distribution-aware clustering of client models improve federated learning performance in non-iid mobile scenarios?
  • RQ2How effective is distribution knowledge extraction from batch normalization layers in capturing client data distribution differences?
  • RQ3What is the optimal number of distribution knowledge points (z) and extraction ratio (E%) for accurate clustering with minimal computational cost?
  • RQ4Can the framework achieve better accuracy than state-of-the-art methods under strong data skew without manual intervention?
  • RQ5How does the framework maintain privacy while enabling accurate clustering and personalized model generation?

Key findings

  • DistFL achieves significantly higher accuracy than FedAvg on non-iid mobile scenarios, with performance improvements ranging from 21% to 40% in extreme skew conditions.
  • Using 100 distribution knowledge points (z=100) provides sufficient clustering accuracy regardless of the BN channel extraction ratio (E%), demonstrating robustness to knowledge quantity.
  • Clustering performance improves with increasing distribution knowledge points, and a 50% or even 20% BN channel extraction ratio is sufficient when enough knowledge is available, reducing computational cost.
  • The similarity matrix analysis confirms that clients from the same distribution form distinct diagonal blocks with high similarity, validating the effectiveness of the clustering mechanism.
  • The framework successfully decomposes non-iid data into multiple iid clusters, enabling more accurate and personalized model aggregation per cluster.
  • The approach outperforms state-of-the-art methods by addressing the root cause of non-iid issues rather than treating symptoms like low accuracy or poisoning attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.