跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 形式语言与自动机理论

arXiv:2504.02170 (cs)
[提交于 2025年4月4日]

标题:Example-Free Learning of Regular Languages with Prefix Queries

作者:Eve Fernando, Sasha Rubin, Rahul Gopinath
查看论文《Example-Free Learning of Regular Languages with Prefix Queries》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Language learning refers to the problem of inferring a mathematical model which accurately represents a formal language. Many language learning algorithms learn by asking certain types of queries about the language being modeled. Language learning is of practical interest in the field of cybersecurity, where it is used to model the language accepted by a program's input parser (also known as its input processor). In this setting, a learner can only query a string of its choice by executing the parser on it, which limits the language learning algorithms that can be used. Most practical parsers can indicate not only whether the string is valid or not, but also where the parsing failed. This extra information can be leveraged into producing a type of query we call the prefix query. Notably, no existing language learning algorithms make use of prefix queries, though some ask membership queries i.e., they ask whether or not a given string is valid. When these approaches are used to learn the language of a parser, the prefix information provided by the parser remains unused. In this work, we present PL*, the first known language learning algorithm to make use of the prefix query, and a novel modification of the classical L* algorithm. We show both theoretically and empirically that PL* is able to learn more efficiently than L* due to its ability to exploit the additional information given by prefix queries over membership queries. Furthermore, we show how PL* can be used to learn the language of a parser, by adapting it to a more practical setting in which prefix queries are the only source of information available to it; that is, it does not have access to any labelled examples or any other types of queries. We demonstrate empirically that, even in this more constrained setting, PL* is still capable of accurately learning a range of languages of practical interest.
主题: 形式语言与自动机理论 (cs.FL); 机器学习 (cs.LG); 程序设计语言 (cs.PL); 软件工程 (cs.SE)
引用方式: arXiv:2504.02170 [cs.FL]
  (或者 arXiv:2504.02170v1 [cs.FL] 对于此版本)
  https://doi.org/10.48550/arXiv.2504.02170

提交历史

来自:Rahul Gopinath
[v1] 2025年4月4日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.FL
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-04
切换浏览方式为:
cs
cs.LG
cs.PL
cs.SE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站