arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.23665cs.PL
收藏

自动化解析算法(及其他动态程序)的分析

Automating the Analysis of Parsing Algorithms (and other Dynamic Programs)

Johns Hopkins University(约翰斯·霍普金斯大学);ETH Zürich(苏黎世联邦理工学院)

Tim Vieira, Ryan Cotterell, Jason Eisner

AI总结:

本文提出了一种自动化分析系统,用于高效推断自然语言处理算法中的类型、死代码、冗余代码及运行时间与空间复杂度界限。

摘要:

许多自然语言处理中的算法研究旨在高效地操作丰富的形式结构。一个算法设计师通常希望为他们提出的算法提供保证——例如,其运行时间或空间复杂度被某个输入大小的函数上界所限制。他们还可能希望确定算法推导出的量的必要属性,以合成高效的数据显示结构并验证类型错误。在本文中,我们开发了一个帮助程序员进行此类分析的系统。我们将我们的系统应用于多个自然语言处理算法,并发现它成功地推断了类型、死代码和冗余代码,以及参数化的运行时间和空间复杂度界限。

英文摘要:

Much algorithmic research in NLP aims to efficiently manipulate rich formal structures. An algorithm designer typically seeks to provide guarantees about their proposed algorithm -- for example, that its running time or space complexity is upper-bounded as a certain function of its input size. They may also wish to determine the necessary properties of the quantities derived by the algorithm to synthesize efficient data structures and verify type errors. In this paper, we develop a system for helping programmers to perform these types of analyses. We apply our system to a number of NLP algorithms and find that it successfully infers types, dead and redundant code, and parametric runtime and space complexity bounds.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑