Holistic Evaluation Metrics: Use Case Sensitive Evaluation Metrics for Federated Learning

Yanli Li, Jehad Ibrahim, Huaming Chen, Dong Yuan, Kim-Kwang Raymond ChooarXiv 2024 · DOI · arXiv

Abstract

Traditional Federated Learning (FL) research often relies on a single metric—typically global accuracy—to evaluate algorithm performance. However, real-world deployments, ranging from resource-constrained IoT devices to high-bandwidth medical institutions, have vastly different operational requirements. This paper introduces the Holistic Evaluation Metrics (HEM) framework, a multi-dimensional scoring system that weights performance across accuracy, convergence, efficiency, fairness, and personalization. By tailoring these weights to specific use cases, HEM provides a pragmatic approach for selecting the optimal FL algorithm for diverse deployment contexts.

Introduction

The rapid evolution of Federated Learning has produced numerous algorithmic variants, such as FedAvg, FedDyn, and SCAFFOLD. Despite this progress, comparative evaluations remain largely "one-size-fits-all," focusing almost exclusively on model accuracy. This approach ignores the heterogeneous constraints of real-world environments. For instance, smartphones prioritize battery life and connection stability, making convergence speed and computational efficiency paramount. In contrast, medical institutions may prioritize fairness and high accuracy over communication costs.

To bridge this gap, the authors propose a standardized, multi-dimensional evaluation pipeline. The goal is to move beyond monolithic metrics and provide engineers with a tool to select algorithms based on the specific needs of their deployment environment, whether it be IoT, mobile devices, or institutional networks.

The HEM Framework

The Holistic Evaluation Metrics (HEM) framework operates through a weighted scoring system designed to capture the nuances of different FL environments.

The HEM framework architecture, illustrating the execution of federated learning and the subsequent evaluation process.

Component Scoring

Algorithms are first evaluated across five core dimensions, each normalized for comparability:

  • Client Accuracy: The average accuracy achieved across all participating nodes.
  • Convergence: The speed of learning, measured by the number of communication rounds needed to reach a specific target accuracy.
  • Computational Efficiency: A "Time to Accuracy" (TTA) metric that accounts for both the number of rounds and the actual wall-clock time required for local training.
  • Fairness: Measured by the uniformity of performance across clients; higher fairness indicates lower variance in accuracy between nodes.
  • Personalization: The performance gain achieved when applying Personalized FL (PFL) techniques relative to a standard global model.

Importance Weighting and Aggregation

The framework defines "Importance Vectors" for specific archetypal use cases. For example, in an IoT scenario, accuracy, efficiency, and fairness are weighted heavily, while convergence speed is less critical. The final HEM score is calculated as a linear combination of the component indices multiplied by these use-case-specific weights.

Experimental Setup

The framework was validated using the CIFAR-10 dataset, consisting of 60,000 images across 10 classes. To simulate realistic "Non-IID" (non-independent and identically distributed) conditions, the authors distributed data such that each of the 100 clients held samples from only 5 of the 10 classes. This setup tests the algorithms' ability to handle data heterogeneity, a hallmark of real-world FL.

Key Insights and Results

The evaluation revealed critical trade-offs that are often obscured by single-metric benchmarks.

The Personalization-Fairness Trade-off

A significant finding is that personalization techniques (e.g., MAML or ProtoNet) often improve accuracy and convergence but at the cost of fairness. By optimizing models for individual client data, the performance gap between different nodes can widen, potentially underserving certain participants. This is evident in the raw metric scores where standard FedAvg maintains perfect fairness (1.00) while personalized variants like FedDyn_MAML drop to 0.00.

Performance Across Use Cases

The HEM scores highlighted different "winners" depending on the deployment context:

  • IoT Use Case: Algorithms like FedAvg_Proto (0.76) and FedDyn_Proto (0.70) excelled by balancing accuracy with the strict computational constraints of IoT hardware.
  • Smartphone Use Case: PFL algorithms utilizing the ProtoNet framework achieved "Excellent" ratings (HEM > 0.80), whereas standard FedAvg was only "Acceptable" (0.56) due to its slower convergence.
  • Institutional Use Case: Interestingly, the standard FedAvg algorithm performed best (0.79). In environments where fairness is a priority, the simpler global model outperformed complex personalized variants that introduced performance disparities.
Comparative performance of FL algorithms across core evaluation metrics used to calculate the HEM index.

Conclusion and Future Directions

The HEM framework provides a necessary shift toward pragmatic, context-aware evaluation in Federated Learning. By acknowledging that the "best" algorithm depends on the use case, it offers a more realistic benchmark for real-world applications.

Future work will focus on refining the "Importance Vectors" through empirical data rather than qualitative reviews. Additionally, the authors plan to expand the evaluation to diverse data modalities, such as natural language processing and medical records, with the ultimate goal of developing an automated tool for optimal algorithm selection based on hardware and data constraints.

Summary updated

Abstract

A large number of federated learning (FL) algorithms have been proposed for different applications and from varying perspectives. However, the evaluation of such approaches often relies on a single metric (e.g., accuracy). Such a practice fails to account for the unique demands and diverse requirements of different use cases. Thus, how to comprehensively evaluate an FL algorithm and determine the most suitable candidate for a designated use case remains an open question. To mitigate this research gap, we introduce the Holistic Evaluation Metrics (HEM) for FL in this work. Specifically, we collectively focus on three primary use cases, which are Internet of Things (IoT), smart devices, and institutions. The evaluation metric encompasses various aspects including accuracy, convergence, computational efficiency, fairness, and personalization. We then assign a respective importance vector for each use case, reflecting their distinct performance requirements and priorities. The HEM index is finally generated by integrating these metric components with their respective importance vectors. Through evaluating different FL algorithms in these three prevalent use cases, our experimental results demonstrate that HEM can effectively assess and identify the FL algorithms best suited to particular scenarios. We anticipate this work sheds light on the evaluation process for pragmatic FL algorithms in real-world applications.
BibTeX
@misc{li2024holistic,
  author = {Yanli Li and Jehad Ibrahim and Huaming Chen and Dong Yuan and Kim-Kwang Raymond Choo},
  title = {{Holistic Evaluation Metrics: Use Case Sensitive Evaluation Metrics for Federated Learning}},
  year = {2024},
  eprint = {2405.02360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.02360},
}
Figure