Toward provably private learning from federated data
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. Devices upload encrypted examples tied to access policies published in the Rekor transparency log. A Raft-replicated TEE key management service releases decryption keys only to matching workloads. A root TEE runs a Python training loop that fans out to worker TEEs via Federated Language and releases only differentially private weights. Gboard uses it for English and Japanese next-word prediction, getting better privacy-utility tradeoffs from optimized participation schedules and cutting training time from 1-2 months, now limited mainly by TEE capacity.
Related posts
- Applying federated learning to protect data on mobile devices
Meta Engineering easyNoviceMeta 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.
- Private analytics via zero-trust aggregation
Google Research hardMasterGoogle'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. Clients send a single message whose ciphertexts aggregate both the values and the encryption keys; small rotating client committees hold hints that unlock only the aggregate, which is masked with differential privacy noise. TEE attestation gives verifiable proof that the published aggregation code is what actually runs. The system is being used to measure real-world effectiveness of Android SafetyCore's on-device safety classifiers without exposing user content.
- Bringing Private Processing to Meta AI Glasses
Meta Engineering mediumAdeptMeta's Private Processing extends the AI glasses trust boundary into the cloud by running models inside confidential VMs on TEE-capable CPUs and GPUs, so host OS, hypervisor and Meta operators see only ciphertext. Requests are made non-targetable through blind-signed anonymous credentials and third-party OHTTP relays. Devices verify servers via RA-TLS attestation against an append-only, publicly witnessed transparency ledger and fail closed on mismatch. For stateful features, the storage and query engine run inside the TEE, which avoids access-pattern leakage and the cost of shipping ciphertext to remote databases. Observability relies only on aggregate health signals because debuggers and memory dumps are impossible, and the design is opened to external audit via NCC Group reviews and an expanded bug bounty.
- Building Private Processing for AI tools on WhatsApp
Meta Engineering hardMasterPrivate Processing lets WhatsApp users send messages to server-side AI features such as summarization and writing suggestions without Meta or WhatsApp being able to read them. Requests run inside confidential VMs, a type of Trusted Execution Environment, with Confidential Compute mode GPUs behind them. Clients authenticate with anonymous credentials and reach the service through an Oblivious HTTP third-party relay that hides their IP and prevents targeting a specific user to a specific machine. They then open an RA-TLS session whose attestation is checked against a third-party log of approved binaries. The service is stateless and forward secure, bans remote shell access, filters logs leaving the CVM, and uses multi-party-reviewed builds, all guided by a threat model covering insiders, supply-chain vendors and malicious users.
- Complexity of Differentially Private Selection via Federated APIs
Apple Machine Learning Research hardMasterPrivate 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. Adding a primitive based on the Sparse Vector Technique (SVT), which can be implemented simply under several trust models, gives an ε-DP selection algorithm with additive error O(log(dn)/ε). That matches the central model when n is polynomial in d and uses a near-optimal expected O(d log* d) SVT queries. Combined with known shuffle-model lower bounds, this is an exponential separation between the SVT model and shuffle or aggregation models, and the approach also covers F_p loss minimization, heavy hitters and sparse mean estimation.