TheWeights Can Be Harmful: Pareto Search versus Weighted Search in Multi-objective Search-based Software Engineering

被引:20
|
作者
Chen, Tao [1 ,2 ]
Li, Miqing [3 ]
机构
[1] Univ Elect Sci & Technol China, Chengdu 610056, Peoples R China
[2] Loughborough Univ, Loughborough LE11 3TU, Leics, England
[3] Univ Birmingham, Birmingham B15 2TT, W Midlands, England
关键词
Search-based software engineering; multi-objective optimization; pareto optimization; quality evaluation; quality indicator; user preference; configurable systems; adaptive systems; self-adaptive systems; MANY-OBJECTIVE OPTIMIZATION; EVOLUTIONARY ALGORITHMS; GENETIC ALGORITHM; EFFECT SIZE; SELECTION; QOS; ARCHITECTURE; MODELS;
D O I
10.1145/3514233
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In presence of multiple objectives to be optimized in Search-Based Software Engineering (SBSE), Pareto search has been commonly adopted. It searches for a good approximation of the problem's Pareto-optimal solutions, from which the stakeholders choose the most preferred solution according to their preferences. However, when clear preferences of the stakeholders (e.g., a set of weights that reflect relative importance between objectives) are available prior to the search, weighted search is believed to be the first choice, since it simplifies the search via converting the original multi-objective problem into a single-objective one and enables the search to focus on what only the stakeholders are interested in. This article questions such a "weighted search first" belief. We show that theweights can, in fact, be harmful to the search process even in the presence of clear preferences. Specifically, we conduct a large-scale empirical study that consists of 38 systems/projects from three representative SBSE problems, together with two types of search budget and nine sets of weights, leading to 604 cases of comparisons. Our key finding is that weighted search reaches a certain level of solution quality by consuming relatively less resources at the early stage of the search; however, Pareto search is significantly better than its weighted counterpart the majority of the time (up to 77% of the cases), as long as we allow a sufficient, but not unrealistic search budget. This is a beneficial result, as it discovers a potentially new "rule-of-thumb" for the SBSE community: Even when clear preferences are available, it is recommended to always consider Pareto search by default for multi-objective SBSE problems, provided that solution quality is more important. Weighted search, in contrast, should only be preferred when the resource/search budget is limited, especially for expensive SBSE problems. This, together with other findings and actionable suggestions in the article, allows us to codify pragmatic and comprehensive guidance on choosingweighted and Pareto search for SBSE under the circumstance that clear preferences are available. All code and data can be accessed at https://github.com/ideas-labo/pareto-vs- weight- for- sbse.
引用
收藏
页数:40
相关论文
共 50 条
  • [1] On the preferences of quality indicators for multi-objective search algorithms in search-based software engineering
    Wu, Jiahui
    Arcaini, Paolo
    Yue, Tao
    Ali, Shaukat
    Zhang, Huihui
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [2] On the preferences of quality indicators for multi-objective search algorithms in search-based software engineering
    Jiahui Wu
    Paolo Arcaini
    Tao Yue
    Shaukat Ali
    Huihui Zhang
    Empirical Software Engineering, 2022, 27
  • [3] Methodology and Guidelines for Evaluating Multi-Objective Search-Based Software Engineering
    Li, Miqing
    Chen, Tao
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS, ICSE-COMPANION, 2023, : 338 - 339
  • [4] Methodology and Guidelines for Evaluating Multi-objective Search-Based Software Engineering
    Li, Miqing
    Chen, Tao
    COMPANION PROCEEDINGS OF THE 32ND ACM INTERNATIONAL CONFERENCE ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, FSE COMPANION 2024, 2024, : 707 - 709
  • [5] Random-Weighted Search-Based Multi-objective Optimization Revisited
    Wang, Shuai
    Ali, Shaukat
    Gotlieb, Arnaud
    SEARCH-BASED SOFTWARE ENGINEERING, 2014, 8636 : 199 - 214
  • [6] Search-based software library recommendation using multi-objective optimization
    Ouni, Ali
    Kula, Raula Gaikovina
    Kessentini, Marouane
    Ishio, Takashi
    German, Daniel M.
    Inoue, Katsuro
    INFORMATION AND SOFTWARE TECHNOLOGY, 2017, 83 : 55 - 75
  • [7] Harmony Search-Based Approach for Multi-Objective Software Architecture Reconstruction
    Prajapati, Amarjeet
    Geem, Zong Woo
    MATHEMATICS, 2020, 8 (11) : 1 - 21
  • [8] Search-based software engineering
    Gutjahr, Walter J.
    Harman, Mark
    COMPUTERS & OPERATIONS RESEARCH, 2008, 35 (10) : 3049 - 3051
  • [9] Search Based Software Engineering on Evolutionary Multi-Objective Approach
    Syarif, Abdusy
    Abouaissa, Abdelhafid
    Idoumghar, Lhassane
    Kodar, Achmad
    Lorenz, Pascal
    2016 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2016,
  • [10] Search-based software engineering
    Harman, M
    Jones, BF
    INFORMATION AND SOFTWARE TECHNOLOGY, 2001, 43 (14) : 833 - 839