Skip to main content
QUICK REVIEW

[Paper Review] FedProto: Federated Prototype Learning over Heterogeneous Devices.

Yue Tan, Guodong Long|arXiv (Cornell University)|May 1, 2021
Privacy-Preserving Technologies in DataComputer Science50 references19 citations
TL;DR

FedProto proposes a novel federated learning framework that replaces gradient-based aggregation with prototype-based knowledge distillation to improve convergence and generalization under device heterogeneity. By aggregating and refining class prototypes across devices, FedProto enhances model alignment and achieves state-of-the-art performance on heterogeneous FL benchmarks.

ABSTRACT

The heterogeneity across devices usually hinders the optimization convergence and generalization performance of federated learning (FL) when the aggregation of devices' knowledge occurs in the gradient space. For example, devices may differ in terms of data distribution, network latency, input/output space, and/or model architecture, which can easily lead to the misalignment of their local gradients. To improve the tolerance to heterogeneity, we propose a novel federated prototype learning (FedProto) framework in which the devices and server communicate the class prototypes instead of the gradients. FedProto aggregates the local prototypes collected from different devices, and then sends the global prototypes back to all devices to regularize the training of local models. The training on each device aims to minimize the classification error on the local data while keeping the resulting local prototypes sufficiently close to the corresponding global ones. Through experiments, we propose a benchmark setting tailored for heterogeneous FL, with FedProto outperforming several recent FL approaches on multiple datasets.

Motivation & Objective

  • To address the challenge of model divergence and poor convergence in federated learning due to data, architectural, and system heterogeneity.
  • To reduce misalignment in local gradients caused by non-IID data and varying model architectures.
  • To improve generalization and training stability by regularizing local models with global prototypes.
  • To propose a new benchmark setting tailored for evaluating heterogeneous federated learning.

Proposed method

  • FedProto replaces gradient aggregation with the aggregation of class prototypes from local models across devices.
  • The server computes a global prototype by averaging local prototypes from participating devices.
  • Local models are trained to minimize classification loss while being regularized to stay close to the global prototypes.
  • A prototype regularization term is introduced to align local prototypes with the global prototype during local training.
  • The framework supports heterogeneous devices with varying data distributions, model architectures, and system constraints.
  • The method is evaluated under a new benchmark setting designed for heterogeneous FL, including diverse data and model heterogeneity.

Experimental results

Research questions

  • RQ1How does prototype-based aggregation compare to gradient-based aggregation in terms of convergence and accuracy under data and model heterogeneity?
  • RQ2Can prototype regularization improve generalization performance in federated learning with non-IID data?
  • RQ3How robust is FedProto to variations in device data distribution, model architecture, and system latency?
  • RQ4What is the impact of prototype aggregation on model alignment and convergence speed?
  • RQ5How does FedProto perform relative to recent state-of-the-art FL methods under realistic heterogeneous settings?

Key findings

  • FedProto outperforms several recent federated learning approaches on multiple datasets under heterogeneous settings.
  • The prototype-based aggregation mechanism improves convergence and generalization compared to gradient-based methods.
  • The framework demonstrates robustness to non-IID data and model architecture heterogeneity.
  • The use of global prototypes as a regularization signal reduces divergence between local models.
  • FedProto achieves superior performance on the newly proposed heterogeneous FL benchmark.
  • The method shows consistent gains across different datasets and heterogeneity levels, confirming its effectiveness.

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.