mlsanityData to 14 Oct 2026

Density Measures for Language Generation

arXiv 2504.14370 ↗First posted 19 Apr 2025math.CO cs.CL cs.DMcited by 21

Not on the map. Why?

Abstract (arXiv)

The recent successes of large language models (LLMs) have led to a surge of theoretical research into language generation. A recent line of work proposes an abstract view, called language generation in the limit, where generation is seen as a game between an adversary and an algorithm: the adversary generates strings from an unknown language K, chosen from a countable collection of candidate languages, and after seeing a finite set of these strings, the algorithm must generate new strings from K that it has not seen before. This formalism highlights a key tension: the trade-off between validity (the algorithm should only produce strings from the language) and breadth (it should be able to produce many strings from the language). This trade-off is central in applied language generation as well, where it appears as a balance between hallucination (generating invalid utterances) and mode collapse (generating only a restricted set of outputs). Despite its importance, this trade-off has been challenging to study quantitatively. We develop ways to quantify this trade-off by formalizing breadth using measures of density. Existing algorithms for language generation in the limit produce output sets that can have zero density in the true language, and this important failure of breadth might seem unavoidable. We show, however, that such a failure is not necessary: we provide an algorithm for language generation in the limit whose outputs have strictly positive density in K. We also study the internal representations built by these algorithms, specifically the sequence of hypothesized candidate languages they consider, and show that achieving the strongest form of breadth may require oscillating indefinitely between high- and low-density representations. Our analysis introduces a novel topology on language families, with notions of convergence and limit points playing a key role.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 10 of its 24 references that are in the map. First posted on arXiv 19 Apr 2025.

Builds on

10 of 24 references.

References · 10

  1. 2017Towards Principled Methods for Training Generative Adversarial Networkscited by 464
  2. 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 332
  3. 2021Thinking Like Transformerscited by 184
  4. 2023Representational Strengths and Limitations of Transformerscited by 133
  5. 2023Calibrated Language Models Must Hallucinatecited by 115
  6. 2024On Limitations of the Transformer Architecturecited by 63
  7. 2024Language Generation in the Limitcited by 40
  8. 2024Generation through the lens of learning theorycited by 31
  9. 2024Exploring Facets of Language Generation in the Limitcited by 28
  10. 2024ALPINE: Unveiling the Planning Capability of Autoregressive Learning in Language Modelscited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 16.

21 papers.

Sort:

By area:

  1. 2025On Union-Closedness of Language Generationcited by 17
  2. 2025Language Generation in the Limit: Noise, Loss, and Feedbackcited by 16
  3. 2025Language Generation and Identification From Partial Enumeration: Tight Density Bounds and Topological Characterizationscited by 13
  4. 2025Pareto-optimal Non-uniform Language Generationcited by 10
  5. 2025Language Generation: Complexity Barriers and Implications for Learningcited by 9
  6. 2026Safe Language Generation in the Limitcited by 9
  7. 2026Language Generation with Replay: A Learning-Theoretic View of Model Collapsecited by 5
  8. 2026Mistake-Bounded Language Generationcited by 5
  9. 2026Characterizing the Effect of Noise in Language Generation in the Limitcited by 4
  10. 2026On Generation in Metric Spacescited by 4
  11. 2026Contrastive Identification and Generation in the Limitcited by 4
  12. 2026On the Price of Privacy for Language Identification and Generationcited by 3
9 more
  1. 2026A Theory of Time-Sensitive Language Generation: Sparse Hallucination Beats Mode Collapsecited by 3
  2. 2026On Language Generation in the Limit with Bounded Memorycited by 3
  3. 2026Flood and Harvest: The Provable Necessity of Trivia for Generating Valuable Mathematics via the Lens of Language Generation in the Limitcited by 2
  4. 2026Polynomial-Time Mistake-Bounded Language Generationcited by 2
  5. 2026Space-Efficient Language Generation in the Limitcited by 1
  6. 2026Characterizing Language Generation in the Limit: Finite Witnesses and a Separation-Width Hierarchycited by 1
  7. 2026Generating in the Limit with Infinitely Many Hallucinationscited by 0
  8. 2026Hallucination Rates in Language Generationcited by 0
  9. 2026GenLimitLib: A Formal Library for Language Generation in the Limit and AI-Assisted Mathematical Researchcited by 0