Space-Efficient Language Generation in the Limit
arXiv:2606.25777
Abstract
We initiate a resource-aware theory of \textit{language 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 and must eventually output a hallucination-free hypothesis language while omitting at most strings of . We focus on , the collection of languages recognized by DFAs with at most states over an alphabet of size , as the natural hypothesis class for memory-bounded learners. In the exponential-space regime, we prove that a learner can exactly identify the target . Under a stricter memory budget, we characterize the strongest possible generation guarantees. In particular, we present a streaming algorithm using space that converges to a hypothesis with generation gap . Moreover, the learned hypothesis captures every string in of length at least . We complement this result with a near-matching lower bound through a reduction from a standard communication complexity problem. Specifically, achieving generation gap requires memory. Together, these results reveal a sharp transition between polynomial-space generation and exponential-space exact identification.
Accepted at COLT 2026