cs.LGApr 8, 2026

On the Price of Privacy for Language Identification and Generation

Authors: Xiaoyu Li, Andi Han, Jiaojiao Jiang, Junbin Gao

Organizations: University of New South Wales · University of Sydney

Abstract

As large language models (LLMs) are increasingly trained on sensitive user data, understanding the fundamental cost of privacy in language learning becomes essential. We initiate the study of differentially private (DP) language identification and generation in the agnostic statistical setting, establishing algorithms and matching lower bounds that precisely quantify the cost of privacy. For both tasks, approximate (ε,δ)(\varepsilon, δ)-DP with constant ε>0\varepsilon > 0 recovers the non-private error rates: exp⁡(−r(n))\exp(-r(n)) for identification (for any r(n)=o(n)r(n) = o(n)) and exp⁡(−Ω(n))\exp(-Ω(n)) for generation. Under pure ε\varepsilon-DP, the exponents degrade by a multiplicative factor of min⁡{1,ε}\min\{1, \varepsilon\}, which we show is tight up to constants. Notably, for generation under pure DP with mild assumptions, the upper bound exp⁡(−min⁡{1,ε}⋅Ω(n))\exp(-\min\{1,\varepsilon\} \cdot Ω(n)) matches the lower bound up to some constants, establishing an optimal rate. Our results show that the cost of privacy in language learning is surprisingly mild: absent entirely under approximate DP, and exactly a min⁡{1,ε}\min\{1,\varepsilon\} factor in the exponent under pure DP.

Figures & tables

Explore similar work

CardsList
  1. Differentially Private Language Generation and Identification in the Limit

    Apr 9, 2026Anay Mehrotra, Grigoris Velegkas, Xifan Yu +1Text GenerationDifferential Privacy

  2. MAPLE: Metadata Augmented Private Language Evolution

    Feb 26, 2026Eli Chien, Yuzheng Hu, Ryan McKenna +3Privacy-Preserving Language ModelsDifferentially Private Synthetic Data Generation

  3. DP-OPD: Differentially Private On-Policy Distillation for Language Models

    Apr 6, 2026Fatemeh Khadem, Sajad Mousavi, Yi Fang +1Privacy-Preserving Language ModelsPrivacy-Preserving ML