Skip to main content
QUICK REVIEW

[Paper Review] PPFL: Privacy-preserving Federated Learning with Trusted Execution Environments

Fan Mo, Hamed Haddadi|arXiv (Cornell University)|Apr 29, 2021
Privacy-Preserving Technologies in DataComputer Science68 references40 citations
TL;DR

PPFL proposes a privacy-preserving federated learning framework that trains DNN layers inside TEEs on both clients and server, using greedy layer-wise training to cope with limited TEE memory while achieving comparable model utility with reduced communication rounds and modest overhead.

ABSTRACT

We propose and implement a Privacy-preserving Federated Learning ($PPFL$) framework for mobile systems to limit privacy leakages in federated learning. Leveraging the widespread presence of Trusted Execution Environments (TEEs) in high-end and mobile devices, we utilize TEEs on clients for local training, and on servers for secure aggregation, so that model/gradient updates are hidden from adversaries. Challenged by the limited memory size of current TEEs, we leverage greedy layer-wise training to train each model's layer inside the trusted area until its convergence. The performance evaluation of our implementation shows that $PPFL$ can significantly improve privacy while incurring small system overheads at the client-side. In particular, $PPFL$ can successfully defend the trained model against data reconstruction, property inference, and membership inference attacks. Furthermore, it can achieve comparable model utility with fewer communication rounds (0.54$ imes$) and a similar amount of network traffic (1.002$ imes$) compared to the standard federated learning of a complete model. This is achieved while only introducing up to ~15% CPU time, ~18% memory usage, and ~21% energy consumption overhead in $PPFL$'s client-side.

Motivation & Objective

  • Motivate privacy risks in federated learning and the need for stronger protections against data reconstruction, property inference, and membership inference.
  • Propose PPFL, a practical framework that trains each DNN layer inside TEEs to protect all layers during FL.
  • Enable layer-wise training and secure aggregation to overcome limited TEE memory while maintaining model utility.

Proposed method

  • Train each DNN layer inside the client TEEs using greedy layer-wise training and secure aggregation.
  • Use two secure channels: REE-to-REE for general data exchange and TEE-to-TEE for private layer updates.
  • Aggregate layer updates securely inside the server TEE and apply FedAvg to form a new global layer.
  • Support training of multiple layers per block to better utilize TEE memory and reduce rounds.
  • Leverage model partitioned execution to shuttle intermediate activations between REEs and TEEs during forward and backward passes.

Experimental results

Research questions

  • RQ1Can PPFL prevent data reconstruction, property inference, and membership inference attacks for all trained DNN layers in FL?
  • RQ2What is the trade-off between privacy guarantees, model utility, and system overhead when using greedy layer-wise training inside TEEs?
  • RQ3How does PPFL compare to standard end-to-end FL in terms of rounds, network traffic, and client-side resource usage?

Key findings

  • PPFL can defend the trained model against data reconstruction, property inference, and membership inference attacks (attacks degraded to random guessing or 50% precision).
  • PPFL incurs about 0.54x fewer communication rounds and 1.002x similar network traffic compared to standard FL for training a complete model, with comparable ML performance when training only the first few layers.
  • PPFL introduces up to ~15% CPU time, ~18% memory usage, and ~21% energy consumption overhead on the client side.
  • Training all DNN layers with PPFL takes roughly 3x more delay than end-to-end FL, but layer-wise training can achieve similar utility when focusing on the initial layers.

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.