arXiv:2611.00797cs.LGOct 2026

Manuscript Offprint

arXiv:2611.00797

Private Uniform Language Generation

Di Wang, Peng Ye

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study uniform language generation under approximate differential privacy. Given a uniformly bounded number of distinct examples from an unknown target language, a generator must produce infinitely many new examples from that language with probability one while protecting the privacy of its input. We introduce a new combinatorial dimension termed the nested branching dimension and prove that a language class is privately uniformly generatable if and only if both its closure dimension and nested branching dimension are finite. Previous work characterizes non-private uniform generation by the finiteness of the closure dimension alone. Our results therefore identify an additional combinatorial obstruction imposed by privacy.

*King Abdullah University of Science and Technology. di.wang@kaust.edu.sa †King Abdullah University of Science and Technology. peng.ye@kaust.edu.sa

1 Introduction

Motivated in part by the remarkable success of large language models, recent work has studied the problem of language generation [KM24], in which an algorithm observes examples from an unknown language and seeks to produce new examples from that language. This objective differs fundamentally from classical predictive learning, where the goal is to make accurate predictions on unseen instances after observing examples labeled by an unknown target.

A central goal in learning theory is to characterize which classes are learnable in terms of combinatorial parameters. Canonical examples include the VC dimension [VC71], which characterizes PAC learnability, and the Littlestone dimension [Lit88], which characterizes online learnability. Such characterizations do more than establish the existence of learning algorithms: they identify the structural properties that govern learnability and often yield quantitative bounds on the amount of data required.

Such combinatorial characterization has also been identified for a language generation task called uniform language generation. Let C\mathcal{C} be a collection of languages, each of which is an infinite subset of a countable universe. We say C\mathcal{C} is uniformly generatable if there exists an algorithm and a finite nn such that for every language L∈CL \in \mathcal{C}, it takes as input a dataset SS of nn distinct examples from LL and produces an infinite subset of L∖SL \setminus S. Here, “uniform” means nn only depends on the entire class C\mathcal{C} and is the same for every L∈CL \in \mathcal{C}. Raman, Li, and Tewari [RLT25] give a complete combinatorial characterization of this property in terms of a parameter called the closure dimension, and further show that uniform generatability is incomparable with both PAC and online learnability. Thus, although learning and generation admit parallel characterization questions, the structural conditions governing the two tasks are fundamentally different.

The examples observed by a generator, however, may contain sensitive information, raising the question of whether generation can be carried out while protecting the privacy of the input data. Differential privacy (DP) [DMNS06] provides a strong and widely used formalization of such protection: informally, it requires that changing a single example in the input dataset has only a limited effect on the distribution of the algorithm's output.

Imposing differential privacy can fundamentally change the conditions that determine whether a task is possible. This phenomenon is well known in learning theory: ordinary PAC learnability is characterized by the VC dimension, whereas (approximate) private PAC learnability is characterized by the Littlestone dimension [ALMM19, BLM20]. These two dimensions can differ dramatically for the same class: for example, the class of thresholds over N\mathbb{N} has VC dimension 1 but infinite Littlestone dimension, and is therefore PAC learnable but not privately PAC learnable. Thus, the classes that are learnable in the private and non-private settings can differ.

This naturally motivates the corresponding question for generation. Suppose a generator observes a uniformly bounded number of distinct examples from an unknown target language L∈CL \in \mathcal{C}. Based on these examples, it must generate infinitely many new examples in LL with probability 1, while satisfying differential privacy with respect to its input sample. In the non-private setting, the closure dimension completely characterizes when uniform generation is possible. Does this characterization continue to hold under differential privacy, perhaps with a larger sample size, or does privacy fundamentally change the structure governing generation? This leads to our main question:

Which classes are uniformly generatable under differential privacy?

References (41)