Is Hyper-Parameter Optimization Different for Software Analytics?
- 11 March 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 51 (6) , 1629-1644
Abstract
Yes. SE data can have “smoother” boundaries between classes (compared to traditional AI data sets). To be more precise, the magnitude of the second derivative of the loss function found in SE data is typically much smaller. A new hyper-parameter optimizer, called SMOOTHIE, can exploit this idiosyncrasy of SE data. We compare SMOOTHIE and a state-of-the-art AI hyper-parameter optimizer on three tasks: (a) GitHub issue lifetime prediction (b) detecting static code warnings false alarm; (c) defect prediction. For completeness, we also show experiments on some standard AI datasets. SMOOTHIE runs faster and predicts better on the SE data–but ties on non-SE data with the AI tool. Hence we conclude that SE data can be different to other kinds of data; and those differences mean that we should use different kinds of algorithms for our data. To support open science and other researchers working in this area, all our scripts and datasets are available on-line at https://github.com/yrahul3910/smoothness-hpo/.Keywords
All Related Versions
Funding Information
- NSF (1908762)
This publication has 46 references indexed in Scilit:
- An empirical study of text-based machine learning models for vulnerability detectionEmpirical Software Engineering, 2023
- Hyperparameter optimization: Foundations, algorithms, best practices, and open challengesWIREs Data Mining and Knowledge Discovery, 2023
- Learning to recognize actionable static code warnings (is intrinsically easy)Empirical Software Engineering, 2021
- On hyperparameter optimization of machine learning algorithms: Theory and practiceNeurocomputing, 2020
- Hyperparameter Optimization2019
- Tuning for software analytics: Is it really necessary?Information and Software Technology, 2016
- Design Patterns: Abstraction and Reuse of Object-Oriented Design1993
- Possible generalization of Boltzmann-Gibbs statisticsJournal of Statistical Physics, 1988
- Asymptotically efficient adaptive allocation rulesAdvances in Applied Mathematics, 1985
- On bayesian methods for seeking the extremum1975