PPFL: Privacy-preserving Federated Learning with Trusted Execution Environments

Fan Mo, Hamed Haddadi, Kleomenis Katevas, Eduard Marin, Diego Perino +1 more
4/29/2021
cs.CRcs.DCcs.LG
federated

Official code: mofanv/PPFL (78 stars, C, MIT, last commit 2025-07-10).

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.

Show full abstract

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$\times$) and a similar amount of network traffic (1.002$\times$) 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.

View on arXivView PDF

Code Implementations(1)

mofanv/PPFLOfficial100%
MIT

Privacy-preserving Federated Learning with Trusted Execution Environments

7826C, CudaApr 28, 20211 years agoMIT

Similar Papers

Cite this paper

@article{mo2021ppfl,
  title  = {PPFL: Privacy-preserving Federated Learning with Trusted Execution Environments},
  author = {Fan Mo and Hamed Haddadi and Kleomenis Katevas and Eduard Marin and Diego Perino and Nicolas Kourtellis},
  year   = {2021},
  eprint = {2104.14380},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.14380}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.14380.svg)](https://codeofpaper.com/paper/2104.14380)

Discussion