从绿色 MLOps 到绿色 GenOps:判别式与生成式 AI 运营中能耗的实证研究
Green MLOps to Green GenOps: An Empirical Study of Energy Consumption in Discriminative and Generative AI Operations
AI总结:
本研究实证分析了真实 MLOps 流水线中判别式 AI 与 LLMs 的能耗,发现优化架构与硬件可显著降低判别式模型能耗,而 LLMs 能效需平衡模型规模与请求负载,为绿色可持续 AI 运营提供了基准与指南。
摘要:
本研究对真实世界 MLOps 流水线中判别式与生成式 AI 模型的能耗进行了实证调查。对于判别式模型,我们考察了训练和推理过程中的各种架构和超参数,并确定了节能实践。对于生成式 AI,评估了大型语言模型(LLMs),主要关注不同模型规模和不同服务请求下的能耗。本研究采用基于软件的功率测量,确保在不同配置、模型和数据集之间易于复现。我们分析了多种模型和硬件设置,以揭示各种指标之间的相关性,识别出导致能耗的关键因素。结果表明,对于判别式模型,优化架构、超参数和硬件可以在不牺牲性能的情况下显著降低能耗。对于 LLMs,能效取决于平衡模型规模、推理复杂度和请求处理能力,因为在利用率保持较低水平时,较大的模型不一定会消耗更多能量。该分析为设计绿色和可持续的 ML 运营提供了实用指南,强调在保持性能的同时减少能耗和碳足迹。本文可作为准确估算不同类型 AI 模型总能耗的基准。
英文摘要:
This study presents an empirical investigation into the energy consumption of Discriminative and Generative AI models within real-world MLOps pipelines. For Discriminative models, we examine various architectures and hyperparameters during training and inference and identify energy-efficient practices. For Generative AI, Large Language Models (LLMs) are assessed, focusing primarily on energy consumption across different model sizes and varying service requests. Our study employs software-based power measurements, ensuring ease of replication across diverse configurations, models, and datasets. We analyse multiple models and hardware setups to uncover correlations among various metrics, identifying key contributors to energy consumption. The results indicate that for Discriminative models, optimising architectures, hyperparameters, and hardware can significantly reduce energy consumption without sacrificing performance. For LLMs, energy efficiency depends on balancing model size, reasoning complexity, and request-handling capacity, as larger models do not necessarily consume more energy when utilisation remains low. This analysis provides practical guidelines for designing green and sustainable ML operations, emphasising energy consumption and carbon footprint reductions while maintaining performance. This paper can serve as a benchmark for accurately estimating total energy use across different types of AI models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。