Skip to main content
QUICK REVIEW

[Paper Review] Hyperparameter Optimization for Effort Estimation

Tianpei Xia, Rahul Krishna|arXiv (Cornell University)|Apr 28, 2018
Software Engineering ResearchComputer Science73 references33 citations
TL;DR

This paper proposes OIL (Optimized Inductive Learning), a hyperparameter optimization framework for software effort estimation that combines regression trees (CART) with fast optimizers like differential evolution and FLASH. It demonstrates that this combination achieves superior estimation accuracy in minutes—outperforming default settings and slower methods—making hyperparameter tuning both effective and practical for real-world use.

ABSTRACT

Software analytics has been widely used in software engineering for many tasks such as generating effort estimates for software projects. One of the "black arts" of software analytics is tuning the parameters controlling a data mining algorithm. Such hyperparameter optimization has been widely studied in other software analytics domains (e.g. defect prediction and text mining) but, so far, has not been extensively explored for effort estimation. Accordingly, this paper seeks simple, automatic, effective and fast methods for finding good tunings for automatic software effort estimation. We introduce a hyperparameter optimization architecture called OIL (Optimized Inductive Learning). We test OIL on a wide range of hyperparameter optimizers using data from 945 software projects. After tuning, large improvements in effort estimation accuracy were observed (measured in terms of standardized accuracy). From those results, we recommend using regression trees (CART) tuned by different evolution combine with default analogy-based estimator. This particular combination of learner and optimizers often achieves in a few hours what other optimizers need days to weeks of CPU time to accomplish. An important part of this analysis is its reproducibility and refutability. All our scripts and data are on-line. It is hoped that this paper will prompt and enable much more research on better methods to tune software effort estimators.

Motivation & Objective

  • To address the critical need for accurate software effort estimation, which directly impacts project budgeting and success.
  • To investigate whether hyperparameter tuning improves effort estimation beyond default configurations.
  • To evaluate if fast, automatic hyperparameter optimization is feasible and effective for effort estimation.
  • To identify a practical, efficient, and high-performing combination of learners and optimizers for real-world deployment.

Proposed method

  • The OIL framework automates hyperparameter tuning for effort estimation using a wide range of optimizers on 945 software projects.
  • It evaluates multiple machine learning learners, with a focus on regression trees (CART), and tests them with state-of-the-art optimizers like differential evolution and FLASH.
  • The framework uses a performance-driven search strategy to identify optimal hyperparameters across 6,000+ combinations.
  • It benchmarks results against prominent methods like ATLM and LP4EE, using standardized accuracy and relative error as key metrics.
  • The approach avoids data feature assumptions (e.g., no COCOMO constraints), enabling broader applicability.
  • The entire pipeline is open-sourced to support reproducibility and future benchmarking.

Experimental results

Research questions

  • RQ1RQ1: Are 'off-the-shelf' default hyperparameters sufficient for accurate effort estimation, or does tuning significantly improve performance?
  • RQ2RQ2: Can a single set of optimized hyperparameters be reused across different datasets, or are settings dataset-specific?
  • RQ3RQ3: Can fast hyperparameter optimization methods achieve performance comparable to slower ones, making tuning practical for industry use?
  • RQ4RQ4: Which specific combination of learner and optimizer delivers the best performance in minimal time?

Key findings

  • Tuned learners significantly outperform untuned defaults, demonstrating that 'off-the-shelf' settings should be deprecated for effort estimation.
  • No universal default hyperparameter settings exist; optimal configurations vary widely across datasets, making re-tuning essential for new data.
  • Faster optimizers like differential evolution and FLASH achieve performance on par with slower methods, proving that hyperparameter tuning can be both fast and effective.
  • The combination of CART with differential evolution or FLASH achieves state-of-the-art accuracy in just a few minutes, outperforming methods requiring hours or days.
  • The study identifies a simple, fast, and effective baseline: use CART with FLASH or differential evolution for new datasets.
  • The results suggest that hyper-hyperparameter optimization may be feasible, as fast optimizers like FLASH can efficiently tune slower optimizers themselves.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.