LLM4Perf: 大语言模型在多目标性能建模中的有效性
LLM4Perf: Large Language Models Are Effective Samplers for Multi-Objective Performance Modeling
AI总结:
LLM4Perf通过大语言模型实现多目标性能建模,展现了其在配置空间修剪和反馈优化方面的有效性,提升了性能建模的准确性。
摘要:
现代软件系统的性能在很大程度上依赖于其复杂的配置选项。构建准确的性能模型以导航这个庞大的空间需要有效的采样策略,但现有方法在多目标优化方面常常遇到困难,且无法利用文档中的语义信息。近年来大语言模型(LLMs)的成功促使本研究的核心问题:大语言模型能否作为多目标性能建模的有效采样器?为了探索这一问题,我们进行了全面的经验研究,调查了由LLM驱动的采样能力与特性。我们设计并实现了LLM4Perf,一个基于反馈的框架,并利用它系统地评估了LLM引导的采样过程,涉及四个高度可配置的现实世界系统。我们的研究发现,在大多数情况下,LLM引导的方法优于传统基线方法。定量而言,LLM4Perf在几乎所有评估场景中(77个中的112个)的性能最佳,占比接近68.8%。我们发现这种有效性源于LLM在配置空间修剪和反馈驱动的策略细化方面的双重能力。这种修剪的有效性进一步得到验证,即它在几乎91.5%(410个中的448个)的情况下也提高了基线方法的性能。此外,我们展示了LLM4Perf中每个组件和超参数的选择如何影响其有效性。总体而言,本文为大语言模型在性能工程中的有效性提供了有力证据,并提供了驱动其成功机制的具体见解。
英文摘要:
The performance of modern software systems is critically dependent on their complex configuration options. Building accurate performance models to navigate this vast space requires effective sampling strategies, yet existing methods often struggle with multi-objective optimization and cannot leverage semantic information from documentation. The recent success of Large Language Models (LLMs) motivates the central question of this work: Can LLMs serve as effective samplers for multi-objective performance modeling? To explore this, we present a comprehensive empirical study investigating the capabilities and characteristics of LLM-driven sampling. We design and implement LLM4Perf, a feedback-based framework, and use it to systematically evaluate the LLM-guided sampling process across four highly configurable, real-world systems. Our study reveals that the LLM-guided approach outperforms traditional baselines in most cases. Quantitatively, LLM4Perf achieves the best performance in nearly 68.8% (77 out of 112) of all evaluation scenarios, demonstrating its superior effectiveness. We find this effectiveness stems from the LLM's dual capabilities of configuration space pruning and feedback-driven strategy refinement. The effectiveness of this pruning is further validated by the fact that it also improves the performance of the baseline methods in nearly 91.5% (410 out of 448) of cases. Furthermore, we show how the LLM choices for each component and hyperparameters within LLM4Perf affect its effectiveness. Overall, this paper provides strong evidence for the effectiveness of LLMs in performance engineering and offers concrete insights into the mechanisms that drive their success.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。