Abstract
Software effort estimation is a critical yet challenging task in project management. This paper presents the Optimized Inductive Learning (OIL) framework, an extensible architecture for hyperparameter optimization (HPO) in effort estimation. By evaluating multiple learners and optimizers across 945 software projects, the study demonstrates that simple models like Classification and Regression Trees (CART), when tuned with efficient optimizers like Differential Evolution or FLASH, significantly outperform default settings and complex baselines. The results show that effective tuning can be achieved in minutes, providing human-competitive accuracy and transparent, auditable models.
Introduction
Predicting the human effort required for software projects is notoriously difficult and often inaccurate. While machine learning (ML) offers a potential solution, practitioners face two major hurdles: the Tuning Trap and the Audit Requirement. The former refers to the slow and expensive process of finding optimal hyperparameter settings, while the latter demands that models be transparent and auditable for organizational accountability.
This research addresses skepticism regarding the utility of HPO in industry, specifically tackling claims that tuning is too slow to be effective. The authors introduce the OIL architecture to explore whether fast, automated optimization can consistently beat "off-the-shelf" defaults.
Methodology
The authors developed OIL, an extensible framework designed to explore a massive configuration space for effort estimation. The study compared several learners, including Classification and Regression Trees (CART) and Analogy-Based Estimation (ABE), against baselines like Linear Regression (ATLM).
As shown in the feature model above, learners like ABE involve numerous mandatory and optional components, creating a vast search space. To navigate this, the authors tested various optimizers:
- Differential Evolution (DE): An evolutionary algorithm that extrapolates between solutions.
- FLASH: A sequential model-based optimizer that uses a surrogate model to predict promising settings.
For the CART learner, the optimization process focused on specific parameters that define the tree's structure and complexity.
The evaluation utilized 945 software projects from nine diverse datasets (e.g., China, ISBSG10, Maxwell) in the SEACRAFT repository. Performance was measured using Magnitude of Relative Error (MRE) and Standardized Accuracy (SA), with statistical significance verified via the Scott-Knott test.
Key Insights and Results
The experimental results yielded several critical findings for software engineering practitioners:
- The Failure of Defaults: Standard library settings were almost never optimal. Tuning provided significant accuracy boosts across nearly all datasets, confirming that models must be retuned as new data arrives.
- The Power of Simplicity: The combination of CART + FLASH/DE emerged as the "champion" configuration, ranking #1 in 16 out of 18 experimental cases. This approach is fast, easy to implement, and produces human-competitive results.
- Efficiency over Exhaustion: Slow, exhaustive optimizers performed no better than fast ones. The recommended CART-based approach achieved superior results in under 10 minutes for most datasets.
- Feature Pruning: Tuning often resulted in the removal of up to 75% of available features, suggesting that "less is more" in effort estimation data.
In 6 out of 9 datasets, the best-tuned estimators achieved an MRE ≤ 35%, placing them within the typical range of expert human estimators.
Limitations and Future Work
While the OIL framework proved highly effective, the isbsg10 dataset remained a challenge, with even the best models reaching an MRE of only 59%. This suggests a need for more advanced methods for high-variance datasets. Future work will explore deep learning, ensemble methods like AdaBoost, and the integration of automated feature selection directly into the OIL architecture. Additionally, the authors plan to investigate "tuning the tuners" to further optimize the speed and accuracy of the HPO process.
Summary updated