更好地协同,以正确顺序:用于软件工程的经典方法后接大语言模型优化
Better Together, in the Right Order: Classical-then-LLM Optimization for SE
AI总结:
研究将经典优化器与大语言模型结合用于软件工程配置任务,提出反向方法SNAP2,即先用廉价经典学习者结果为大语言模型播种,该方法效果最佳且成本低。
摘要:
越来越多工作将大语言模型(LLMs)与经典优化器结合用于软件工程(SE)配置任务。通常经典优化器主导,本文提出反向方法SNAP2,用廉价经典学习者结果为LLM播种。应用于超100个SE任务,它是最佳方法,成本更低,结论是孤立研究经典学习者或LLMs不明智,两者结合及顺序有价值。
英文摘要:
A growing body of work combines large language models (LLMs) with classical optimizers for software engineering (SE) configuration tasks. Often, the classical optimizer is in charge: it owns the search loop and calls the LLM only to assist in subroutines (e.g. to warm-start the first generation, propose a mutation, or stand in as a surrogate). We report that there is much value in the reverse approach: seeding an LLM with the results from a cheap classical learner. We call this method SNAP2. Applied to over 100 SE tasks, it is the single best of all methods studied, reaching the top tier on 85% of tasks, ahead of the same LLM run alone (75%) and ahead of every method in which the classical optimizer retains control. It is also less expensive: relative to the LLM-alone method, it uses roughly 30% fewer tokens and runs 1.4x faster, since the classical setup performs the inexpensive work, and the LLM is invoked only to finish. We conclude that it is unwise to study classical learners or LLMs in isolation: there is much value in combining the two, and in the order that combination is applied.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。