Lune

ICLR2026顶会

Automata Learning and Identification of the Support of Language Models

Satwik Bhattamishra, Michael Hahn, Varun Kanade

出版方
2026年份

摘要

We study the learnability of languages in the Next Symbol Prediction (NSP) setting, where a learner receives only positive examples from a language together with, for every prefix, (i) whether the prefix itself is in the language and (ii) which next symbols can lead to an accepting string. This setting has been used in prior work to empirically analyze neural sequence models, and additionally, we observe that efficient algorithms for the NSP setting can be used to learn the (truncated) support of language models. We first show that the class of DFAs with at most nn states is identifiable from positive examples augmented with these NSP labels. Nevertheless, even with this richer supervision, we show that PAC-learning DFAs remains computationally hard, and exact identification using only membership queries cannot be achieved in polynomial time. We then present Lnsp⋆\mathrm{L_{nsp}^{\star}}, an extension of Angluin’s L⋆\mathrm{L}^{\star} algorithm, and show that DFAs can be PAC-learned efficiently using a language-model–based teacher that answers membership queries and generates valid strings conditioned on prefix prompts. Finally, we conduct a comprehensive experimental evaluation on 11 regular languages of varying complexity. Using Lnsp⋆\mathrm{L}^{\star}_{\text{nsp}}, we extract DFAs from Transformer-based language models trained on regular languages to evaluate the algorithm’s effectiveness and identify erroneous examples.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 0034fc53-4fe2-4f5d-bc5b-8c8a0e1f014c

它引用的顶会 Paper6

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖