Agnostic Language Identification and Generation

Høgsgaard, Mikael Møller, Pabbaraju, Chirag

–arXiv.org Artificial Intelligence 

Learning a language from a finite amount of data, and in particular from finitely many positive examples from the language, is a fundamental problem, both for humans as well as computers. Two natural language learning problems are those of language identification and language generation. In language identification, the objective is to output an exact representation of the language that is presumed to be generating the examples being seen, whereas the objective in language generation is to simply be able to generate new valid examples from the unknown language, despite potentially not learning an exact representation of it. In this regard, the latter task is an easier task than the former. An extremely bare-bones framing of this problem, devoid of any structural assumptions on language, is as follows. A language may simply be thought of as an abstract set L of valid sentences or strings. If the alphabet that defines these sentences is finite (e.g., the finite English alphabet {a,b,...,z}), and sentences themselves are finite, then a language may further be thought of as a countable subset of a countable universe U of all possible strings. Stated thus, the language identification task may be framed as follows: Given a finite dataset S L of positive examples from L, output (possibly the representation of) a set L such that L = L. On the other hand, the language generation task becomes the following: Given a finite dataset S L of positive examples from L, output a new unseen example z from L. In order to make these problems tractable, one typically assumes realizability: namely, that the unknown language L is one from a known collection C = {L1, L2, . . .