Skip to main content
QUICK REVIEW

[Paper Review] Evaluation Framework For Large-scale Federated Learning

Lifeng Liu, Fengda Zhang|arXiv (Cornell University)|Mar 3, 2020
Privacy-Preserving Technologies in DataComputer Science12 references9 citations
TL;DR

This paper proposes an open-source evaluation framework for large-scale federated learning, featuring a modular benchmark with customizable non-IID datasets and comprehensive evaluation metrics. It introduces three non-IID data generation methods—covariate shift, prior probability shift, and concept shift—and evaluates FL algorithms using metrics like communication rounds, node count, and data quality, demonstrating that model accuracy degrades with higher data skew and error rates.

ABSTRACT

Federated learning is proposed as a machine learning setting to enable distributed edge devices, such as mobile phones, to collaboratively learn a shared prediction model while keeping all the training data on device, which can not only take full advantage of data distributed across millions of nodes to train a good model but also protect data privacy. However, learning in scenario above poses new challenges. In fact, data across a massive number of unreliable devices is likely to be non-IID (identically and independently distributed), which may make the performance of models trained by federated learning unstable. In this paper, we introduce a framework designed for large-scale federated learning which consists of approaches to generating dataset and modular evaluation framework. Firstly, we construct a suite of open-source non-IID datasets by providing three respects including covariate shift, prior probability shift, and concept shift, which are grounded in real-world assumptions. In addition, we design several rigorous evaluation metrics including the number of network nodes, the size of datasets, the number of communication rounds and communication resources etc. Finally, we present an open-source benchmark for large-scale federated learning research.

Motivation & Objective

  • To address the lack of standardized, reproducible benchmarks for large-scale federated learning under non-IID data conditions.
  • To design and release a scalable, open-source framework for generating realistic non-IID datasets grounded in real-world data shifts.
  • To develop a comprehensive set of evaluation metrics beyond accuracy, including communication rounds, node count, and data quality factors.
  • To enable fair and systematic comparison of federated learning algorithms under diverse system and data heterogeneity settings.
  • To support reproducible research by providing open-source code, configuration tools, and a documented workflow for dataset generation and benchmarking.

Proposed method

  • The framework generates non-IID datasets via three mechanisms: covariate shift (random partitioning), prior probability shift (label-based partitioning), and concept shift (label redefinition based on context).
  • A profile module in the framework allows users to configure dataset parameters such as number of nodes, partitioning mode, and data skew levels through a YAML configuration file.
  • The evaluation metrics extend beyond accuracy to include communication rounds, number of network nodes, dataset size, and communication resource usage, enabling holistic algorithm assessment.
  • The framework integrates a NEI (Non-IID Evaluation) module to quantify data distribution imbalance using a normalized error index based on node-level data distribution.
  • The benchmark is implemented via a modular platform named EFFL, with components including basic services, dataset generation, evaluation metrics, and profile configuration, enabling end-to-end reproducibility.
  • The system supports popular datasets like MNIST and CIFAR-10, with code and datasets released on GitHub for community reuse.

Experimental results

Research questions

  • RQ1How can non-IID data distributions in federated learning be systematically generated and characterized using real-world plausible shifts?
  • RQ2What evaluation metrics are necessary to fairly compare federated learning algorithms beyond standard accuracy, especially under system heterogeneity?
  • RQ3How do varying degrees of data skew (quantity and label distribution) and data quality (e.g., error rates) affect model convergence and performance?
  • RQ4To what extent does communication efficiency (number of rounds) correlate with model accuracy across different non-IID data configurations?
  • RQ5Can a modular, open-source benchmark framework enable reproducible and scalable evaluation of federated learning algorithms across diverse experimental settings?

Key findings

  • On MNIST, model accuracy reached 96.33% with 3000 communication rounds under quantity skew, while label distribution skew achieved 93.44% under the same conditions.
  • On CIFAR-10, accuracy under quantity skew reached 95.94% with 3000 rounds, whereas label skew achieved only 71.50%, indicating a stronger negative impact of label imbalance.
  • With 30% error data in the total dataset, model accuracy on MNIST dropped to 84.33% under label distribution skew, showing significant degradation under poor data quality.
  • Higher data quality (lower error rate) and more uniform data distribution (lower N, the proportion of identical data per node) consistently improved model accuracy across all settings.
  • The framework successfully demonstrated that communication efficiency and model accuracy are highly sensitive to data distribution and system configuration, validating the need for comprehensive evaluation metrics.
  • The open-source release of the codebase and non-IID datasets enables reproducible benchmarking, with a documented workflow for dataset generation and evaluation.

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.