Supplementary Material of "NoRBERT: Transfer Learning for Requirements Classification"
Creators: name: Hey, Tobias
name: Keim, Jan
name: Koziolek, Anne
name: Tichy, Walter F.
Publisher: name: Zenodo
Year: 2020
Subjects: Requirements Classification
Requirements Engineering
Machine Learning
BERT
Functional Requirements Concerns

description: <strong>Please Note:</strong> We found a bug in the notebooks that caused the indexing of the project-specific folds to be wrong. Thus, the results for the p-fold and loPo settings reported in the original paper are not correct as they were not strictly project-specific. We published a corrected Version of the paper at https://doi.org/10.5445/IR/1000150464.<br> The fixed notebooks can be found on GitHub https://github.com/tobhey/NoRBERT. <br> The overall claim that NoRBERT performs better on unseen projects than existing approaches still holds true but the results on this type of folds are slighty worse (about 5 percentage points in F1-score on average) than reported. This is the supplementary material of the paper "NoRBERT: Transfer Learning for Requirements Classification" at RE20. In this paper we explore the performance of transfer learning (with Google's language model BERT) on different tasks in requirements classification. Especially the performance on projects, completely unseen during training, is in the focus of the paper.<br> Additionally, we developed a new dataset based on the Promise NFR dataset, that includes a more fine-grained labeling of functional requirement based on their concerns (Function, Data, Behavior). This repository contains the datasets and code used in the paper, as well as additional results: Dataset contains the labeled dataset for the classification of functional requirements concerns (based on Promise NFR dataset) as well as information about our labeling (results of each annotator and Krippendorf's Alpha, KALPHA) Code contains the python notebooks (code) and datasets used for Task 1: Binary F/NFR classification (on Promise NFR dataset) Task 2: Classification of most frequent NFR subclasses (on Promise NFR dataset) Task 3: Classification of all NFR subclasses (on Promise NFR dataset) Task 4: Functional and Quality aspects classification (on relabeled Promise NFR dataset) Task 5: Classification of functional requirement concerns (on functional concerns dataset) Notebooks to apply pretrained models for each task to an input requirement and pretrained models for each task Results contains the results of all tested hyperparameter configurations for each task Note that we calculated the overall results of the cross validations by collecting the predictions of all folds and calculating the metrics over all predictions instead of averaging the results per metric over the folds. However, our notebooks provide both results. Note that we are not able to provide the actual models that were used to produce the results of the paper.<br> We used cross validation experiments that would result in a huge amount of model files per experiment run on each task.<br> As the model files are quite large this is not feasible.<br> The results may still be reproduced with the supplied notebooks. <strong>Attribution (of datasets used):</strong> The Promise Dataset can be attributed to Jane Cleland-Huang and was provided for the RE'17 Data Challenge.<br> Jane Cleland-Huang, Sepideh Mazrouee, Huang Liguo, &amp; Dan Port. (2007). nfr [Data set]. Zenodo. Available: http://doi.org/10.5281/zenodo.268542<br> RE'17 Data Challenge: http://ctp.di.fct.unl.pt/RE2017/pages/submission/data_papers/<br> See also: Sayyad Shirabad, J. and Menzies, T.J. (2005) The PROMISE Repository of Software Engineering Databases. School of Information Technology and Engineering, University of Ottawa, Canada. Available: http://promise.site.uottawa.ca/SERepository The relabeled dataset can be attributed to Dalpiaz et al: F. Dalpiaz, D. Dell’Anna, F. B. Aydemir, and S. Çevikol, “explainable-re/re-2019-materials,” Jul.2019. https://doi.org/10.5281/zenodo.3309669