Lessons from the Use of Natural Language Inference (NLI) in Requirements Engineering Tasks
Mohamad Fazelnia, Viktoria Koscinski, Spencer Herzog, Mehdi Mirakhorli

TL;DR
This paper evaluates the effectiveness of Natural Language Inference (NLI) in automating requirements engineering tasks, demonstrating its superiority over traditional NLP and LLM-based approaches across various learning settings.
Contribution
The study provides a comprehensive experimental comparison showing NLI's advantages in requirements analysis and offers lessons on optimal learning settings for its application.
Findings
NLI outperforms classical NLP methods in requirements tasks.
NLI surpasses LLM-based and chatbot models in accuracy.
Certain learning settings enhance NLI's effectiveness.
Abstract
We investigate the use of Natural Language Inference (NLI) in automating requirements engineering tasks. In particular, we focus on three tasks: requirements classification, identification of requirements specification defects, and detection of conflicts in stakeholders' requirements. While previous research has demonstrated significant benefit in using NLI as a universal method for a broad spectrum of natural language processing tasks, these advantages have not been investigated within the context of software requirements engineering. Therefore, we design experiments to evaluate the use of NLI in requirements analysis. We compare the performance of NLI with a spectrum of approaches, including prompt-based models, conventional transfer learning, Large Language Models (LLMs)-powered chatbot models, and probabilistic models. Through experiments conducted under various learning settings…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Techniques and Practices · Business Process Modeling and Analysis · Software Engineering Research
MethodsFocus
