Structuring Natural Language Requirements with Large Language Models

被引:0
|
作者
Norheim, Johannes J. [1 ]
Rebentisch, Eric [2 ]
机构
[1] MIT, Dept Aeronaut & Astronaut, Cambridge, MA 02139 USA
[2] MIT, Sociotech Syst Res Ctr, 77 Massachusetts Ave, Cambridge, MA 02139 USA
关键词
Large Language Models; Natural Language Processing; Requirements Translation; Requirements Modeling;
D O I
10.1109/REW61692.2024.00013
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Structured requirements have long been proposed to improve the quality of requirements while facilitating downstream applications like modeling. Nevertheless, in practice, adopting structures such as templates and semi-formal logic imposes additional training and expertise constraints, limiting their wider adoption. In this paper, we investigate the application of natural language processing (NLP) to translate natural language requirements into structured representations. Existing methodologies have been reported for specific formalisms or requirement types. In this research preview, we go beyond the state-of-the-art by generalizing to generic templates and semiformal logic. Specifically, we investigate the application of a state-of-the-art pre-trained large language model (LLM), GPT-4. We show preliminary evidence that this new technology can translate natural language requirements to a target template or semi-formal language based on as little as one translation example, as long as the example captures the same structure as the translated requirement. We observe this behavior across three formalisms: a requirements template structure (EARS), a custom minimalistic requirements modeling language for system performance requirements, and a semi-formal structure for linear temporal logic (LTL). We propose a rigorous way to investigate how well these observations are generalized based on this preliminary evidence.
引用
收藏
页码:68 / 71
页数:4
相关论文
共 50 条
  • [21] A Requirements Engineering Methodology Combining Models and Controlled Natural Language
    Fockel, Markus
    Holtmann, Joerg
    2014 IEEE 4TH INTERNATIONAL MODEL-DRIVEN REQUIREMENTS ENGINEERING WORKSHOP (MODRE), 2014, : 67 - 76
  • [22] Automatic Generation of UTP Models from Requirements in Natural Language
    Masuda, Satoshi
    Matsuodani, Tohru
    Tsuda, Kazuhiko
    2016 IEEE NINTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2016, : 1 - 6
  • [23] Processing natural language requirements
    Ambriola, V
    Gervasi, V
    AUTOMATED SOFTWARE ENGINEERING, 12TH IEEE INTERNATIONAL CONFERENCE, PROCEEDINGS, 1997, : 36 - 45
  • [24] Generating Requirements Elicitation Interview Scripts with Large Language Models
    Gorer, Binnur
    Aydemir, Patina Barak
    2023 IEEE 31ST INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE WORKSHOPS, REW, 2023, : 44 - 51
  • [25] The Return of Formal Requirements Engineering in the Era of Large Language Models
    Spoletini, Paola
    Ferrari, Alessio
    REQUIREMENTS ENGINEERING: FOUNDATION FOR SOFTWARE QUALITY, REFSQ 2024, 2024, 14588 : 344 - 353
  • [26] Challenges in applying large language models to requirements engineering tasks
    Norheim, Johannes J.
    Rebentisch, Eric
    Xiao, Dekai
    Draeger, Lorenz
    Kerbrat, Alain
    de Weck, Olivier L.
    DESIGN SCIENCE, 2024, 10
  • [27] Requirements Engineering and Large Language Models: Insights From a Panel
    Borg, Markus
    IEEE SOFTWARE, 2024, 41 (02) : 6 - 10
  • [28] Engineering Safety Requirements for Autonomous Driving with Large Language Models
    Nouri, Ali
    Cabrero-Daniel, Beatriz
    Torner, Fredrik
    Sivencrona, Hakan
    Berger, Christian
    32ND IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, RE 2024, 2024, : 218 - 228
  • [29] Extracting Domain Models from Textual Requirements in the Era of Large Language Models
    Arulmohan, Sathurshan
    Meurs, Marie-Jean
    Mosser, Sebastien
    2023 ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION, MODELS-C, 2023, : 580 - 587
  • [30] ChatGeoAI: Enabling Geospatial Analysis for Public through Natural Language, with Large Language Models
    Mansourian, Ali
    Oucheikh, Rachid
    ISPRS INTERNATIONAL JOURNAL OF GEO-INFORMATION, 2024, 13 (10)