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

Shiyu Zhang, Juan Zhai, Lei Bu, Mingsong Chen, Linzhang Wang, Xuandong Li

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.
BibTeX
@inproceedings{zhang2020automated,
  author = {Shiyu Zhang and Juan Zhai and Lei Bu and Mingsong Chen and Linzhang Wang and Xuandong Li},
  title = {{Automated Generation of LTL Specifications For Smart Home IoT Using Natural Language}},
  booktitle = {DATE},
  year = {2020},
  doi = {10.23919/date48585.2020.9116374},
}

Loading related content...

Figure