potentialpaper

Agnostic Language Identification and Generation

Mikael Møller Høgsgaard, Chirag Pabbaraju

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We study language identification and generation in the agnostic setting, where data is drawn from an arbitrary distribution not necessarily supported on any reference language.

Abstract. Recent works on language identification and generation have established tight statistical rates at which these tasks can be achieved. These works typically operate under a strong realizability assumption: that the input data is drawn from an unknown distribution necessarily supported on some language in a given collection. In this work, we relax this assumption of realizability entirely, and impose no restrictions on the distribution of the input data. We propose objectives to study both language identification and generation in this more general "agnostic" setup. Across both problems, we obtain novel interesting characterizations and nearly tight rates.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:50 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper studies language identification and generation in an agnostic distributional setting, removing the classical assumption that the true distribution is supported exactly by some language in the candidate class. For identification, the target is to find a language whose error is close to the best achievable error in the class. The paper characterizes when fast rates are possible: for countable classes, exponential excess-error decay is possible when the infimum error is attained, while if the infimum is not attained the rate can be arbitrarily slow. For generation, the authors establish lower bounds for fully agnostic generation and positive exponential-rate results under support-containment conditions.

Main Strengths

  • The paper is clearly motivated and fits a recent theory line.

  • The rate characterization is interesting.

  • The separation between agnostic identification and generation is conceptually useful.

Main Weaknesses

  • It is unclear how efficient the proposed algorithms are computationally.

  • the generation result still requires a local-realizability condition, so the "agnostic" framing should be careful.

I suggest that the authors should address the above weaknesses during the rebuttal.

Final justification

After the author–reviewer discussion, all reviewers support the paper. I also find the authors’ responses satisfactory and recommend acceptance.

Area Chair U5NV · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper studies language identification and generation in an agnostic distributional setting, removing the classical assumption that the true distribution is supported exactly by some language in the candidate class. For identification, the target is to find a language whose error is close to the best achievable error in the class. The paper characterizes when fast rates are possible: for countable classes, exponential excess-error decay is possible when the infimum error is attained, while if the infimum is not attained the rate can be arbitrarily slow. For generation, the authors establish lower bounds for fully agnostic generation and positive exponential-rate results under support-containment conditions.

Main Strengths

  • The paper is clearly motivated and fits a recent theory line.

  • The rate characterization is interesting.

  • The separation between agnostic identification and generation is conceptually useful.

Main Weaknesses

  • It is unclear how efficient the proposed algorithms are computationally.

  • the generation result still requires a local-realizability condition, so the "agnostic" framing should be careful.

I suggest that the authors should address the above weaknesses during the rebuttal.

Final justification

After the author–reviewer discussion, all reviewers support the paper. I also find the authors’ responses satisfactory and recommend acceptance.

Reviewer MeFHOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the problem of language identification and generation. It extends the existing statistical framework to a more general agnostic setup.

Strengths and weaknesses

Honestly, I am not an expert in the area of language identification and generation, so my evaluation may have some omissions.

Strengths:

  • The paper extends an emerging and important theoretical direction. The theoretical analysis in the paper appears rigorous to me.
  • The definitions of the objectives in the agnostic setting (weak identification、minimal identification、agnostic generation) seem useful and reasonable.

Weaknesses:

  • The contribution of the paper seems relatively incremental, and it does not introduce new mathematical tools.
  • Although the paper uses "agnostic" in its title, the generation part in fact requires a form of local realizability assumption, which makes the title and abstract somewhat overclaiming.
Questions

The pseudocode in the paper does not seem to be genuine pseudocode. For example, Algorithm 3 contains nested infinite loops, which means that the code is not literally executable. I would like to ask what this notation is intended to mean and whether it is standard. Alternatively, could the authors add some clarification to make the presentation more rigorous?

Limitations

N/A

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for serving as a reviewer of our paper. We address the questions in turn.

"The generation result still requires a local-realizability condition, so the ‘agnostic’ framing should be careful."

We acknowledge that our generation result requires a local-realizability condition. Nevertheless, our lower bound shows that some restriction is unavoidable if an algorithm is to achieve the proposed generation benchmark. Furthermore, since submission, we have obtained a complementary result showing that i(C,D)<∞i(\mathcal C,\mathcal D)<\infty is necessary in general. In particular, for some universe and language collection, every deterministic algorithm fails on a distribution with i(C,D)=∞i(\mathcal C,\mathcal D)=\infty, achieving an error of at least 1/21/2 for infinitely many sample sizes. We hope the reviewer will view this as reasonable evidence supporting our local-realizability condition in the agnostic setting.

"The pseudocode in the paper does not seem to be genuine pseudocode. For example, Algorithm 3 contains nested infinite loops, which means that the code is not literally executable. I would like to ask what this notation is intended to mean and whether it is standard. Alternatively, could the authors add some clarification to make the presentation more rigorous?"

Thank you for raising this point. Although similar enumeration-based notation appears in related work (e.g., [1, p. 11] and [2, pp. 44, 50, 62]), we agree that the current presentation does not make the finite nature of Algorithm 3 sufficiently transparent. In particular, ``write Li={uki,1,uki,2,…}L_i=\{u_{k_{i,1}},u_{k_{i,2}},\ldots\}'' is only a declaration of the ordering of the elements of LiL_i, induced by the fixed enumeration of the universe; it is not an instruction to enumerate the entire language. Furthermore, if we let Sˉ={x1,…,xn}\bar S=\{x_1,\ldots,x_n\} denote the set of observed strings, the while-loop simply computes

ri=min⁡r∈{1,…,n+1}:uki,r∉Sˉ.r_i = \min \\{ r\in\{1,\ldots,n+1\}: u_{k_{i,r}}\notin\bar S \\}.

This minimum is always well defined: the first n+1n+1 elements of LiL_i are distinct, whereas Sˉ\bar S contains at most nn distinct elements. Hence, the inner loop performs at most nn increments. The algorithm then selects a language maximizing rir_i and outputs its first enumerated element that does not occur in the sample. We will replace the current while-loop with this explicitly bounded definition and clarify that the algorithm accesses only the first nn languages and at most the first n+1n+1 elements of each. This will remove the appearance of nested infinite loops and make the finite execution of the procedure immediate. We will also revise Algorithms 1 and 2 to clarify that they likewise perform only finitely many operations.

[1] Exploring Facets of Language Generation in the Limit Moses Charikar, Chirag Pabbaraju

[2] On the Limits of Language Generation: Trade-Offs Between Hallucination and Mode Collapse Alkis Kalavasis Anay Mehrotra Grigoris Velegkas

Reviewer MeFH · CommentOpenReview ↗

I'm satisfied with the author's response and would like to maintain my rating of the paper as accept.

Reviewer nZq5OpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Classic learning theory and a recent line of work have studied language identification and generation. In the realizable version of both problems, the algorithm is given positive examples from an unknown language (picked from a class of languages) and must either identify the language exactly or generate an unseen example from the language.

In this paper, the authors consider a distributional setting where the support of the distribution DD may not correspond to a language in the given class. The goal is to identify a language whose error is not much more than the error of the best language in the class where error of a language is defined by the probability DD generates an example outside of the language. The authors are interested in the rate of decay of this excess error.

The authors show a surprising characterization. For countable language classes, exponential rates are possible if the infimum error in the class is achieved by a language in the class. On the other hand, if this is not the case, then the excess error can shrink arbitrarily slowly.

The authors also study a similar setting for the generation problem, and show that exponential rates are possible if the support of DD contains a language in the class.

Strengths and weaknesses
  • The paper studies a natural extension of language identification and generation to an agnostic, distributional setting.
  • The main results of the paper provide an interesting characterization of identification in this setting.
  • The paper is well-written.
  • The paper fits well into a recent line of literature on language generation/identification.
Questions

It is interesting that generation is in some sense harder than identification in the agnostic setting, which is clearly not the case in the realizable setting. While the definition of identification given in this paper is natural, the fact that it has no implications for generation makes me question exactly what utility there is in identifying in this way. What does it mean to have identified well if we cannot generate any new examples which correspond to the true distribution?

Limitations

yes

Final justification

I maintain my position that this paper makes an interesting theoretical contribution to the recent line of work on language gen in the limit.

Formatting concerns

n/a

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for serving as a reviewer of our paper. We address the question.

"It is interesting that generation is in some sense harder than identification in the agnostic setting, which is clearly not the case in the realizable setting. While the definition of identification given in this paper is natural, the fact that it has no implications for generation makes me question exactly what utility there is in identifying in this way. What does it mean to have identified well if we cannot generate any new examples which correspond to the true distribution?"

We agree that it is indeed very interesting that identification does not imply generation in the agnostic case; we, however, still find agnostic identification interesting in its own right, even though it is not a means toward agnostic generation. As a motivating example, consider a setting where one is trying to gauge the sentiment prevalent within a community of people from their social media posts. While it is natural for different people within the community to feel differently, we can imagine trying to infer the dominant sentiment. To model this task, we can think of each sentiment as a language consisting of posts for this sentiment, and the language collection consisting of these languages C=Langry,Lhappy,Lconfused,Lhopeful,…\mathcal{C}={L_{\mathrm{angry}}, L_{\mathrm{happy}}, L_{\mathrm{confused}}, L_{\mathrm{hopeful}}, \ldots}. In this case, given a sample of posts from the community, our identification benchmark can be seen as a way to infer the sentiment that best represents the population. We think this illustrates a setting in which identification is useful in its own right (without any downstream intent to generate) and also aligns with practical capabilities of language models, such as assessing sentiment. To summarize, identification in the agnostic setting could very well amount to just finding the language in the reference collection that best captures the true population support, rather than recovering its exact support.

Reviewer nZq5 · CommentOpenReview ↗

Thanks for your response. I maintain my positive score.

Reviewer 1X3EOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This is a theoretical work on Agnostic Language Identification and Generation. The work removes the assumption that the true distribution is supported by some language in a collection. Doing this makes the work immediately more practically relevant.

Strengths and weaknesses

Strength:

  • Well motivated throughout by theory
  • Algorithm 1 in picking the language that beats others before it, is clever in limiting the work to finite languages
  • Algorithm 3 also uses a similar idea

Weakness:

  • While the theoretical aspect of the paper is appreciated, the paper really needs some experimental results
  • Algorithms are theoretically clever, but I would like to concretely know about computational cost of running these for practical purposes.
Questions

Please address the weaknesses.

Limitations

The main limitation is that the paper needs some experimental results and computation cost results to elevate it to a useful work.

Final justification

Thanking the authors for their feedback. The authors have explained the positioning of their paper. I still think a practical implementation would have strengthened the whole work. Increasing my score.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for serving as a reviewer of our paper. We address the questions in turns.

"While the theoretical aspect of the paper is appreciated, the paper really needs some experimental results"

Our contribution is deliberately foundational and representation-independent: we ask under what structural conditions agnostic language identification and generation are statistically possible in the limit, rather than evaluating a particular model, representation, or data distribution. This follows the line of work initiated by Kleinberg and Mullainathan [1], which likewise focuses on mathematical characterization rather than experiments. Our work extends this perspective beyond the standard realizable setting to an agnostic statistical setting for identification and generation. We believe that establishing these representation-independent principles is an important first step toward mathematically understanding what is theoretically possible in the empirical success of modern language models.

"Algorithms are theoretically clever, but I would like to concretely know about computational cost of running these for practical purposes."

Regarding computational cost, each algorithm considers only finitely many candidate languages at any fixed sample size. Weak identification compares empirical errors among the first f(n)f(n) languages using a margin rule; minimal identification additionally imposes a sampled tell-tale-set condition; and generation examines the first nn languages and outputs the next unseen element from the language whose initial enumerated prefix is most fully represented in the sample. The precise running times therefore depend on the costs of membership evaluation, language enumeration, and tell-tale construction. Establishing the feasibility of efficient implementations for concrete language representations is an important direction for future work, but not within the scope/focus of this work. We view this as a natural research progression: Kleinberg and Mullainathan [1] first established the foundational framework for language generation in the limit in the realizable setting, after which subsequent work investigated computability and memory efficiency in that setting [2--4]. We view our paper as taking the corresponding foundational step toward the agnostic setting.

[1]: Language Generation in the Limit Jon Kleinberg, Sendhil Mullainathan

[2]: Language Generation: Complexity Barriers and Implications for Learning Marcelo Arenas, Pablo Barceló, Luis Cofré, Alexander Kozachinskiy

[3]: Space-Efficient Language Generation in the Limit Nicolas Flammarion, Chirag Pabbaraju, Hristo Papazov, Miltiadis Stouras, Ola Svensson

[4]: On Language Generation in the Limit with Bounded Memory Jon Kleinberg, Anay Mehrotra, Amin Saberi, Grigoris Velegkas

Reviewer 1X3E · CommentOpenReview ↗

Thank you. I have increased the score.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…