Is Hyper-Parameter Optimization Different for Software Analytics?
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 <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SMOOTHIE</monospace>, can exploit this idiosyncrasy of SE data. We compare <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SMOOTHIE</monospace> 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. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SMOOTHIE</monospace> 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 <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/yrahul3910/smoothness-hpo/</uri>.
Authors
- Rahul Yedida (ORCID: https://orcid.org/0000-0003-2069-5949)
- Tim Menzies (ORCID: https://orcid.org/0000-0002-5040-3196)
Institutions
- North Carolina State University (US)
Publication Details
- Journal
- IEEE Transactions on Software Engineering
- Published
- 2025-03-11
- DOI
- https://doi.org/10.1109/tse.2025.3550103
- Citations
- 1
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 3.25