Skip to main content
QUICK REVIEW

[Paper Review] FedCV: A Federated Learning Framework for Diverse Computer Vision Tasks

Chaoyang He, Alay Shah|arXiv (Cornell University)|Nov 22, 2021
Privacy-Preserving Technologies in DataComputer Science84 references42 citations
TL;DR

FedCV presents an open-source federated learning framework and benchmark suite for three computer vision tasks (image classification, segmentation, and object detection), enabling evaluation of multiple FL algorithms under non-IID data and realistic CV settings.

ABSTRACT

Federated Learning (FL) is a distributed learning paradigm that can learn a global or personalized model from decentralized datasets on edge devices. However, in the computer vision domain, model performance in FL is far behind centralized training due to the lack of exploration in diverse tasks with a unified FL framework. FL has rarely been demonstrated effectively in advanced computer vision tasks such as object detection and image segmentation. To bridge the gap and facilitate the development of FL for computer vision tasks, in this work, we propose a federated learning library and benchmarking framework, named FedCV, to evaluate FL on the three most representative computer vision tasks: image classification, image segmentation, and object detection. We provide non-I.I.D. benchmarking datasets, models, and various reference FL algorithms. Our benchmark study suggests that there are multiple challenges that deserve future exploration: centralized training tricks may not be directly applied to FL; the non-I.I.D. dataset actually downgrades the model accuracy to some degree in different tasks; improving the system efficiency of federated training is challenging given the huge number of parameters and the per-client memory cost. We believe that such a library and benchmark, along with comparable evaluation settings, is necessary to make meaningful progress in FL on computer vision tasks. FedCV is publicly available: https://github.com/FedML-AI/FedCV.

Motivation & Objective

  • Bridge the gap between federated learning research and computer vision applications by providing a unified FL framework for CV tasks.
  • Create non-IID benchmarks and datasets to evaluate FL methods on image classification, segmentation, and object detection.
  • Offer easy-to-use APIs, reference implementations, and multi-task benchmarks to accelerate FL development for CV tasks.

Proposed method

  • Provide a unified FedCV framework built on FedML with modules for CV tasks beyond image classification (segmentation and detection).
  • Offer benchmark datasets and data loaders with non-IID partitioning to simulate realistic federated data distributions.
  • Include reference implementations of multiple FL algorithms (e.g., FedAvg, FedOpt, FedNova, FedProx, FedMA, FedGKT, Split Learning, VFL, FedNAS, Turbo-Aggregate) and enable multi-GPU distributed training.
  • Expose easy-to-use APIs enabling custom FL algorithm development and flexible client-server communication protocols.
  • Support dataset/model backbones tailored to CV tasks (e.g., CIFAR-100, GLD-23k, PASCAL VOC, COCO; EfficientNet, MobileNet, ViT; DeepLabV3+, UNet, YOLOv5).
  • Provide data distribution controls (non-IID via LDA-based partitioning) and evaluate training tricks’ transferability from centralized to FL.

Experimental results

Research questions

  • RQ1How do FL algorithms perform on diverse CV tasks (classification, segmentation, detection) under non-IID data distributions?
  • RQ2What are the practical challenges when applying centralized CV training tricks to FL in real-world CV tasks?
  • RQ3How do system efficiency, memory costs, and communication overhead impact federated CV training across multiple tasks and models?
  • RQ4Can a unified FL framework with benchmarking enable meaningful comparisons and progress in CV federated learning?

Key findings

  • FedCV demonstrates the feasibility of running FL for three CV tasks with a unified framework and non-IID benchmarks.
  • Non-IID data in CV tasks degrades model accuracy to varying degrees, highlighting the need for FL-specific training strategies.
  • Centralized training tricks do not always translate to FL, and system efficiency is challenged by large CV models and per-client memory costs.
  • The benchmark shows trade-offs between backbone choices, model size, and communication rounds across tasks (classification, segmentation, detection).
  • Fine-tuning often accelerates convergence and improves accuracy in some CV FL settings, compared to training from scratch, particularly in classification experiments.
  • FedCV provides a practical platform with multiple FL algorithms and real CV backbones to enable fair comparisons and faster research iterations.

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.