Skip to main content
QUICK REVIEW

[Paper Review] Understanding the Automated Parameter Optimization on Transfer Learning for CPDP: An Empirical Study

Ke Li, Zilin Xiang|arXiv (Cornell University)|Feb 8, 2020
Software Engineering ResearchComputer Science103 references10 citations
TL;DR

This paper presents the first empirical study on automated parameter optimization for transfer learning in cross-project defect prediction (CPDP), evaluating 62 CPDP techniques across 20 real-world projects. It finds that automated optimization significantly improves performance for 77% of techniques with manageable cost, and that tuning transfer learning parameters yields greater gains than optimizing classification models alone.

ABSTRACT

Data-driven defect prediction has become increasingly important in software engineering process. Since it is not uncommon that data from a software project is insufficient for training a reliable defect prediction model, transfer learning that borrows data/knowledge from other projects to facilitate the model building at the current project, namely cross-project defect prediction (CPDP), is naturally plausible. Most CPDP techniques involve two major steps, i.e., transfer learning and classification, each of which has at least one parameter to be tuned to achieve their optimal performance. This practice fits well with the purpose of automated parameter optimization. However, there is a lack of thorough understanding about what are the impacts of automated parameter optimization on various CPDP techniques. In this paper, we present the first empirical study that looks into such impacts on 62 CPDP techniques, 13 of which are chosen from the existing CPDP literature while the other 49 ones have not been explored before. We build defect prediction models over 20 real-world software projects that are of different scales and characteristics. Our findings demonstrate that: (1) Automated parameter optimization substantially improves the defect prediction performance of 77\% CPDP techniques with a manageable computational cost. Thus more efforts on this aspect are required in future CPDP studies. (2) Transfer learning is of ultimate importance in CPDP. Given a tight computational budget, it is more cost-effective to focus on optimizing the parameter configuration of transfer learning algorithms (3) The research on CPDP is far from mature where it is "not difficult" to find a better alternative by making a combination of existing transfer learning and classification techniques. This finding provides important insights about the future design of CPDP techniques.

Motivation & Objective

  • To investigate the impact of automated parameter optimization on cross-project defect prediction (CPDP) techniques, which combine transfer learning and classification.
  • To address the lack of systematic understanding on how hyperparameter tuning affects CPDP performance, especially given the expanded parameter space from both transfer learning and classification components.
  • To provide actionable insights for future CPDP research by identifying which components (transfer learning vs. classification) benefit most from optimization under computational constraints.
  • To explore whether existing CPDP techniques are mature or if better performance can be achieved through novel combinations of transfer learning and classification algorithms.

Proposed method

  • Evaluated 62 CPDP techniques—13 from existing literature and 49 newly constructed combinations—of transfer learning and classification algorithms.
  • Conducted experiments on 20 real-world software projects with diverse scales and characteristics to ensure generalizability.
  • Applied automated parameter optimization using grid search or similar methods to tune hyperparameters in both transfer learning and classification stages.
  • Measured performance using standard defect prediction metrics (e.g., F1-score, AUC) and applied statistical tests (e.g., Wilcoxon signed-rank test) to assess significance.
  • Used effect size analysis (Cohen’s d) to evaluate the practical significance of performance improvements.
  • Compared the impact of optimizing transfer learning parameters versus classification parameters under a fixed computational budget.

Experimental results

Research questions

  • RQ1RQ1: How much benefit does automated parameter optimization bring to the performance of CPDP techniques in terms of prediction accuracy?
  • RQ2RQ2: Which component—transfer learning or classification—yields greater performance improvement when optimized under a limited computational budget?
  • RQ3RQ3: Are the current state-of-the-art CPDP techniques sufficiently mature, or can better performance be achieved by combining existing transfer learning and classification techniques in novel ways?

Key findings

  • Automated parameter optimization significantly improves the performance of 77% of the 62 CPDP techniques evaluated, with a large effect size according to Cohen’s rule.
  • Optimizing transfer learning parameters yields greater performance gains than optimizing classification parameters, making it more cost-effective under tight computational budgets.
  • In most cases, the statistically best-performing CPDP technique was among the 49 newly constructed combinations, indicating that current state-of-the-art techniques are not yet mature.
  • The performance improvement from automated optimization is both statistically significant and practically meaningful, especially when applied to transfer learning components.
  • The study confirms that default or off-the-shelf parameter settings often lead to suboptimal performance, undermining reproducibility and reliability in CPDP research.
  • The results suggest that future CPDP research should prioritize intelligent optimization of transfer learning parameters and explore broader algorithmic combinations.

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.