一张图像的隐藏成本:量化AI图像生成的能耗
The Hidden Cost of an Image: Quantifying the Energy Consumption of AI Image Generation
AI总结:
本研究通过对比17种图像生成模型的能耗,发现模型间能耗差异高达46倍,且U-Net模型更节能,而提高图像质量不一定增加能耗。
摘要:
随着AI图像生成的日益普及,加之AI对环境资源的需求不断增长,我们亟需回答一个基本问题:我们生成的每一张图像背后隐藏着怎样的环境影响?在本研究中,我们提出了一项全面的实证实验,旨在评估AI图像生成的能耗。我们的实验比较了17种最先进的图像生成模型,考虑了可能影响其能耗的多种因素,如模型量化、图像分辨率和提示词长度。此外,我们纳入了公认的图像质量指标,以研究能耗与生成图像质量之间潜在的权衡关系。结果表明,图像生成模型在能耗方面差异巨大,最高可达46倍的差距。图像分辨率对能耗的影响不一致,分辨率加倍时能耗增加范围从1.3倍到4.7倍不等。基于U-Net的模型往往比基于Transformer的模型消耗更少的能量。相反,模型量化会降低大多数模型的能效,而提示词长度和内容则没有统计学上显著的影响。提高图像质量并不总是以更高的能耗为代价,一些生成最高质量图像的模型同时也是能效最高的模型之一。
英文摘要:
With the growing adoption of AI image generation, in conjunction with the ever-increasing environmental resources demanded by AI, we are urged to answer a fundamental question: What is the environmental impact hidden behind each image we generate? In this research, we present a comprehensive empirical experiment designed to assess the energy consumption of AI image generation. Our experiment compares 17 state-of-the-art image generation models by considering multiple factors that could affect their energy consumption, such as model quantization, image resolution, and prompt length. Additionally, we consider established image quality metrics to study potential trade-offs between energy consumption and generated image quality. Results show that image generation models vary drastically in terms of the energy they consume, with up to a 46x difference. Image resolution affects energy consumption inconsistently, ranging from a 1.3x to 4.7x increase when doubling resolution. U-Net-based models tend to consume less than Transformer-based one. Model quantization instead results to deteriorate the energy efficiency of most models, while prompt length and content have no statistically significant impact. Improving image quality does not always come at the cost of a higher energy consumption, with some of the models producing the highest quality images also being among the most energy efficient ones.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。