Automated Generating Natural Language Requirements based on Domain Ontology
Ziyan Zhao, Li Zhang, Xiaoyun Gao, Xiaoli Lian, Heyang Lv, Lin Shi

TL;DR
This paper introduces ReqGen, an automated approach that generates natural language software requirements from domain knowledge and keywords, improving efficiency and accuracy over existing methods.
Contribution
ReqGen is a novel method combining domain ontology, a copy mechanism, and syntax-constrained decoding to generate requirements with keyword inclusion and high semantic fidelity.
Findings
Outperforms six popular natural language generation methods
Achieves higher BLEU and ROUGE scores
Ensures keyword inclusion and syntax compliance
Abstract
Software requirements specification is undoubtedly critical for the whole software life-cycle. Nowadays, writing software requirements specifications primarily depends on human work. Although massive studies have been proposed to fasten the process via proposing advanced elicitation and analysis techniques, it is still a time-consuming and error-prone task that needs to take domain knowledge and business information into consideration. In this paper, we propose an approach, named ReqGen, which can provide recommendations by automatically generating natural language requirements specifications based on certain given keywords. Specifically, ReqGen consists of three critical steps. First, keywords-oriented knowledge is selected from domain ontology and is injected to the basic Unified pre-trained Language Model (UniLM) for domain fine-tuning. Second, a copy mechanism is integrated to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Reliability and Analysis Research · Software Engineering Techniques and Practices
