arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.14328cs.LG
收藏

极限内计算:机器学习训练与推理阶段能耗的实证研究

Computing Within Limits: An Empirical Study of Energy Consumption in ML Training and Inference

Toshiba Europe Ltd.(东芝欧洲有限公司)

Ioannis Mavromatis, Kostas Katsaros, Aftab Khan

AI总结:

本研究针对机器学习的环境影响问题,通过基于软件的功率测量方法研究Green ML,分析不同模型、硬件与超参数的能耗规律,提出可通过短期剖析或模型参数估算长期能耗,为构建可持续ML运维提供实用指南。

摘要:

机器学习(ML)已取得巨大进展,但其环境足迹仍是一个值得关注的问题。鉴于ML对环境的影响日益加剧,本文对绿色机器学习(Green ML)展开研究,考察训练和推理阶段的多种模型架构与超参数,以识别高能效实践方案。本研究采用基于软件的功率测量方法,便于在不同配置、模型和数据集间复现实验。本文测试了多种模型与硬件配置,以明确各类测量值、指标之间的相关性,以及降低能耗的关键影响因素。我们的分析为构建可持续ML运维提供了实用指南,强调在保持性能的同时降低能耗与碳足迹。研究发现,短期剖析可量化长期预期能耗;此外,无需开展大量实验,仅通过模型参数也能准确估算预期总能耗。

英文摘要:

Machine learning (ML) has seen tremendous advancements, but its environmental footprint remains a concern. Acknowledging the growing environmental impact of ML this paper investigates Green ML, examining various model architectures and hyperparameters in both training and inference phases to identify energy-efficient practices. Our study leverages software-based power measurements for ease of replication across diverse configurations, models and datasets. In this paper, we examine multiple models and hardware configurations to identify correlations across the various measurements and metrics and key contributors to energy reduction. Our analysis offers practical guidelines for constructing sustainable ML operations, emphasising energy consumption and carbon footprint reductions while maintaining performance. As identified, short-lived profiling can quantify the long-term expected energy consumption. Moreover, model parameters can also be used to accurately estimate the expected total energy without the need for extensive experimentation.

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

↑