paper

Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizations

arXiv:2511.05295

Abstract

The success of large language models (LLMs) has motivated formal theories of language generation and learning. We study the framework of \emph{language generation in the limit}, where an adversary enumerates strings from an unknown language drawn from a countable class, and an algorithm must generate unseen strings from . Prior work showed that generation is always possible, and that some algorithms achieve positive lower density, revealing a \emph{validity--breadth} trade-off between correctness and coverage. We resolve a main open question in this line, proving a tight bound of on the best achievable lower density. We then strengthen the model to allow \emph{partial enumeration}, where the adversary reveals only an infinite subset . We show that generation in the limit remains achievable, and if has lower density in , the algorithm's output achieves density at least , matching the upper bound. This generalizes the bound to the partial-information setting, where the generator must recover within a factor of the revealed subset's density. We further revisit the classical Gold--Angluin model of \emph{language identification} under partial enumeration. We characterize when identification in the limit is possible -- when hypotheses eventually satisfy -- and in the process give a new topological formulation of Angluin's characterization, showing that her condition is precisely equivalent to an appropriate topological space having the separation property.

Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizations · wovepaper