mlsanityData to 14 Oct 2026

Privacy-Preserving Transformers: SwiftKey's Differential Privacy Implementation

arXiv 2505.05648 ↗First posted 8 May 2025cs.CL cs.CR cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

In this paper we train a transformer using differential privacy (DP) for language modeling in SwiftKey. We run multiple experiments to balance the trade-off between the model size, run-time speed and accuracy. We show that we get small and consistent gains in the next-word-prediction and accuracy with graceful increase in memory and speed compared to the production GRU. This is obtained by scaling down a GPT2 architecture to fit the required size and a two stage training process that builds a seed model on general data and DP finetunes it on typing data. The transformer is integrated using ONNX offering both flexibility and efficiency.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 12 references that are in the map. First posted on arXiv 8 May 2025.

Builds on

8 of 12 references.

References · 8

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2016Deep Learning with Differential Privacycited by 2,728
  4. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  5. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
  6. 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 383
  7. 2024Fine-tuning Large Language Models for Domain-specific Machine Translationcited by 43
  8. 2023Functional Interpolation for Relative Positions Improves Long Context Transformerscited by 18

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.