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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Mavromatis, Ioannis, Katsaros, Kostas, Khan, Aftab
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911927660183552
author Mavromatis, Ioannis
Katsaros, Kostas
Khan, Aftab
author_facet Mavromatis, Ioannis
Katsaros, Kostas
Khan, Aftab
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_14328
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Computing Within Limits: An Empirical Study of Energy Consumption in ML Training and Inference
Mavromatis, Ioannis
Katsaros, Kostas
Khan, Aftab
Machine Learning
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.
title Computing Within Limits: An Empirical Study of Energy Consumption in ML Training and Inference
topic Machine Learning
url https://arxiv.org/abs/2406.14328