面向节能代码的大语言模型:新兴成果与未来方向
Large Language Models for Energy-Efficient Code: Emerging Results and Future Directions
AI总结:
本文提出将大语言模型(LLMs)作为代码优化器以提升能效,原型评估显示在6个程序中有3个能效提升最高达2倍,并据此总结了挑战与未来研究议程。
摘要:
节能软件有助于改善移动设备体验并降低数据中心的碳足迹。然而,为了满足其他需求,能耗目标往往被降低优先级。我们从近期探索将大语言模型(LLMs)用于不同软件工程活动的研究中获得了启发。我们提出了一种LLMs的新应用:作为面向能效的代码优化器。我们描述并评估了一个原型,发现在6个小程序上,我们的系统能改善其中3个程序的能效,最高比仅使用编译器优化提升2倍。基于经验,我们识别了节能LLM代码优化的一些挑战,并提出了研究议程。
英文摘要:
Energy-efficient software helps improve mobile device experiences and reduce the carbon footprint of data centers. However, energy goals are often de-prioritized in order to meet other requirements. We take inspiration from recent work exploring the use of large language models (LLMs) for different software engineering activities. We propose a novel application of LLMs: as code optimizers for energy efficiency. We describe and evaluate a prototype, finding that over 6 small programs our system can improve energy efficiency in 3 of them, up to 2x better than compiler optimizations alone. From our experience, we identify some of the challenges of energy-efficient LLM code optimization and propose a research agenda.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。