SpecNFS: A Challenge Dataset Towards Extracting Formal Models from Natural Language Specifications
SpecNFS: A Challenge Dataset Towards Extracting Formal Models from Natural Language Specifications
复制标题
DOI:
--
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Sayontan Ghosh;Amanpreet Singh;Alex Merenstein;S. Smolka;E. Zadok;Niranjan Balasubramanian
中科院分区:
文献类型:
--
作者:
Sayontan Ghosh;Amanpreet Singh;Alex Merenstein;S. Smolka;E. Zadok;Niranjan Balasubramanian
Can NLP assist in building formal models for verifying complex systems? We study this challenge in the context of parsing Network File System (NFS) specifications. We define a semantic-dependency problem over SpecIR, a representation language we introduce to model sentences appearing in NFS specification documents (RFCs) as IF-THEN statements, and present an annotated dataset of 1,198 sentences. We develop and evaluate semantic-dependency parsing systems for this problem. Evaluations show that even when using a state-of-the-art language model, there is significant room for improvement, with the best models achieving an F1 score of only 60.5 and 33.3 in the named-entity-recognition and dependency-link-prediction sub-tasks, respectively. We also release additional unlabeled data and other domain-related texts. Experiments show that these additional resources increase the F1 measure when used for simple domain-adaption and transfer-learning-based approaches, suggesting fruitful directions for further research