arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1609.02613cs.SEcs.LGstat.ML
收藏

为什么差分进化比网格搜索更适合调整缺陷预测器?

Why is Differential Evolution Better than Grid Search for Tuning Defect Predictors?

North Carolina State University(北卡罗来纳州立大学)

Wei Fu, Vivek Nair, Tim Menzies

摘要:

上下文:数据采掘的一个魔法是学习控制学习器的神奇参数。在软件分析中,至少对于缺陷预测,已经提出了几种方法,如网格搜索和差分进化(DE)来学习这些参数,这已被证明能够提高学习器的性能得分。目的:我们想评估哪种方法可以在性能得分和运行时成本方面找到更好的参数。研究方法:本文比较了网格搜索和差分进化,差分进化是一种进化算法,它广泛利用了搜索空间的随机跳跃。结果:我们发现网格搜索的看似完整的方法并不比随机搜索更好,有时甚至更差。当重复20次以检查结论的有效性时,DE比网格搜索快210倍以上,以调整17个测试数据集上的随机森林与F-测度结论:这些结果令人困惑:为什么快速的部分搜索与更慢,更广泛的搜索一样有效?为了回答这个问题,我们转向理论优化文献。Bergstra和Bengio推测,如果底层的搜索空间本质上是低维的,那么网格搜索并不比随机搜索更有效。这是重要的,因为最近的结果表明,缺陷预测表现出非常低的内在维度-一个观察,解释了为什么像DE这样的快速方法可以工作,以及一个看似更彻底的网格搜索。这表明,作为未来的研究方向,在进行任何优化之前,有可能先查看数据集,以便将优化算法与手头的问题相匹配。

英文摘要:

Context: One of the black arts of data mining is learning the magic parameters which control the learners. In software analytics, at least for defect prediction, several methods, like grid search and differential evolution (DE), have been proposed to learn these parameters, which has been proved to be able to improve the performance scores of learners. Objective: We want to evaluate which method can find better parameters in terms of performance score and runtime cost. Methods: This paper compares grid search to differential evolution, which is an evolutionary algorithm that makes extensive use of stochastic jumps around the search space. Results: We find that the seemingly complete approach of grid search does no better, and sometimes worse, than the stochastic search. When repeated 20 times to check for conclusion validity, DE was over 210 times faster than grid search to tune Random Forests on 17 testing data sets with F-Measure Conclusions: These results are puzzling: why does a quick partial search be just as effective as a much slower, and much more, extensive search? To answer that question, we turned to the theoretical optimization literature. Bergstra and Bengio conjecture that grid search is not more effective than more randomized searchers if the underlying search space is inherently low dimensional. This is significant since recent results show that defect prediction exhibits very low intrinsic dimensionality-- an observation that explains why a fast method like DE may work as well as a seemingly more thorough grid search. This suggests, as a future research direction, that it might be possible to peek at data sets before doing any optimization in order to match the optimization algorithm to the problem at hand.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑