Automated Generation of LTL Specifications for Smart Home IoT Using Natural Language

Shiyu Zhang,Juan Zhai,Lei Bu,Mingsong Chen,Linzhang Wang,Xuandong Li
DOI: https://doi.org/10.23919/date48585.2020.9116374
2020-01-01
Abstract:Ordinary users can build their smart home automation system easily nowadays, but such user-customized systems could be error-prone. Using formal verification to prove the correctness of such systems is necessary. However, to conduct formal proof, formal specifications such as Linear Temporal Logic (LTL) formulas have to be provided, but ordinary users cannot author LTL formulas but only natural language. To address this problem, this paper presents a novel approach that can automatically generate formal LTL specifications from natural language requirements based on domain knowledge and our proposed ambiguity refining techniques. Experimental results show that our approach can achieve a high correctness rate of 95.4% in converting natural language sentences into LTL formulas from 481 requirements of real examples.
What problem does this paper attempt to address?