Easy over Hard: A Case Study on Deep Learning

Wei Fu, Tim Menzies
3/1/2017
215 citations
cs.SEcs.LG

Official code: WeiFoo/EasyOverHard (9 stars, Python, MIT, last commit 2018-01-15).

Abstract

While deep learning is an exciting new technique, the benefits of this method need to be assessed with respect to its computational cost. This is particularly important for deep learning since these learners need hours (to weeks) to train the model.

Show full abstract

Such long training time limits the ability of (a)~a researcher to test the stability of their conclusion via repeated runs with different random seeds; and (b)~other researchers to repeat, improve, or even refute that original work. For example, recently, deep learning was used to find which questions in the Stack Overflow programmer discussion forum can be linked together. That deep learning system took 14 hours to execute. We show here that applying a very simple optimizer called DE to fine tune SVM, it can achieve similar (and sometimes better) results. The DE approach terminated in 10 minutes; i.e. 84 times faster hours than deep learning method. We offer these results as a cautionary tale to the software analytics community and suggest that not every new innovation should be applied without critical analysis. If researchers deploy some new and expensive process, that work should be baselined against some simpler and faster alternatives.

View on arXivView PDF

Code Implementations(1)

MIT

a case study on deep learning where tuning simple SVM is much faster and better than CNN

93PythonMar 22, 20178 years agoMIT
deep-learningparameter-tuningsoftware-analysis

Similar Papers

Cite this paper

@article{fu2017easy,
  title  = {Easy over Hard: A Case Study on Deep Learning},
  author = {Wei Fu and Tim Menzies},
  year   = {2017},
  eprint = {1703.00133},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1703.00133}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1703.00133.svg)](https://codeofpaper.com/paper/1703.00133)

Discussion