Machine Learning Pseudo-Natural Language for Temporal Logic Requirements of Embedded Systems
Authors:
- 18 October 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-4
Abstract
Requirements formalization is a critical part of any verification methodology for embedded systems like those in the automotive industry. There is a strong tension between techniques that enter requirements as logic- or code-like formal expressions and others that use natural language. The former are much safer but require user training and have low productivity. As a compromise we proposed a context-free grammar for entering real-time system requirements and translating them to temporal logic (TL) unambiously and reversibly. It has been demonstrated on hundreds of examples and became validated by a recent patent. But building or extending the grammar itself requires a precise understanding of the translation rules. To aleviate this new hurdle we have found that neural nets inspired by NLP can learn and then replace the pseudo-English-to-TL translation, and allow extending it without the explicit use of a grammar. The paper explains how we mixed real-life and synthetic datasets and overcame the initial limitations of the neural nets.Keywords
This publication has 7 references indexed in Scilit:
- Formal model-based conformance verification of an OSEK/VDX compliant RTOS2018
- Statistical model checking QoS properties of systems with SBIPInternational Journal on Software Tools for Technology Transfer, 2014
- Formal analysis of a space-craft controller using SPINIEEE Transactions on Software Engineering, 2001
- Patterns in property specifications for finite-state verification1999
- Model Checking Safety Critical Software with SPIN: an Application to a Railway Interlocking SystemLecture Notes in Computer Science, 1998
- Automatic translation of natural language system specifications into temporal logic1996
- Assisting requirement formalization by means of natural language translationFormal Methods in System Design, 1994