English

A Hassle-free Algorithm for Private Learning in Practice: Don't Use Tree Aggregation, Use BLTs

Machine Learning 2025-06-02 v3

Abstract

The state-of-the-art for training on-device language models for mobile keyboard applications combines federated learning (FL) with differential privacy (DP) via the DP-Follow-the-Regularized-Leader (DP-FTRL) algorithm. Two variants of DP-FTRL are used in practice, tree aggregation and matrix factorization. However, tree aggregation suffers from significantly suboptimal privacy/utility tradeoffs, while matrix mechanisms require expensive optimization parameterized by hard-to-estimate-in-advance constants, and high runtime memory costs. This paper extends the recently introduced Buffered Linear Toeplitz (BLT) mechanism to multi-participation scenarios. Our BLT-DP-FTRL maintains the ease-of-use advantages of tree aggregation, while essentially matching matrix factorization in terms of utility and privacy. We evaluate BLT-DP-FTRL on the StackOverflow dataset, serving as a re-producible simulation benchmark, and across four on-device language model tasks in a production FL system. Our empirical results highlight the advantages of the BLT mechanism and elevate the practicality and effectiveness of DP in real-world scenarios.

Keywords

Cite

@article{arxiv.2408.08868,
  title  = {A Hassle-free Algorithm for Private Learning in Practice: Don't Use Tree Aggregation, Use BLTs},
  author = {H. Brendan McMahan and Zheng Xu and Yanxiang Zhang},
  journal= {arXiv preprint arXiv:2408.08868},
  year   = {2025}
}

Comments

v2: EMNLP camera ready, minor error and typo fix, updated production model launch info; v3: update production model launch info again to reflect the success of "upgrade all existing FL LMs that have previously been launched without DP to be trained with DP" in arxiv:2306.14793

R2 v1 2026-06-28T18:14:56.495Z