---
title: "Applying federated learning to protect data on mobile devices"
description: "Meta is evaluating federated learning with differential privacy (FL-DP), which trains models on mobile devices and adds noise to updates before they reach a global model so user data stays local and is harder to memorize or reconstruct."
url: "https://swe.quest/articles/applying-federated-learning-to-protect-data-on-mobile-devices-b070f62868b3f5e6"
canonical: "https://engineering.fb.com/2022/06/14/production-engineering/federated-learning-differential-privacy/"
source: "Meta Engineering"
published: "2022-06-14"
difficulty: "easy"
kind: "Research"
reading_minutes: 3
tags: ["privacy","model-training","ml-platform","mobile"]
---

# Applying federated learning to protect data on mobile devices

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2022-06-14, 3 min read, Research. Original: [https://engineering.fb.com/2022/06/14/production-engineering/federated-learning-differential-privacy/](https://engineering.fb.com/2022/06/14/production-engineering/federated-learning-differential-privacy/)

## Summary

Meta is evaluating federated learning with differential privacy (FL-DP), which trains models on mobile devices and adds noise to updates before they reach a global model so user data stays local and is harder to memorize or reconstruct. Because data isn't visible centrally, FL-DP complicates label balancing, feature normalization and metrics, and it brings slower mobile release cycles, slower training and a need for anonymized logging. Meta's architecture combines mobile devices, trusted execution environments and back-end servers so models can use both server-side data and device-only data. In tests with an in-house FL library, it showed minimal accuracy loss versus server-trained models, though model iteration remains orders of magnitude slower than centralized ML.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)

## Prerequisites

- machine learning model training ([easy posts on Machine learning](https://swe.quest/tags/machine-learning.md?difficulty=easy))
- differential privacy basics ([easy posts on Privacy](https://swe.quest/tags/privacy.md?difficulty=easy))

## Keywords

federated learning, differential privacy, FL-DP, trusted execution environments

## Related posts

- [Toward provably private learning from federated data](https://swe.quest/articles/toward-provably-private-learning-from-federated-data-bbeec5d372cb6442.md): Google Research · 2026-10-02 · Hard · 7 min read · Privacy, Machine learning, Model training, Security, System design
  Google's next-generation Federated Learning system runs training inside Trusted Execution Environments (TEEs) so that privacy guarantees can be verified externally rather than taken on trust.
- [Federated Learning using Hugging Face and Flower](https://swe.quest/articles/federated-learning-using-hugging-face-and-flower-51b18eb47f6bd9fe.md): Hugging Face · 2023-03-27 · Medium · 5 min read · Model training, Machine learning, Python, Privacy
  Federated fine-tuning of a pre-trained distilBERT model for IMDB sentiment classification uses Flower to coordinate multiple clients and a server, so raw data never leaves the clients.
- [How Meta is improving password security and preserving privacy](https://swe.quest/articles/how-meta-is-improving-password-security-and-preserving-privacy-daa9a84182d0e924.md): Meta Engineering · 2023-08-08 · Medium · 6 min read · Cryptography, Privacy, Identity & auth, Security
  Meta's Private Data Lookup (PDL) checks new passwords against breached-password datasets using Private Set Intersection, so the server learns neither the attempted password nor whether it matched.
- [Complexity of Differentially Private Selection via Federated APIs](https://swe.quest/articles/complexity-of-differentially-private-selection-via-federated-apis-707081b57325b85a.md): Apple Machine Learning Research · 2026-11-10 · Hard · 1 min read · Privacy, Algorithms, Machine learning
  Private selection built only on the standard noisy-aggregation primitive used in federated differential privacy needs Ω(√d/ε) samples, which explains the utility gap against the central model.
- [Private analytics via zero-trust aggregation](https://swe.quest/articles/private-analytics-via-zero-trust-aggregation-060bfb6ed5bdc13c.md): Google Research · 2026-05-27 · Hard · 6 min read · Cryptography, Privacy, Analytics & OLAP, Security
  Google's private analytics service now layers a new lattice-based, one-shot secure aggregation protocol on top of TEE execution, so individual device data is never decrypted in server memory even if the enclave is compromised by side-channel attacks.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
