Saved in:
Bibliographic Details
Main Authors: Vieira, Tim, Cotterell, Ryan, Eisner, Jason
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.23665
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • 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.