paper-with-me

홈 › Papers

nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Models

2023-03-08 · Matthias Cosler, Christopher Hahn, Daniel Mendoza, Frederik Schmitt, Caroline Trippel

A rigorous formalization of desired system requirements is indispensable when performing any verification task. This often limits the application of verification techniques, as writing formal specifications is an error-prone and time-consuming manual task. To facilitate this, we present nl2spec, a framework for applying Large Language Models (LLMs) to derive formal specifications (in temporal logics) from unstructured natural language. In particular, we introduce a new methodology to detect and resolve the inherent ambiguity of system requirements in natural language: we utilize LLMs to map subformulas of the formalization back to the corresponding natural language fragments of the input. Users iteratively add, delete, and edit these sub-translations to amend erroneous formalizations, which is easier than manually redrafting the entire formalization. The framework is agnostic to specific application domains and can be extended to similar specification languages and new neural models. We perform a user study to obtain a challenging dataset, which we use to run experiments on the quality of translations. We provide an open-source implementation, including a web-based frontend.

📄 PDF Abstract BibTeX arXiv:2303.04864

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Talking with the Theorem Prover to Interactively Solve Natural Language Inference

2021-11-01 · PACLIC 2021 11 · Atsushi Sumita, Yusuke Miyao, Koji Mineshima
Natural Language Inference

TDEER: An Efficient Translating Decoding Schema for Joint Extraction of Entities and Relations

2021-11-01 · EMNLP 2021 11 · Xianming Li, Xiaotian Luo, Chenghao Dong, Daichuan Yang 외

Joint extraction of entities and relations from unstructured texts to form factual triples is a fundamental task of constructing a Knowledge Base (KB). A common method is to decode triples by predicting entity pairs to o…

Joint Entity and Relation ExtractionRelationRelation Extraction

AmadeusGPT: a natural language interface for interactive animal behavioral analysis

2023-07-10 · NeurIPS 2023 11 · Shaokai Ye, Jessy Lauer, Mu Zhou, Alexander Mathis 외

The process of quantifying and analyzing animal behavior involves translating the naturally occurring descriptive language of their actions into machine-readable code. Yet, codifying behavior analysis is often challengin…

Descriptive

BanglaQuAD: A Bengali Open-domain Question Answering Dataset

2024-10-14 · Md Rashad Al Hasan Rony, Sudipto Kumar Shaha, Rakib Al Hasan, Sumon Kanti Dey 외

Bengali is the seventh most spoken language on earth, yet considered a low-resource language in the field of natural language processing (NLP). Question answering over unstructured text is a challenging NLP task as it re…

ArticlesOpen-Domain Question AnsweringQuestion AnsweringSentence

On the Challenges of Translating NLP Research into Commercial Products

2017-07-01 · ACL 2017 7 · Daniel Dahlmeier

This paper highlights challenges in industrial research related to translating research in natural language processing into commercial products. While the interest in natural language processing from industry is signific…