Towards Explainable Formal Methods: From LTL to Natural Language with Neural Machine Translation

被引:5
|
作者
Cherukuri, Himaja [1 ]
Ferrari, Alessio [2 ]
Spoletini, Paola [1 ]
机构
[1] Kennesaw State Univ, Atlanta, GA USA
[2] CNR ISTI, Pisa, Italy
关键词
Requirements engineering; Formal methods; Machine translation; Neural networks; Temporal logic; LTL; Natural language processing; NLP;
D O I
10.1007/978-3-030-98464-9_7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
[Context and motivation] Requirements formalisation facilitates reasoning about inconsistencies, detection of ambiguities, and identification critical issues in system models. Temporal logic formulae are the natural choice when it comes to formalise requirements associated to desired system behaviours. [Question/problem] Understanding and mastering temporal logic requires a formal background. Means are therefore needed to make temporal logic formulae interpretable by engineers, domain experts and other stakeholders involved in the development process. [Principal ideas/results] In this paper, we propose to use a neural machine translation tool, named OPENNMT, to translate Linear Temporal Logic (LTL) formulae into corresponding natural language descriptions. Our results show that the translation system achieves an average BLEU (BiLingual Evaluation Understudy) score of 93.53%, which corresponds to highquality translations. [Contribution] Our neural model can be applied to assess if requirements have been correctly formalised. This can be useful to requirements analysts, who may have limited confidence with LTL, and to other stakeholders involved in the requirements verification process. Overall, our research preview contributes to bridging the gap between formal methods and requirements engineering, and opens to further research in explainable formal methods.
引用
收藏
页码:79 / 86
页数:8
相关论文
共 50 条
  • [1] Natural Language to Visualization by Neural Machine Translation
    Luo, Yuyu
    Tang, Nan
    Li, Guoliang
    Tang, Jiawei
    Chai, Chengliang
    Qin, Xuedi
    [J]. IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2022, 28 (01) : 217 - 226
  • [2] Using Neural Machine Translation Methods for Sign Language Translation
    Angelova, Galina
    Avramidis, Eleftherios
    Moeller, Sebastian
    [J]. PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022): STUDENT RESEARCH WORKSHOP, 2022, : 273 - 284
  • [3] OVERVIEW OF NATURAL LANGUAGE PROCESSING AND MACHINE TRANSLATION METHODS
    Suman, Sabrina
    [J]. ZBORNIK VELEUCILISTA U RIJECI-JOURNAL OF THE POLYTECHNICS OF RIJEKA, 2021, 9 (01): : 371 - 384
  • [4] Towards Explainable Evaluation Metrics for Machine Translation
    Leiter, Christoph
    Lertvittayakumjorn, Piyawat
    Fomicheva, Marina
    Zhao, Wei
    Gao, Yang
    Eger, Steffen
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2024, 25
  • [5] A dictionary for translation from natural to formal data model language
    Suman, Sabrina
    Jakupovic, Alen
    Marinac, Mladen
    [J]. COMPUTATIONAL INTELLIGENCE, 2021, 37 (01) : 87 - 127
  • [6] Neural machine translation from text to sign language
    De Martino, Jose Mario
    Silva, Ivani Rodrigues
    Marques, Janice Goncalves Temoteo
    Martins, Antonielle Cantarelli
    Poeta, Enzo Telles
    Christinele, Dener Stassun
    Campos, Joao Pedro Araujo Ferreira
    [J]. UNIVERSAL ACCESS IN THE INFORMATION SOCIETY, 2023,
  • [7] The Paradox of the Compositionality of Natural Language: A Neural Machine Translation Case Study
    Dankers, Verna
    Bruni, Elia
    Hupkes, Dieuwke
    [J]. PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), VOL 1: (LONG PAPERS), 2022, : 4154 - 4175
  • [8] Improved neural machine translation using Natural Language Processing (NLP)
    Ahammad, Sk Hasane
    Kalangi, Ruth Ramya
    Nagendram, S.
    Inthiyaz, Syed
    Priya, P. Poorna
    Faragallah, Osama S.
    Mohammad, Alsharef
    Eid, Mahmoud M. A.
    Rashed, Ahmed Nabih Zaki
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (13) : 39335 - 39348
  • [9] Rationalization: A Neural Machine Translation Approach to Generating Natural Language Explanations
    Ehsan, Upol
    Harrison, Brent
    Chan, Larry
    Riedl, Mark O.
    [J]. PROCEEDINGS OF THE 2018 AAAI/ACM CONFERENCE ON AI, ETHICS, AND SOCIETY (AIES'18), 2018, : 81 - 87
  • [10] Improved neural machine translation using Natural Language Processing (NLP)
    Sk Hasane Ahammad
    Ruth Ramya Kalangi
    S. Nagendram
    Syed Inthiyaz
    P. Poorna Priya
    Osama S. Faragallah
    Alsharef Mohammad
    Mahmoud M. A. Eid
    Ahmed Nabih Zaki Rashed
    [J]. Multimedia Tools and Applications, 2024, 83 : 39335 - 39348