arXiv Science⌕ Search

arXiv · 2612.00881

Language Generation Beyond Adversarial Examples

Abstract

Kleinberg and Mullainathan recently introduced the framework of language generation in the limit, initiating the theoretical study of how an algorithm can learn to generate valid strings from an unknown language based only on observed examples. Existing work has focused on the worst-case setting, where example strings are presented to the algorithm by an adversary. In contrast, one expects that in many real environments, examples are generated in a neutral, or even helpful environment for the generator. Motivated by this, we introduce two new models of language generation that capture non-adversarial environments: active generation, where the examples are presented in best-case order to the generator, and neutral generation, where the order is fixed and independent of the target language. Our main contributions are two-fold: We give a full inclusion-hierarchy of language generation in the three models: active, neutral, and adversarial. We show that while adversarial generation is unaffected by whether the generator is allowed to repeat strings, this is a key distinguishing factor in the case of active and neutral generation. In fact, with repetition allowed, we show that every language collection can be actively generated. To obtain a finer-grained understanding of these generation models, we define the complexity of generation as the number of examples required before a generator can correctly generate from the target language. Using this complexity measure, we leverage Ramsey theory to obtain strict hierarchies for both active and neutral generation, also showing how these hierarchies are affected by string repetition in the output. Our results demonstrate that the order in which examples are presented fundamentally influences the power of language generation, which draws parallels to a long line of work in inductive inference on the role of data presentation in learning.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Debmalya Panigrahi, Fan Wei, Ian Zhang. 2026-12-01. Language Generation Beyond Adversarial Examples. https://arxiv.science/abs/2612.00881

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

FPT Parameterisations of Fractional and Generalised Hypertree Width

We present the first fixed-parameter tractable (FPT) algorithms for exact computation of generalized hypertree width (ghw) and fractional hypertree width (fhw). Our algorithms are parameterized by the target width, the rank, and the maximum degree of the input hypergraph. More generally, we show that testing f-width is in FPT for a broad class of width functions that we call manageable. This class contains the edge cover number $ρ$ and its fractional relaxation $ρ^*$, and thus covers both generalized and fractional hypertree width. We additionally extend our framework to also obtain an fpt algorithm for computing a discretized version of adaptive width. Our approach extends a recent algorithm for treewidth (Bojańcyk & Pilipczuk, LMCS 2022) that utilises monadic second-order transductions. To extend this idea beyond treewidth we develop new combinatorial machinery around elimination forests in hypergraphs, culminating in a structural normal form for optimal witnesses that makes transduction-based optimisation applicable in the much more general context of manageable width functions. This yields the first exact FPT algorithms for these measures under any nontrivial parameterisation and provides structural tools that may enable more direct optimisation algorithms

cs.DS↗

Approximation and parameterized algorithms for covering disjointness-compliable set families

Balancing charges in Generalized Point-to-Point Connection (GP2P) and meeting group quotas at several roots are instances of the same problem: covering a disjointness-compliable set family. An $α$-approximation for the restricted one-terminal problem in each residual instance gives a greedy $\max\{2,α\}H_τ$-approximation for $τ$ terminals. For edge costs, Zhao and Xiao subsequently reduced the logarithmic loss to a constant multiplier. For node costs we prove the harmonic bound with a deterministic oracle. Logarithmic loss is then unavoidable even when the one-terminal problem is a shortest path. In $O^*(3^τ)$ time we solve proper families exactly and obtain ratio $α+1$ when overlapping feasible components with disjoint terminal sets have feasible union. This condition holds for the multiroot applications. For Multiroot Quota Tree we obtain the one-root ratio in the same time. For GP2P, rooted Quota Tree is already the case of one negative node. Conversely, on general graphs we can approach any fixed deterministic one-root approximation ratio arbitrarily closely in fixed-parameter time in the number of components containing a negative node in an optimum. This gives a $(2+ε)$-approximation for every fixed $ε>0$.

cs.DS↗

Finite Pinwheel Covering

In perpetual scheduling theory, the Pinwheel Covering problem asks, given $n$ frequencies $f_i$, whether there exists an infinite schedule such that every $f_i$ consecutive entries contain at most one occurrence of $i\in [n]$. This models $n$ agents taking turns at executing a job, with a recovery period before working again. Pinwheel Covering is, in a sense, the dual of Pinwheel Packing (also known as Pinwheel Scheduling), which similarly asks for at least one occurrence of $i$ in every $f_i$ consecutive entries. The complexity of both problems is a major open question: both are known to be in PSPACE, but PSPACE-hardness remains unknown. Recently, a finite version of Pinwheel Packing requiring only $k$ occurrences of $i\in [n]$ was introduced by [Kanellopoulos et al., SODA 2026] and proven to be strongly NP-complete. In this work we introduce $k$-Visits Covering, the analogous finite version of Pinwheel Covering, establishing strong NP-completeness even for $k=2$. As a corollary, we obtain that a generalization of Pinwheel Covering with varying frequencies is strongly NP-hard. To the best of our knowledge, this is the first strong NP-hardness result in the covering setting. We complement these results with a linear-time algorithm for $2$-Visits Covering with two distinct frequencies and a randomized polynomial-time algorithm when the number of distinct frequencies is constant. Lastly, we study the density thresholds of $k$-Visits Covering and prove that no non-trivial density bounds exist, contrasting the finite packing version.

cs.DS↗