Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Language Generation in the Limit: Complexity Barriers and Implications for Learning

Generation in the limit can require sample sizes no algorithm can compute

  • Problem Existence proofs show that generation in the limit is possible, but they don't say how many examples a generator needs.
  • Method The authors fix a number m that a generator must meet for every language in a family, and tie the smallest such m to the largest finite intersection.
  • Results The authors prove that no algorithm can output a sample bound m for any pair of infinite context-free grammars.

Why feasibility is the open question

Kleinberg and Mullainathan moved the focus from identifying a grammar to producing new strings of a target language. Their result shows that generation in the limit is always possible for countable families, which is a strong existence claim. An existence claim doesn't say how much data the generator needs before its outputs reliably belong to the target.

If that number grows too fast with the size or structure of a family, the guarantee has little practical value.

The gap matters because the older identification framework is far more pessimistic. Gold showed that even regular languages can't be identified from positive data alone, while finite families trivially can. Angluin later gave a structural characterization, and few natural families meet it, which fed the poverty of the stimulus argument in linguistics.

Non-erasing pattern languages are a notable exception, since they are learnable in Gold's model.

Uniform generation and finite intersections

The authors fix one number m that must work for every language in a family, which turns the question into a measurable sample complexity. A family is m-generatable when some generator, given any set of at least m examples from any member, outputs a string of that member outside the set. The sample complexity of a finite family is then the smallest such m.

The key tool is a characterization from Raman et al., which the authors recall in a streamlined form. A family fails to be m-generatable exactly when some non-empty subfamily has a finite intersection of size at least m. The intuition is that a generator gets stuck only when every example it has seen lies in one finite overlap of members.

So the sample complexity is governed by the largest finite intersection in the family.

Every finite family is m-generatable for some m, because it has only finitely many intersections to exceed. That existence fact says nothing about how large m must be, so the study measures m against the family size and the descriptive complexity of its languages.

Context-free languages: no computable bound

The first result is the strongest negative one: no algorithm takes two infinite context-free grammars and outputs an m that makes the pair m-generatable. The algorithm may diverge when one of the two languages is finite, because finiteness is decidable and that case is handled separately.

The proof is a reduction from the halting problem, and its engine is a construction that turns a Turing machine into two grammars. If the machine halts in exactly t steps, the two grammars have an intersection of exactly \(2^t\) words. Each word in that intersection is a sequence of configurations separated by one delimiter bit per step. The two grammars share the job of checking each transition between consecutive configurations, so together they enforce a valid run.

The reduction then splits into cases on finiteness. If one grammar's language is finite, a bound on the intersection lets the simulation stop after t−1 steps. If both are infinite, a computable m gives a threshold t with m at most \(2^t\), and a halting run of at least t steps would produce an intersection that contradicts m-generatability.

A computable bound would therefore decide the halting problem, which is impossible.

The lower bound doesn't depend on the grammar formalism. Pushdown automata are polynomially translatable to context-free grammars, so the same non-computability carries over to them. The construction also works with deterministic pushdown automata, so the source of hardness isn't nondeterminism.

Regular languages: double-exponential sample size

Restricting to regular languages restores computability, but the cost is high. Sample complexity is the minimal m for which a finite family is m-generatable, and the families are given by NFAs, DFAs or regular expressions.

For the upper bound, a product construction recognizes any intersection of members with at most s to the power \(|F|\) states. A finite intersection can't contain a word of length \(s^{|F|}\) or more, so its size is below \(a^{s|F|}\). Proposition 2.3 then gives \(a^{s|F|}\)-generatability, and the same bound holds when each language is a regular expression of length at most s−1.

The lower bound uses a binary alphabet and n a power of 2, with \(\ell = \log_2 n\). Each language L_{mw} is built from blocks of length \(\ell\), and its odd-position blocks can contain at most m copies of w in any stretch with no block lexicographically below w. A DFA with O(\(\ell\)·m) states recognizes each such language, using a counter for w-blocks and a tracker for how far the current block matches w.

Choosing m = Θ(s/\(\ell\)) keeps every DFA within s states. The intersection over all words of length \(\ell\) is finite, yet it has at least \(2^{m|F|}\) words, which is \(2^{\Omega(s/\log n)\,n}\).

The count grows because each new word multiplies the number of blocks by at least m. Each language also has a regular expression of length O(\(\ell^2\)·m^2), which is O(s^2).

The bound says little when the family has about \(2^{\Omega(s)}\) members. There are \(s^{\Omega(s)}\) distinct regular languages recognized by s-state DFAs, and whether a similar double-exponential lower bound holds for families that large is open.

LTT languages: single-exponential bound

A profile pairs a prefix and a suffix with counting constraints on subwords, and an LTT language is a finite union of profile languages.

Converting a profile into an automaton can blow up exponentially. Pushing profiles through the general regular bounds gives a triple-exponential bound when LTTs are given as profiles, and a double-exponential bound when they are given as NFAs. The authors show that the structure of profiles allows a much tighter bound.

Distributivity then writes any finite intersection as an LTT made of profiles, each of size at most sℓ. Lemma 5.2 bounds the length of every word in a finite profile language by \(3r(r^2+1)^2\), and a pumping argument in the appendix drives that proof. Counting all words of that bounded length over an alphabet of size a gives the final bound.

The first profile requires odd symbols to occur at most once and even symbols at least once, and the second profile swaps these roles. Both languages are infinite, but their intersection consists of the permutations and has n! words. Since \(2^n \le n!\) for n at least 4, the pair is not \(2^n\)-generatable.

The two bounds are stated in different parameters, the family and profile size on one side and the alphabet size on the other, so they don't line up.

Non-erasing pattern languages

A non-erasing pattern language is generated by a pattern whose variables must be bound to nonempty words. These languages are incomparable with context-free, regular and LTT languages, and the authors illustrate this with XX and a*b*. Pattern languages are favorable for identification, which raises the question of whether that structure also yields cheap generation.

The construction starts from two patterns q and r of size 22 whose languages share exactly two words, a fact taken from Nowotka and Saarela. For each index i from 1 to n, the authors copy q and r with a shared fresh variable Xi. The first pattern is q1 through qn followed by r1 through rn, and the second pattern is YY, which forces every shared word to be a square ww.

Since both halves of the first pattern have equal length, a shared word must be ww with w in the intersection of the two concatenations. That equality splits into blockwise equalities, and each variable Xi has exactly two valid choices that don't depend on the others. The intersection therefore has \(2^n\) words, so by Proposition 2.3 the family isn't \(2^n\)-generatable.

The first pattern has size 44n and the second has size 2. Measured against that pattern size, the threshold \(2^n\) is exponential.

Limitations and open questions

The lower bounds assume that the examples are generated adversarially, so they don't speak directly to typical data presentation. They do identify a barrier of large finite intersections that a generator would face, including the architectures used today.

This leaves two hypotheses for why LLMs succeed: training data may avoid large intersections, or real families may avoid the complex structures used in the lower bounds. Which holds in practice is a question for empirical work, and this paper doesn't test it.

Beyond learning, the results connect generation to the complexity of language intersection, a quantity that has received little direct attention. The authors relate it to the nonemptiness question for intersections of finite collections of languages. They also leave open whether a double-exponential lower bound holds for the \(s^{\Omega(s)}\) DFA-recognizable families.

Paper info

Authors
Marcelo Arenas, Pablo Barcelo, Luis Cofré, Alexander Kozachinskiy
Venue
International Conference on Machine Learning · Published
First published
2026-9-29
Added
2026-11-27
Original paper terms
Check in the original ↗
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Marcelo Arenas, Pablo Barcelo, Luis Cofré, Alexander Kozachinskiy (2026). Language Generation in the Limit: Complexity Barriers and Implications for Learning. International Conference on Machine Learning. https://proceedings.mlr.press/v306/arenas26a.html

BibTeX
@article{arenas2026language,
  title = {{Language Generation in the Limit: Complexity Barriers and Implications for Learning}},
  author = {Marcelo Arenas and Pablo Barcelo and Luis Cofré and Alexander Kozachinskiy},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/arenas26a.html}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up