Requirements Classification with Interpretable Machine Learning and Dependency Parsing

Publication date

2019

Authors

Dalpiaz, FabianoISNI 0000000419575525
Dell’Anna, DavideORCID 0000-0002-1162-8341ISNI 0000000492852875
Aydemir, Fatma BaşakORCID 0000-0003-3833-3997ISNI 0000000493355918
Çevikol, Sercan

Editors

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

taverne

Abstract

Requirements classification is a traditional application of machine learning (ML) to RE that helps handle large requirements datasets. A prime example of an RE classification problem is the distinction between functional and non-functional (quality) requirements. State-of-the-art classifiers build their effectiveness on a large set of word features like text n-grams or POS n-grams, which do not fully capture the essence of a requirement. As a result, it is arduous for human analysts to interpret the classification results by exploring the classifier's inner workings. We propose the use of more general linguistic features, such as dependency types, for the construction of interpretable ML classifiers for RE. Through a feature engineering effort, in which we are assisted by modern introspection tools that reveal the hidden inner workings of ML classifiers, we derive a set of 17 linguistic features. While classifiers that use our proposed features fit the training set slightly worse than those that use high-dimensional feature sets, our approach performs generally better on validation datasets and it is more interpretable.

Keywords

Taverne

Citation

Dalpiaz, F, Dell'Anna, D, Aydemir, F B & Çevikol, S 2019, Requirements Classification with Interpretable Machine Learning and Dependency Parsing. in Proceedings of the 27th IEEE International Requirements Engineering Conference (RE'19). IEEE. https://doi.org/10.1109/RE.2019.00025