On the Price of Privacy for Language Identification and Generation
Xiaoyu Li ⋅ Andi Han ⋅ Jiaojiao Jiang ⋅ Junbin Gao
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 lower bounds that quantify the cost of privacy. For both tasks, approximate $(\varepsilon, \delta)$-DP with constant $\varepsilon > 0$ and $\delta \geq 1/\mathrm{poly}(n)$ recovers the non-private error rates: $\exp(-r(n))$ for identification (for any $r(n) = o(n)$) and, given a public witness window, $\exp(-\Omega(n))$ for generation. Under pure $\varepsilon$-DP, the exponents of our upper bounds degrade by a multiplicative factor of $\min\\{1, \varepsilon\\}$ (for generation, given also a public mass floor); conversely, a private two-point inequality shows that for every $n$, every $\varepsilon$-DP algorithm errs with probability $\exp(-O(\min\\{1,\varepsilon\\} \cdot n))$ on one of two fixed distributions. For generation with a public witness window and mass floor, the two bounds match on suitable two-language collections, establishing the optimal rate $\exp(-\Theta(\min\\{1,\varepsilon\\} \cdot n))$. Our results show that, given such public side information for generation, the cost of privacy in language learning is mild: absent under approximate DP, and at most a $\min\\{1,\varepsilon\\}$ factor in the exponent under pure DP.
Successful Page Load