Characterizing infinite language generation with finite witnesses in layers

Characterizing Language Generation in the Limit: Finite Witnesses and a Separation-Width Hierarch

Formal Languages and Automata TheoryMachine Learning

Summary

This paper studies how to generate all valid members of an unknown infinite language when only positive examples are given over time. The authors show that this generation is possible if each target element has a small finite 'witness' that confirms it, and these witnesses overlap in predictable ways. They also organize different kinds of languages by how complex these witnesses must be, revealing a hierarchy of difficulties for language generation. They checked their results rigorously using formal proof software to ensure correctness.

What this means in practice

  • For language processing engineers: Clarify limits on automated generation of infinite language elements from positive data to improve learning algorithms' design.
  • For formal methods developers: Use the new hierarchy and normalization results to guide construction of provably correct language generators in automated verification tools.

A theory result. No direct application yet.

Authors

Xiaoyu Li, Andi Han, Jiaojiao Jiang, Junbin Gao

Abstract

Language generation in the limit asks for valid unseen elements from every exhaustive positive presentation of an unknown infinite language. We characterize this task for arbitrary families over a countable universe. Generation is possible exactly when each target can be assigned a finite positive witness so that the targets activated by any finite sample have an infinite common intersection. The necessary direction follows from a universal normalization: a search through unconfirmed histories converts any successful generator into one depending only on the observed set. We then ask how large compatible witnesses must be. Positive separation width records the smallest uniform size bound, with two further levels for unbounded finite witnesses and the absence of any compatible finite-witness assignment. Every level occurs. Countable families admit singleton witnesses, explicit families realize every finite width, and a union of two families with infinite common cores requires unbounded finite witnesses. Finally, countable-support and finite-profile obstructions explain why local combinatorial data cannot determine generation in the limit. The characterization and full width hierarchy are checked in Lean, including the simplified normalization and a direct diagonal capture lemma. The accompanying Lean development is maintained at https://github.com/xiaoyulics/language-generation-characterization