arXiv:2506.17016cs.LGcs.MM2025-06被引 6

量化了生成一张AI图像的能耗差异,揭示模型与分辨率对耗电影响

The Hidden Cost of an Image: Quantifying the Energy Consumption of AI Image Generation

  • 实测17个主流模型,对比量化、分辨率、提示词长度等对能耗的影响
  • 能耗最高差达46倍,分辨率翻倍时能耗增1.3至4.7倍不等
  • 部分高质量图像生成模型反而最省电,证明能效与质量可兼得

随着AI图像生成技术的普及及其对环境资源需求的持续增长,我们亟需回答一个根本问题:每张生成图像背后隐藏的环境成本是多少?本研究开展了一项全面的实证实验,评估AI图像生成的能耗。通过比较17种前沿图像生成模型,考察模型量化、图像分辨率、提示词长度等因素对能耗的影响,并结合公认的图像质量指标,分析能耗与图像质量之间的权衡关系。结果显示,不同模型间能耗差异极大,最高可达46倍;图像分辨率翻倍时,能耗增加1.3至4.7倍不等;基于U-Net的模型普遍比基于Transformer的模型更节能;模型量化反而降低多数模型的能效;提示词长度与内容对能耗无显著影响;提升图像质量并不总是伴随更高能耗,部分生成最佳图像的模型同时也是最节能的。

原文摘要 · Abstract (English)

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能耗图像生成能效分析环境影响

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。