Space-Efficient Language Generation in the Limit
Not on the map. Why?
Abstract (arXiv)
We initiate a resource-aware theory of textitlanguage generation in the limit under the minimal constraint of space efficiency. In our framework, a learner observes an adversarial positive stream from a target language K and must eventually output a hallucination-free hypothesis language L subseteq K while omitting at most Delta strings of K. We focus on Cs,k, the collection of languages recognized by DFAs with at most s states over an alphabet of size k, as the natural hypothesis class for memory-bounded learners. In the exponential-space regime, we prove that a learner can exactly identify the target K. Under a stricter memory budget, we characterize the strongest possible generation guarantees. In particular, we present a streaming algorithm using poly(s,k) space that converges to a hypothesis with generation gap Delta = O(k2s-2). Moreover, the learned hypothesis captures every string in K of length at least 2s-1. We complement this result with a near-matching lower bound through a reduction from a standard communication complexity problem. Specifically, achieving generation gap Delta ≤ k(1-varepsilon)s requires kOmega(varepsilon s) memory. Together, these results reveal a sharp transition between polynomial-space generation and exponential-space exact identification.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 14 of its 34 references that are in the map. First posted on arXiv 24 Jun 2026.
Builds on
14 of 34 references.
References · 14
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Illusion of State in State-Space Modelscited by 187
- 2024Language Generation in the Limitcited by 40
- 2024Transformers Can Represent n-gram Language Modelscited by 32
- 2024Generation through the lens of learning theorycited by 31
- 2024Exploring Facets of Language Generation in the Limitcited by 28
- 2025Density Measures for Language Generationcited by 21
- 2025Generation from Noisy Examplescited by 20
- 2025Representative Language Generationcited by 19
- 2025On Union-Closedness of Language Generationcited by 17
- 2025Pareto-optimal Non-uniform Language Generationcited by 10
- 2025Learning Algorithms in the Limitcited by 9
2 more
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Hallucination Rates in Language Generationcited by 0
- 2026Hallucination Rates in Language Generation25 Jul 2026