Old but Gold: Reconsidering the value of feedforward learners for software analytics
Preprint
Abstract
There has been an increased interest in the use of deep learning approaches for software analytics tasks. State-of-the-art techniques leverage modern deep learning techniques such as LSTMs, yielding competitive performance, albeit at the price of longer training times. Recently, Galke and Scherp [18] showed that at least for image recognition, a decades-old feedforward neural network can match the performance of modern deep learning techniques. This motivated us to try the same in the SE literature. Specifically, in this paper, we apply feedforward networks with some preprocessing to two analytics tasks: issue close time prediction, and vulnerability detection. We test the hypothesis laid by Galke and Scherp [18], that feedforward networks suffice for many analytics tasks (which we call, the "Old but Gold" hypothesis) for these two tasks. For three out of five datasets from these tasks, we achieve new high-water mark results (that out-perform the prior state-of-the-art results) and for a fourth data set, Old but Gold performed as well as the recent state of the art. Furthermore, the old but gold results were obtained orders of magnitude faster than prior work. For example, for issue close time, old but gold found good predictors in 90 seconds (as opposed to the newer methods, which took 6 hours to run). Our results supports the "Old but Gold" hypothesis and leads to the following recommendation: try simpler alternatives before more complex methods. At the very least, this will produce a baseline result against which researchers can compare some other, supposedly more sophisticated, approach. And in the best case, they will obtain useful results that are as good as anything else, in a small fraction of the effort. To support open science, all our scripts and data are available on-line at https://github.com/fastidiouschipmunk/simple.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- Continual Prediction of Bug-Fix Time Using Deep Learning-Based Activity Stream EmbeddingIEEE Access, 2020
- Automated Vulnerability Detection in Source Code Using Deep Representation Learning2018
- Predicting bug-fixing time: A replication study using an open source software projectJournal of Systems and Software, 2018
- SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image SegmentationIEEE Transactions on Pattern Analysis and Machine Intelligence, 2017
- Tuning for software analytics: Is it really necessary?Information and Software Technology, 2016
- Evaluating prediction systems in software project estimationInformation and Software Technology, 2012
- Ranking and Clustering Software Cost Estimation Models through a Multiple Comparisons AlgorithmIEEE Transactions on Software Engineering, 2012
- Very Simple Classification Rules Perform Well on Most Commonly Used DatasetsMachine Learning, 1993
- A logical calculus of the ideas immanent in nervous activityBulletin of Mathematical Biology, 1943
- LIII. On lines and planes of closest fit to systems of points in spaceJournal of Computers in Education, 1901