Safe Language Generation in the Limit
Antonios Anastasopoulos, Giuseppe Ateniese, Evgenios M. Kornaropoulos
TL;DR
The paper addresses the foundational problem of safe language generation in the limit, formalizing safe generation and safe identification under learning from positive and negative examples. It proves that safe language identification is impossible and that safe generation is at least as hard as standard language identification, which is also impossible, using adversarial constructions and reductions. The results reveal a fundamental tension: safety tasks can be strictly harder than their non-safety counterparts in the limit, suggesting that practical safety may require restricted, implementable notions. The work also identifies a tractable regime where infinite set differences between safe and harmful languages enable KM-style generation, while noting broad intractability in general, guiding future theory and real-world safety design.
Abstract
Recent results in learning a language in the limit have shown that, although language identification is impossible, language generation is tractable. As this foundational area expands, we need to consider the implications of language generation in real-world settings. This work offers the first theoretical treatment of safe language generation. Building on the computational paradigm of learning in the limit, we formalize the tasks of safe language identification and generation. We prove that under this model, safe language identification is impossible, and that safe language generation is at least as hard as (vanilla) language identification, which is also impossible. Last, we discuss several intractable and tractable cases.
