There is a newer version of the record available.

Published August 22, 2022 | Version v1

ReqGen: Keywords-driven Software Requirements Generation

Authors/Creators

  • 1. Beihang University of China

Description

Software requirements specification is undoubtedly critical for the whole software life-cycle.  Temporarily, writing software requirement specification primarily depends on human work, although massive great work have been proposed to help eliciting and analyzing the related information. The writing task is human-effort due to the factors like time-consuming domain learning, repeated expressions usage and the compliance with certain syntax. An approach of ReqGen is proposed in this work to automatically generate the requirement specification based on certain given keywords. Particularly, keywords-oriented knowledge is selected from domain ontology and is injected to the basic Unified pre-trained Language Model (UniLM) model for domain fine-tuning. A copy mechanism is integrated to promise the occurrence of keywords in the generated statements. Finally, a requirement syntax constrained decoding is designed to close the semantic distance between the candidate and reference specification. Experiments with two public datasets show that ReqGen outperforms six popular natural language generation approaches on the hard constraint of keywords(phrases), BLEU, ROUGE and syntax compliance.

Files

bas_dataset.zip

Files (110.2 MB)

Name Size Download all
md5:d6057039f2ea71ea3404508afd6e2660
918.5 kB Download
md5:016ba7cbe3eb8c6a3a2ccbf5f2c017e0
1.4 MB Preview Download
md5:9eb7bca4ee0846e163266cef161db5c7
107.7 MB Preview Download
md5:bab42d9cf76d874b776f2e3005a6e28a
128.1 kB Preview Download