Skip to main content
QUICK REVIEW

[Paper Review] Efficient and Private Federated Learning with Partially Trainable Networks

Hakim Sidahmed, Zheng Xu|arXiv (Cornell University)|Oct 6, 2021
Privacy-Preserving Technologies in DataComputer Science44 references11 citations
TL;DR

This paper proposes Federated Partially Trainable Networks (FedPT), a method that freezes a portion of model parameters during federated learning to drastically reduce communication and computation costs. By transmitting only trainable parameters and a random seed, FedPT achieves up to 46× lower communication cost with minimal accuracy drop, while also improving utility under strong differential privacy.

ABSTRACT

Federated learning is used for decentralized training of machine learning models on a large number (millions) of edge mobile devices. It is challenging because mobile devices often have limited communication bandwidth and local computation resources. Therefore, improving the efficiency of federated learning is critical for scalability and usability. In this paper, we propose to leverage partially trainable neural networks, which freeze a portion of the model parameters during the entire training process, to reduce the communication cost with little implications on model performance. Through extensive experiments, we empirically show that Federated learning of Partially Trainable neural networks (FedPT) can result in superior communication-accuracy trade-offs, with up to $46 imes$ reduction in communication cost, at a small accuracy cost. Our approach also enables faster training, with a smaller memory footprint, and better utility for strong differential privacy guarantees. The proposed FedPT method can be particularly interesting for pushing the limitations of over-parameterization in on-device learning.

Motivation & Objective

  • Address the high communication and computational overhead of training large models on resource-constrained edge devices in cross-device federated learning.
  • Improve efficiency in federated learning by freezing a subset of model parameters to reduce communication and memory usage.
  • Enhance privacy guarantees by making the training process more resilient to differential privacy noise through reduced parameter updates.
  • Explore the trade-off between communication efficiency, model accuracy, and memory footprint in practical federated learning deployments.
  • Enable broader participation in federated learning by reducing the resource burden on edge devices, especially those with limited bandwidth or compute capacity.

Proposed method

  • Leverage generalized FedAvg as the training framework, where only client updates on trainable parameters are communicated to the server.
  • Freeze a portion of model parameters during training, reconstructing them from a random seed sent from the server to each client.
  • Reduce communication cost by transmitting only the trainable parameters (as low as 2% of total parameters) and a random seed per client.
  • Minimize local computation and memory usage by skipping gradient computation for frozen parameters during local training.
  • Integrate with differential privacy by adding noise only to the trainable parameters, reducing noise impact due to fewer parameters being updated.
  • Apply FedPT to diverse architectures including convolutional networks (CIFAR-10, EMNIST) and Transformers (Stack Overflow), demonstrating generalizability.

Experimental results

Research questions

  • RQ1To what extent can freezing a portion of model parameters reduce communication cost in federated learning without significantly degrading model accuracy?
  • RQ2How does the communication-accuracy trade-off vary across different model architectures and datasets under partial parameter training?
  • RQ3Does reducing the number of trainable parameters improve resilience to differential privacy noise, leading to better utility under strong privacy constraints?
  • RQ4What is the impact of parameter freezing on local memory footprint and training speed in federated settings?
  • RQ5Can FedPT be effectively scaled to real-world on-device federated learning with heterogeneous client capabilities?

Key findings

  • FedPT reduces communication cost by up to 46× compared to fully trainable models, with only a 0.1% to 4% drop in test accuracy across datasets.
  • Training time is reduced by up to 25% in simulation experiments due to reduced computation on both clients and server.
  • Peak memory usage is reduced by up to 10% as the proportion of frozen parameters increases, particularly evident in CIFAR-10 experiments.
  • Under strong differential privacy (e.g., ε ≈ 1.77), FedPT achieves higher accuracy (15.01%) than fully trainable models (14.60%) with the same noise level.
  • The method maintains competitive performance across diverse tasks, including image classification (EMNIST, CIFAR-10) and natural language processing (Stack Overflow next-word prediction).
  • The approach enables more efficient and private training, especially beneficial for devices with limited bandwidth or computational capacity.

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.