acceptodds
Published as a conference paper at NeurIPS 2026

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 matching lower bounds that precisely quantify the cost of privacy. For both tasks, approximate -DP with constant recovers the non-private error rates: for identification (for any ) and for generation. Under pure -DP, the exponents degrade by a multiplicative factor of , which we show is tight up to constants. Notably, for generation under pure DP with mild assumptions, the upper bound 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 factor in the exponent under pure DP.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_vHZWOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The topic of the paper is language generation and language identification problems through the lens of differential privacy (DP).

Language generation/identification questions have seen a recent boom in the research community. This paper uses a recent agnostic statistical learning framework of Høgsgaard and Pabbaraju (2026) as a starting point. It studies the four problems - bounds for pure- and approximate-DP for both language generation and identification. For all the settings, the paper obtains matching bounds.

The key takeaways are:

  • Approximate DP obtains the exact asymptotic error convergence rates as the non-private setting, ie, there is no privacy penalty
  • Pure DP incurs a privacy penalty, in particular, the convergence exponent gets multiplied by a factor min⁡(1,ϵ)\min(1, \epsilon).

The technical tools are essentially work by taking the Høgsgaard and Pabbaraju (2026) non-private results, and suitably ``modifying’’ the appropriate step to make it amenable to either the exponential mechanism (pure DP) or the Gaussian mechanism (approximate DP). In particular, the discontinuous steps/unbounded sensitivities are modified into smooth scoring functions. The lower bounds are also non-trivial results.

Overall these are interesting results focused on a topic lying at the intersection of DP and language modeling.

OTHER COMMENTS

  • L26: Typo
  • L49: \mathcal{D}
  • L149: awkward sentence structure
Strengths and weaknesses

STRENGTHS

  • Interesting and important theoretical model
  • Tight bounds for all settings
  • Useful insights regarding the privacy of privacy for pure and approximate DP
  • Non-trivial theoretical developments, both upper and lower bounds

WEAKNESSES

  • Heavily borrows from existing non-private machinery, especially the (still to be published?) work of Høgsgaard and Pabbaraju [2026]; makes the work sound incremental
  • The privatization of their steps (upper bounds) are not surprising and follow standard templates in other DP algorithms (except for the actual scoring function itself, which upon squinting, is also not too surprising).
Questions
  • Can you comment on Cor 4.6 vs Cor 4.7 vs the mass floor assumption - known vs unknown
  • Your results are largely based on the agnostic learning setting of Høgsgaard and Pabbaraju [2026]; how much would it take to extend your results to other statistical settings (eg, realizable)
Limitations

Yes

Paper formatting concerns

None

Final justification

Supportive - will keep my score.

1 comment

We appreciate the reviewer's recognition of the model's importance, the useful pure-versus-approximate-DP picture, and the non-trivial upper- and lower-bound developments.

W1–W2: relation to [HP26] and technical novelty. The reviewer's characterization is fair at the level of the existing DP techniques: the exponential and Gaussian mechanisms and group privacy are standard, while [HP26] supplies the non-private framework, algorithms, and rates. The new technical layer is the construction and analysis of DP-compatible objectives for steps whose original forms are unstable. Identification uses an ordered soft-margin objective in place of a discontinuous rule. Generation requires a different statistic, rather than merely a noised pointer: the pointer has unbounded sensitivity, whereas the thresholded prefix count has sensitivity at most 11; without a public witness bound, the pair score has sensitivity at most h(n)/g(n)h(n)/g(n) but gap Ω(h(n))\Omega(h(n)). The task-specific symmetric identification and one-sided generation coupling reductions provide the privacy lower bounds. We will revise the contribution statement to separate what is inherited, what is standard, and what is introduced here.

Q1: Corollaries 4.6/4.7 and the mass floor. When we are preparing the response to this question, we found a small scope issue in Corollary 4.6, which we will correct explicitly. In a genuinely no-public-bound construction, h(n)→∞h(n)\to\infty; because the reference language is infinite, ph⋆→0p_h^\star\to0, so a fixed p0≤ph⋆p_0\le p_h^\star cannot persist. The correct regimes are:

  1. Public (W,p0)(W,p_0). For a fixed witness window and p0≤pW⋆p_0\le p_W^\star, pure DP achieves exp⁡[−min⁡1,εΩ(n)]\exp[-\min\\{1,\varepsilon\\}\Omega(n)]. For the two-language class in Remark 5.6 with uk=ku_k=k, both privacy-hard distributions share valid public values W=4W=4 and p0=1/8p_0=1/8. Hence revealing these values does not invalidate the privacy-specific coupling lower bound.
  2. Public WW, but no known floor. The relevant finite prefix either has a positive minimum mass pW⋆p_W^\star or makes coverage vacuous. For fixed ε>0\varepsilon>0, r(n)→∞r(n)\to\infty, r(n)=o(n)r(n)=o(n), and log⁡f(n)=o(r(n))\log f(n)=o(r(n)), Theorem 4.4 yields exp⁡[−min⁡1,εΩ(r(n))]\exp[-\min\\{1,\varepsilon\\}\Omega(r(n))] under pure DP without tuning to pW⋆p_W^\star.
  3. No public information. The horizon must grow, and Corollary 4.7 remains conditional on the coverage requirement r(n)≤nph⋆/2r(n)\le n p_h^\star/2; it is not an unconditional adaptive rate.

For approximate DP, Gaussian perturbation changes the privacy term but not coverage. With fixed public WW, a Gaussian analogue of Algorithm 3 (which we will state and prove) has noise term 2f(n)exp⁡[−Ω(ε2g(n)2/(f(n)log⁡(1.25/δ)))]2f(n)\exp[-\Omega(\varepsilon^2g(n)^2/(f(n)\log(1.25/\delta)))]. Thus the universal choice g(n)=n/log⁡ng(n)=n/\log n eventually satisfies coverage without knowing pW⋆p_W^\star and, for constant ε\varepsilon, recovers exp⁡[−Ω(n)]\exp[-\Omega(n)], for example when f(n)log⁡(1.25/δ)=o(n/log⁡2n)f(n)\log(1.25/\delta)=o(n/\log^2 n). With no public bound, the theorem remains conditional on g(n)≤nph⋆/2g(n)\le n p_h^\star/2 and contains the coverage term ∣Ih⋆∣exp⁡(−nph⋆/8)|I_h^\star|\exp(-n p_h^\star/8), which is not generally exp⁡[−Ω(n)]\exp[-\Omega(n)] as ph⋆→0p_h^\star\to0. We will therefore move Corollary 4.6 to the fixed-window regime, expose the coverage condition in Corollary 4.7, restrict the fully exponential approximate-DP statement in Theorem 4.8 and Table 1 to the fixed-WW regime, and state the exact conditional no-public-bound guarantee. These changes correct the side-information scope while preserving the score constructions and the privacy-specific lower bounds.

Q2: realizable settings. Identification specializes directly: realizability makes the optimum zero and attained, so Assumption 3.1 and the upper bounds apply. The privacy-specific hard construction has zero risk; for the specialization L=s0,s1L=\\{s_0,s_1\\}, L′=s0,s2L'=\\{s_0,s_2\\}, each hard distribution's support equals its optimal language. For generation, under the valid-distribution convention of [KMV25], supp⁡(D)=L⋆\operatorname{supp}(\mathcal D)=L^\star, so Assumption 4.3 is automatic, but realizability alone does not imply the finite-witness Assumption 4.2. Under the weaker convention supp⁡(D)⊆L⋆\operatorname{supp}(\mathcal D)\subseteq L^\star, even Assumption 4.3 need not follow. Thus exact-support realizability discharges Assumption 4.3 only; the corresponding generation theorems apply subject to all remaining Section 4 hypotheses, including infinite languages and the public-information or coverage conditions described in Q1. Covering all realizable countable collections would require additional structure or a different construction. We will add this distinction in the revised version.

Other comments. Thank you for pointing this out. We will correct L26, L49, and L149.

Thank you for your time and the valuable feedback.

References

  • [HP26] Mikael Møller Høgsgaard and Chirag Pabbaraju. Agnostic Language Identification and Generation. arXiv:2601.23258, 2026.
  • [KMV25] Alkis Kalavasis, Anay Mehrotra, and Grigoris Velegkas. On the Limits of Language Generation: Trade-Offs between Hallucination and Mode-Collapse. STOC 2025.
Reviewer_EmosOpenReview ↗
Rating
4
Clarity
4
Confidence
4
Originality
4
Quality
3
Significance
3
Read review
Summary

The authors study language generation and identification under privacy constraints. They focus on a statistical version of (agnostic) generation and identification. Prior work had proposed algorithms in this setting that achieve exponential learning rates in the absence of privacy constraints. The main results of this work show the following: for both generation and identification under approximate DP, the learning rates remain essentially the same, whereas in the case of pure DP the constant in the exponent is multiplied by min⁡{1,ϵ}\min\{1,\epsilon\}. Interestingly, they show that the dependence on ϵ\epsilon is tight. The algorithmic approaches rely on modifications of algorithms of prior work in a way that makes their decisions smoother.

Strengths and weaknesses

Strengths:

  • The authors propose and study a natural problem, and give tight bounds. Interestingly, the bound is tight even with respect to the constants around ε\varepsilon.

  • The results show that privacy essentially comes for free in the (agnostic) statistical setting of language identification and generation. This is interesting because it stands in contrast to other learning settings, like PAC learning.

  • The paper is very nicely written and easy to follow.

Weaknesses:

  • The techniques, especially the ones related to the algorithmic upper bounds, may be viewed as a little incremental.
Questions
  • It seems to me that the upper bounds (algorithms) follow from some relatively standard techniques of taking a non-private algorithm and make its decisions a little bit smoother and non-binary. Do you think this is a fair assessment, and if not, could you please elaborate on the technical difficulties of the upper bounds?

  • Could you elaborate a little more on the lower bounds? I find the technical ideas there to be more interesting. Perhaps if you agree you can make them a more prominent part of the paper in the revision.

Limitations

Yes.

Paper formatting concerns

No.

1 comment

We appreciate the reviewer's recognition of the problem's naturalness, the tight dependence on ε\varepsilon, its contrast with PAC learning, and the clarity of the presentation. The two questions identify exactly where the technical content should be made more visible.

Q1: Are the upper bounds standard smoothing? At the level of the DP mechanisms, this assessment is fair: we use the exponential and Gaussian mechanisms and claim no novelty for those primitives. The technical work is in constructing low-sensitivity statistics that retain the required non-private decision logic. For identification, empirical risk alone does not encode the largest-index relative-margin rule. Our score q(S,i)=i−f(n)2(2/f(n)−MS(i))+q(S,i)=i-f(n)^2\bigl(2/f(n)-M_S(i)\bigr)_+ softens this discontinuous feasibility test; its sensitivity is at most 2f(n)2/n2f(n)^2/n, while its separation on the concentration event is at least one. The growing horizon f(n)f(n) must therefore balance statistical concentration and privacy. Generation has a different obstruction: the non-private pointer has unbounded global sensitivity. The thresholded minimum-prefix count reduces this to sensitivity at most one with gap g(n)g(n); without a public witness bound, the joint language/threshold score has sensitivity at most h(n)/g(n)h(n)/g(n) but gap Ω(h(n))\Omega(h(n)), preserving an effective gap-to-sensitivity ratio Ω(g(n))\Omega(g(n)). We will revise the contribution statement to distinguish these objective constructions and their rate analyses from the standard DP mechanisms.

Q2: lower bounds. We agree that these arguments deserve greater prominence. Both couple two distributions sharing an atom of mass 3/43/4, so the coupled samples differ in Bin(n,1/4)\mathrm{Bin}(n,1/4) coordinates, and then invoke group privacy (Lemma 5.1). Identification is symmetric: private atoms create a fixed excess-risk gap, and the coupling constrains the two misidentification probabilities jointly. Generation instead uses a one-sided event. For F={ak}⊆L∖L′F=\{a_k\}\subseteq L\setminus L', success under D\mathcal D forces output in FF, except on a 4−n4^{-n} event, whereas every output in FF fails under D′\mathcal D' because F∩supp⁡(D′)=∅F\cap\operatorname{supp}(\mathcal D')=\varnothing. This yields the privacy-specific exp⁡[−O(εn)]\exp[-O(\varepsilon n)] barrier. Combined with the inherited non-private lower bounds, it establishes the min⁡1,ε\min\\{1,\varepsilon\\} dependence along infinitely many nn for IPP collections in identification and for generation collections satisfying IIDP and the additional [HP26] condition. We will expand the proof sketches and foreground this symmetric-versus-one-sided distinction.

Thank you for your time and the thoughtful comments.

References.

  • [HP26] Mikael Møller Høgsgaard and Chirag Pabbaraju. Agnostic Language Identification and Generation. arXiv:2601.23258, 2026.
Reviewer_bKnMOpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

In this paper, the authors study the price of differential privacy for two related problems: language identification and language generation. These two problems had previously been studied only in a non-private setting. The authors focus on offline, agnostic version of these problems, where the focus is on the best possible rate of error decay as the number of samples grows.

The authors provide tight upper and lower bounds on the error rates for both pure and approximate DP, and see that for approximate DP, private generation and identification is essentially free and matches the same rates as non-private generation/identification, while pure DP incurs a multiplicative factor of ϵ\epsilon.

The authors prove their upper bounds by carefully analyzing the sensitivity of subroutines in existing identification and generation algorithms and introducing careful alterations that improve the sensitivity while preserving accuracy before applying additional noise. The lower bounds are proved via a coupling argument.

Strengths and weaknesses

Strengths

  • the paper is clearly written and does a good job of providing proof intuition and overviews.
  • The proposed differentially private algorithms leverage novel changes to existing generation and identification algorithms, that may be of interest in the non-private setting as well.
  • The set of results are comprehensive -- the authors give a clear picture of the price of privacy for both pure and approximate DP, and for both language generation and identification.

Weaknesses

  • I would have appreciated a more extensive comparison to similar privacy results in other learning tasks and how and why the bounds for generation/identification are similar or differ, but understand that the authors were limited on space.
  • Minor typo on line 26: "we" should be capitalized.
Questions

No questions.

Limitations

yes.

Paper formatting concerns

no concerns.

Final justification

This paper provides a clear and comprehensive first study of how differential privacy interacts with language generation and identification in the limit.

1 comment

We appreciate the reviewer's recognition that the paper gives a clear, comprehensive picture and that the algorithmic modifications may also be useful beyond the private setting.

W1: comparison with privacy results for other learning tasks. Thank you for suggesting a sharper comparison. We agree that the discussion is too narrow. Approximate DP can eliminate a pure-DP penalty in in some certain learning problems, in others it merely reduces the privacy cost rather than removing it entirely. We will add a detailed comparison table to the revised manuscript. In the meantime, we provide it below. Here α\alpha is selection/release accuracy, η\eta is PAC error, and β\beta is failure probability. The first six rows report sample/database complexity (with the threshold and counting-query rows showing only its domain-dependent term at fixed accuracy, confidence, and privacy), and the final two report task error as a function of nn—expected excess risk for identification and failure probability for generation. Thus, we compare the privacy-induced change within each task, not raw magnitudes across tasks.

Setting and reported quantityNon-private baselinePure ε\varepsilon-DPApprox. (ε,δ)(\varepsilon,\delta)-DPRemark
Finite hypothesis selection, MM public candidates (sample complexity nn) [BKSW19]O(log⁡(M/β)/α2)O(\log(M/\beta)/\alpha^2)O(log⁡(M/β)/α2+log⁡(M/β)/(αε))O(\log(M/\beta)/\alpha^2+\log(M/\beta)/(\alpha\varepsilon))The pure-DP guarantee already appliesIf some candidate is within α\alpha, returns H^\widehat H within (3+ζ)α(3+\zeta)\alpha; normalized score sensitivity 1/n1/n, useful gap Θ(α)\Theta(\alpha).
PAC learning: Linep{\rm Line}_p, VC=Ldim=2{\rm VC}={\rm Ldim}=2 (sample complexity nn) [FX15]O(η−1log⁡(1/β))O(\eta^{-1}\log(1/\beta)), independent of ppΘ(log⁡p/(εη))\Theta(\log p/(\varepsilon\eta)) in its pp-dependenceO(log⁡(1/δ)log⁡(1/β)/(εη))O(\log(1/\delta)\log(1/\beta)/(\varepsilon\eta)), independent of ppApproximate DP removes the domain-representation penalty; the approximate-DP learner is improper.
PAC thresholds on finite ordered XX (domain-dependent term in nn) [ALMM19, CLN+23, FX15]No ∣X∣\lvert X\rvert-dependenceΘ(log⁡∣X∣)\Theta(\log \lvert X\rvert)Θ~(log⁡∗∣X∣)\widetilde{\Theta}(\log^\ast \lvert X\rvert)Approximate DP sharply reduces, but does not eliminate, the domain cost.
General counting-query release, worst-case large Q\mathcal Q (domain-dependent term in nn) [BUV14]Θ(log⁡∣Q∣)\Theta(\log\lvert\mathcal Q\rvert)Θ(dlog⁡∣Q∣)\Theta(d\log\lvert\mathcal Q\rvert)Θ~(dlog⁡∣Q∣)\widetilde{\Theta}(\sqrt d\log\lvert\mathcal Q\rvert)Accuracy, confidence, and privacy are fixed; the dd-cost becomes d\sqrt d, but privacy is not free.
dd one-way empirical marginals, average ℓ1\ell_1 error α\alpha (required database size nn) [SU17]Exact empirical meansΘ(d/(αε))\Theta(d/(\alpha\varepsilon))Θ(dlog⁡(1/δ)/(αε))\Theta(\sqrt{d\log(1/\delta)}/(\alpha\varepsilon)) for 2−Ω(n)≤δ≤n−1−Ω(1)2^{-\Omega(n)}\leq\delta\leq n^{-1-\Omega(1)}A tight, smooth pure-to-approximate separation: dd becomes d\sqrt d.
Generation in the limit (uniform time n⋆n^\star) [MVYZ26]dcld_{\rm cl} + 1dcl+O~((k/ε)log⁡(1/β))d_{\rm cl}+\widetilde O((k/\varepsilon)\log(1/\beta))Not studiedFinite class size kk, closure dimension dcld_{\rm cl}, adversarial enumeration, and continual release; realizable in-limit objective rather than agnostic one-shot error.
Identification in this work (expected excess risk at sample size nn)exp⁡[−r(n)]\exp[-r(n)] (any r→∞r\to\infty with r=o(n)r=o(n))exp⁡[−min⁡1,εr(n)]\exp[-\min\\{1,\varepsilon\\}r(n)]exp⁡[−r(n)]\exp[-r(n)] in the stated parameter rangeOrdered-score sensitivity ≤2f(n)2/n\leq 2f(n)^2/n, useful gap ≥1\geq 1; the growing horizon causes the sublinear-exponent tradeoff.
Generation in this work (with public side info, error rate at sample size nn)exp⁡[−Ω(n)]\exp[-\Omega(n)]exp⁡[−min⁡1,εΩ(n)]\exp[-\min\\{1,\varepsilon\\}\Omega(n)]exp⁡[−Ω(n)]\exp[-\Omega(n)] in the stated parameter rangePrefix-count sensitivity ≤1\leq 1, gap g(n)=Θ(n)g(n)=\Theta(n); hence a fully exponential rate.

The non-private baselines in the final two rows are from [HP26]. During the submission period, we became aware of the concurrent work [MVYZ26], which is the closest topical comparison. It studies pure DP under the stronger privacy requirement of continual release, but for realizable generation and identification in the limit, and its statistical implication is an almost-exponential realizable rate with distribution- and privacy-dependent constants, rather than our agnostic one-shot error exponents or pure-versus-approximate separation. We will add this comparison and make the complementarity explicit rather than treating the rates as directly comparable.

We will expand the discussion in Section 1.2 and Appendix H.

W2: typo in line 26. Thank you for pointing this out. We will capitalize it.

Thank you again for your time and the constructive feedback.

References.

  • [ALMM19] Noga Alon, Roi Livni, Maryanthe Malliaris, and Shay Moran. Private PAC Learning Implies Finite Littlestone Dimension. STOC 2019.
  • [BKSW19] Mark Bun, Gautam Kamath, Thomas Steinke, and Zhiwei Steven Wu. Private Hypothesis Selection. NeurIPS 2019.
  • [BUV14] Mark Bun, Jonathan Ullman, and Salil Vadhan. Fingerprinting Codes and the Price of Approximate Differential Privacy. STOC 2014.
  • [CLN+23] Edith Cohen, Xin Lyu, Jelani Nelson, Tamás Sarlós, and Uri Stemmer. Õptimal Differentially Private Learning of Thresholds and Quasi-Concave Optimization. STOC 2023.
  • [FX15] Vitaly Feldman and David Xiao. Sample Complexity Bounds on Differentially Private Learning via Communication Complexity. SIAM Journal on Computing 44(6), 2015.
  • [HP26] Mikael Møller Høgsgaard and Chirag Pabbaraju. Agnostic Language Identification and Generation. arXiv:2601.23258, 2026.
  • [MVYZ26] Anay Mehrotra, Grigoris Velegkas, Xifan Yu, and Felix Zhou. Differentially Private Language Generation and Identification in the Limit. COLT 2026.
  • [SU17] Thomas Steinke and Jonathan Ullman. Between Pure and Approximate Differential Privacy. Journal of Privacy and Confidentiality 7(2), 2017.

Comments on the paper

1 comment
Meta-review

The paper studies differentially private language identification and generation, providing upper and lower bounds for both pure and approximate differential privacy.

The reviewers found the problem interesting and timely, the results comprehensive, and the paper clearly written. They raised questions about the technical novelty relative to the non-private framework and standard privatization techniques. The rebuttal clarified the new low-sensitivity objectives and privacy-specific lower bounds, expanded the comparison with related work, and corrected the scope of the generation guarantees. The reviewers found these responses satisfactory and maintained their positive assessments.

I recommend acceptance, with the expectation that the authors incorporate the promised clarifications and scope corrections.

I also note a bibliographic error identified during the reference check. The citation to “Learning with User-Level Privacy” incorrectly replaces the last two authors, Mehryar Mohri and Ananda Theertha Suresh, with Mehrdad Agarwal and Peter Kairouz. This should be corrected in the revised version.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.