Abstract
Predicting software project effort is a critical yet notoriously difficult task. This paper introduces OIL (Optimized Learning), a "CPU-lite" framework that uses Differential Evolution to automatically find the best configuration for Analogy-Based Estimation (ABE) models. By searching through thousands of potential configurations in just minutes, OIL significantly outperforms industry-standard baselines, demonstrating that automated tuning is essential for accurate software project forecasting.
Introduction
Software effort estimation (SEE)—predicting the person-hours or months required to build a system—is a high-stakes game. Overestimating wastes resources, while underestimating leads to canceled projects and budget overruns. The challenge is not a lack of methods, but an overwhelming abundance of them; researchers have proposed over 6,000 variants of "analogy-based" estimation alone. According to the "No Free Lunch" theorem, no single method works best on all data, leaving practitioners with a "bewildering array" of choices.
The OIL Framework
The authors propose OIL (Optimized Learning), a framework that applies Search-Based Software Engineering (SBSE) to the configuration problem. OIL focuses on Analogy-Based Estimation (ABE), which predicts effort by identifying similar past projects. However, ABE has many "knobs" to turn, including similarity measures, feature weighting, and the number of neighbors to consider.
Instead of manual selection, OIL uses Differential Evolution (DE)—an evolutionary algorithm—to search the space of approximately 6,912 possible ABE configurations. Designed to be "CPU-lite," OIL runs only a few generations (40 to 160 evaluations), allowing it to find near-optimal configurations for specific datasets in minutes on a standard laptop.
Experimental Setup
The study evaluated OIL across 945 software projects pulled from nine diverse datasets in the SEACRAFT repository. These datasets cover various programming languages, application domains, and geographical locations.
The datasets range from small collections like Kemerer (15 projects) to large repositories like China (499 projects), providing a robust testing ground for the framework's versatility.
Key Results and Insights
- Tuning is Mandatory: The "best" configuration for one dataset is rarely the best for another. Optimal settings were found to be highly variable, making tools like OIL essential for "commissioning" the right estimator for a specific team's data.
- Superior Accuracy: OIL (specifically the DE2 and DE8 variants) consistently achieved top ranks in Standardized Accuracy (SA) and Magnitude of Relative Error (MRE) across almost all datasets, significantly outperforming the state-of-the-art ATLM baseline.
- Efficiency over Brute Force: By restricting the search to just a few dozen evaluations, OIL achieved massive improvements in accuracy without the heavy time investment usually associated with genetic algorithms. The median runtime for a ten-way cross-validation was just six minutes.
- The "Floor Effect": The authors suggest that SEE data might have a "performance floor" due to limited signal in small datasets. Once a learner reaches this floor, more complex methods provide no additional benefit.
Conclusion
OIL demonstrates that software effort estimation can be significantly improved through automated, search-based configuration. By providing a fast and accurate way to tune models, it addresses the "No Free Lunch" challenge in SEE. Future work will focus on expanding the search space to include other types of learners and refining outlier handling operators.
Summary updated