Litcius/Paper detail

NoRBERT: Transfer Learning for Requirements Classification

Tobias Hey, Jan Keim, Anne Koziolek, Walter F. Tichy

2020150 citationsDOIOpen Access PDF

Abstract

Classifying requirements is crucial for automatically handling natural language requirements. The performance of existing automatic classification approaches diminishes when applied to unseen projects because requirements usually vary in wording and style. The main problem is poor generalization. We propose NoRBERT that fine-tunes BERT, a language model that has proven useful for transfer learning. We apply our approach to different tasks in the domain of requirements classification. We achieve similar or better results F <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> -scores of up to 94%) on both seen and unseen projects for classifying functional and non-functional requirements on the PROMISE NFR dataset. NoRBERT outperforms recent approaches at classifying non-functional requirements subclasses. The most frequent classes are classified with an average F <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> -score of 87%. In an unseen project setup on a relabeled PROMISE NFR dataset, our approach achieves an improvement of 15 percentage points in average F <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> score compared to recent approaches. Additionally, we propose to classify functional requirements according to the included concerns, i.e., function, data, and behavior. We labeled the functional requirements in the PROMISE NFR dataset and applied our approach. NoRBERT achieves an F <sub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sub> -score of up to 92%. Overall, NoRBERT improves requirements classification and can be applied to unseen projects with convincing results.

Topics & Concepts

GeneralizationComputer scienceArtificial intelligenceTransfer of learningFunction (biology)Machine learningDomain (mathematical analysis)Non-functional requirementProperty (philosophy)Natural languageNatural language processingInformation retrievalProgramming languageMathematicsSoftwareSoftware developmentPhilosophyBiologySoftware constructionEpistemologyMathematical analysisEvolutionary biologySoftware Engineering ResearchSoftware Engineering Techniques and PracticesSoftware Testing and Debugging Techniques
NoRBERT: Transfer Learning for Requirements Classification | Litcius