NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Empirical Study of the Impact of Federated Learning on Machine Learning Model Accuracy

Haotian Yang, Zhuoran Wang, Benson Chou, Sophie Xu, Hao Wang, Jingxian Wang, Qizhen ZhangarXiv 2025 · DOI

TL;DR

This paper provides a comprehensive empirical study on how Federated Learning (FL) impacts the accuracy of state-of-the-art machine learning models across various data types (text, image, audio, video). It systematically investigates the effects of key FL configuration knobs, revealing critical trade-offs and challenging scenarios for practical deployment.

What Problem Does This Paper Address?

Federated Learning (FL) promises to enable distributed ML model training on private user data at scale, bypassing the need to centralize sensitive information. While FL offers significant privacy and efficiency benefits, its impact on model accuracy compared to traditional centralized learning remains a critical question for widespread adoption. Existing research has explored FL's accuracy implications for specific tasks, but a comprehensive, systematic evaluation across diverse data modalities and state-of-the-art models was lacking. This paper aims to fill that gap by empirically investigating how various FL configurations affect model accuracy, identifying scenarios where FL degrades performance and where its impact is negligible.

Methods

The authors conducted a large-scale empirical study using a unified FL framework (Flower) to ensure high fidelity. They selected state-of-the-art ML models for four common data types: text, image, audio, and video, each representing a relevant ML task. The study systematically varied several key FL configuration knobs:

  • Data Distribution: Investigated non-IID (non-independent and identically distributed) label distributions and volume imbalances across clients.
  • Client Sampling: Examined the impact of varying the sampling rate of clients participating in each training round.
  • Scale: Studied how the number of participating clients affects model accuracy.
  • Local Learning Strategies: Analyzed the effects of batch size and the number of local epochs per round.
  • Global Federation Strategies: Compared the performance of FedAvg, FedAdam, and FedYogi algorithms.

The experiments involved substantial computational resources (6.2K GPU hours) to ensure robust results.

Datasets

The study utilized the following datasets for training and evaluation:

  • Text: Shakespeare dataset (for next-word prediction).
  • Image: CIFAR-10 dataset (for image classification).
  • Audio: ESC-50 dataset (for environmental sound classification).
  • Video: UCF101 dataset (for human action recognition).

The authors reserved 20% of each dataset for testing and distributed the rest to clients for FL. No new benchmarks were introduced; instead, standard datasets were used to evaluate existing models.

Key Insights and Ideas

  • Non-IID data is a major accuracy bottleneck: The degree of non-IID data distribution significantly degrades model accuracy, especially for image and video tasks. However, models can tolerate moderate non-IIDness without substantial loss.
  • Volume imbalance has limited impact: Unlike non-IID data, skewed data volumes across clients have a less pronounced effect on accuracy, and can even accelerate short-term learning by giving more weight to larger clients.
  • Client sampling is efficient with caveats: Sampling a significant fraction of clients (e.g., >50%) has minimal impact on accuracy and offers substantial efficiency gains. However, sampling less than half can lead to noticeable degradation, particularly for image and video tasks.
  • Scale impacts short-term learning more than long-term: While increasing the number of clients can degrade short-term accuracy, allowing for more training rounds helps models converge to similar long-term accuracies.
  • Smaller batch sizes boost short-term accuracy: Smaller batch sizes generally lead to higher short-term accuracy by enabling better exploration of individual examples. However, larger batch sizes can be effective for long-term accuracy with sufficient training rounds.
  • FedAvg remains a strong baseline: Despite the existence of more advanced federated optimization algorithms like FedAdam and FedYogi, FedAvg often performs comparably and can even be superior in certain scenarios, especially for text and audio tasks.

Key Results

  • Non-IID Impact: For image classification, accuracy dropped from 92.9% (α=100) to 46.9% (α=0.1) for best-learnt accuracy. For video, best-learnt accuracy dropped from 76.2% to 61.6%.
  • Volume Imbalance Impact: For text, image, and audio, fast-learnt accuracy varied within 4%, and best-learnt accuracy within 2%. The video task showed the greatest impact, with fast-learnt accuracy ranging from 53.9% to 77.9%.
  • Client Sampling Impact: When sampling rate was 25%, image classification best-learnt accuracy dropped from 68.9% to 50.8%. Video action recognition saw a similar drop from 68.9% to 50.8%.
  • Scale Impact: For image classification, increasing clients from 10 to 1000 degraded fast-learnt accuracy from 49.5% to 21.6%. However, best-learnt accuracy for 10 and 100 clients converged around 70%.
  • Batch Size Impact: Smaller batch sizes (e.g., 4) improved short-term accuracy, achieving 94.3% for audio and 63.2% for video, compared to 84% and 26.8% with batch size 32.
  • Federation Strategy Impact: FedYogi achieved 83% best-learnt accuracy on image classification (with GroupNorm), outperforming FedAvg (73.3%) and FedAdam (74.1%). FedAvg showed competitive performance across tasks, often achieving faster initial convergence.

Limitations and Future Work

  • Model Architecture Compatibility: The study noted that FedYogi encountered compatibility issues with Batch Normalization in image classification, requiring a switch to GroupNorm for improved performance. This highlights potential incompatibilities between FL algorithms and specific model architectures.
  • Task-Specific Tuning: The optimal FL configuration (e.g., sampling rate) is task-dependent, suggesting that fine-tuning is crucial for practical deployments.
  • Future Work: The authors suggest that future work could explore adapting local training epochs based on client capacities to address heterogeneity and investigate further optimizations for FL algorithms to bridge the accuracy gap with centralized learning, especially for tasks like video action recognition. The study also points to the need for further research into mitigating the impact of non-IID data and optimizing client sampling strategies for different tasks.

Summary updated

BibTeX
@misc{yang2025empirical,
  author = {Haotian Yang and Zhuoran Wang and Benson Chou and Sophie Xu and Hao Wang and Jingxian Wang and Qizhen Zhang},
  title = {{An Empirical Study of the Impact of Federated Learning on Machine Learning Model Accuracy}},
  year = {2025},
  eprint = {2503.20768},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.20768},
}
Figure