arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.19260cs.SE
收藏

ENERGY STAR LLM赋能的软件工程工具

"ENERGY STAR" LLM-Enabled Software Engineering Tools

University of Colorado Colorado Springs(科罗拉多大学科罗拉多斯普林斯分校)

Himon Thakur, Armin Moin

AI总结:

本文研究LLM赋能的软件工程工具的能效,通过结合RAG与PETs提升代码生成的质量和效率,验证核心理念并提供未来分析的证明。

摘要:

关于AI-工程,即为AI增强系统进行的软件工程(SE),不能忽视一个日益成为AI增强的软件系统关键类别:那些用于启用或支持SE过程的系统,例如计算机辅助SE(CASE)工具和集成开发环境(IDE)。在本文中,我们研究这些系统的能效。随着AI在这些工具中无缝可用,并且在许多情况下默认处于激活状态,我们正进入一个对软件开发生命周期(SDLC)中能源消耗模式有重大影响的新时代。我们专注于大型语言模型(LLM)提供的高级机器学习(ML)能力。我们提出的方法结合了检索增强生成(RAG)与提示工程技术(PETs),以提高基于LLM的代码生成的质量和能效。我们提出了一种全面的框架,该框架在从125M到7B参数的多样化模型架构中测量实时能源消耗和推理时间,包括GPT-2、CodeLlama、Qwen 2.5和DeepSeek Coder。这些LLM因实际原因被选择,足以验证核心思想,并为更深入的未来分析提供概念验证。

英文摘要:

The discussion around AI-Engineering, that is, Software Engineering (SE) for AI-enabled Systems, cannot ignore a crucial class of software systems that are increasingly becoming AI-enhanced: Those used to enable or support the SE process, such as Computer-Aided SE (CASE) tools and Integrated Development Environments (IDEs). In this paper, we study the energy efficiency of these systems. As AI becomes seamlessly available in these tools and, in many cases, is active by default, we are entering a new era with significant implications for energy consumption patterns throughout the Software Development Lifecycle (SDLC). We focus on advanced Machine Learning (ML) capabilities provided by Large Language Models (LLMs). Our proposed approach combines Retrieval-Augmented Generation (RAG) with Prompt Engineering Techniques (PETs) to enhance both the quality and energy efficiency of LLM-based code generation. We present a comprehensive framework that measures real-time energy consumption and inference time across diverse model architectures ranging from 125M to 7B parameters, including GPT-2, CodeLlama, Qwen 2.5, and DeepSeek Coder. These LLMs, chosen for practical reasons, are sufficient to validate the core ideas and provide a proof of concept for more in-depth future analysis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑