Green prompt engineering for sustainable generative AIOA
Prompt engineering involves manual design and optimization of text-based instructions or queries,enabling precise control over outputs generated by pre-trained large language models(LLMs)and ensuring alignment with desired responses.However,substantial computational costs and energy footprint of prompt inferencing process remain critical challenges while building generative AI applications.The energy efficiency of LLM inferences is particularly impacted by suboptimal prompts,which may require multiple iterations,thereby escalating energy consumption and the associated carbon footprint.To address these challenges,we propose a series of practices and guidelines designed to enhance the likelihood of obtaining desired responses from LLMs with minimal reiterations.Empirical evaluation demonstrates that,across a range of LLMs and test scenarios,energy consumption and corresponding operational greenhouse gas emissions were reduced by 32-48%when best practices were applied.Drawing upon these insights,our proposed best practices can be seamlessly integrated into the design frameworks of generative AI applications,thereby enhancing the energy efficiency of prompt inferencing.By addressing the challenge of establishing a cohesive framework for energy-efficient prompt design and inferencing,this paper advocates for the sustainable and effective deployment of generative AI technologies.
Sanjay Podder;Hema Date;Shankar Murthy
Indian Institute of Management Mumbai,Powai,Mumbai,Maharashtra,400087,IndiaIndian Institute of Management Mumbai,Powai,Mumbai,Maharashtra,400087,IndiaIndian Institute of Management Mumbai,Powai,Mumbai,Maharashtra,400087,India
信息技术与安全科学
Green computingGreenhouse gasesGenerative AIInference mechanismsPrompt engineeringGreen AI
《Environmental Science and Ecotechnology》 2026 (2)
P.90-105,16
the doctoral research program at the Indian Institute of Management Mumbai.
评论