Energy efficiency of Python machine learning frameworks

Bibliographic Details
Main Author: Ajel, Salwa
Publication Date: 2023
Other Authors: Ribeiro, Francisco, Ejbali, Ridha, Saraiva, João
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: https://hdl.handle.net/1822/90293
Summary: Although machine learning (ML) is a field that has been the subject of research for decades, a large number of applications with high computational power have recently emerged. Usually, we only focus on solving machine learning problems without considering how much energy has been consumed by the different frameworks used for such applications. This study aims to provide a comparison among four widely used frameworks such as Tensorflow, Keras, Pytorch, and Scikit-learn in terms of many aspects, including energy efficiency, memory usage, execution time, and accuracy. We monitor the performance of such frameworks using different well-known machine learning benchmark problems. Our results show interesting findings, such as slower and faster frameworks consuming less or more energy, higher or lower memory usage, etc. We show how to use our results to provide machine learning developers with information to decide which framework to use for their applications when energy efficiency is a concern.
id RCAP_a5195020ebe607e69fc8bb94110fbe2f
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/90293
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Energy efficiency of Python machine learning frameworksDeepLearningEnergy-EfficientExecution timeKerasMachine LearningMemory usagePytorchTensorflowEngenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e InformáticaAlthough machine learning (ML) is a field that has been the subject of research for decades, a large number of applications with high computational power have recently emerged. Usually, we only focus on solving machine learning problems without considering how much energy has been consumed by the different frameworks used for such applications. This study aims to provide a comparison among four widely used frameworks such as Tensorflow, Keras, Pytorch, and Scikit-learn in terms of many aspects, including energy efficiency, memory usage, execution time, and accuracy. We monitor the performance of such frameworks using different well-known machine learning benchmark problems. Our results show interesting findings, such as slower and faster frameworks consuming less or more energy, higher or lower memory usage, etc. We show how to use our results to provide machine learning developers with information to decide which framework to use for their applications when energy efficiency is a concern.We want to thank the Ministry of Higher Education and Gabes University for facilitating the travel of Salwa Ajel to Portugal, the HASLab/INESC TEC, Universidade do Minho (Portugal) for the technical support of the work, and the Erasmus Jamies for accepting Salwa Ajel’s application.Springer, ChamUniversidade do MinhoAjel, SalwaRibeiro, FranciscoEjbali, RidhaSaraiva, João20232023-01-01T00:00:00Zconference paperinfo:eu-repo/semantics/publishedVersionapplication/pdfhttps://hdl.handle.net/1822/90293engAjel, S., Ribeiro, F., Ejbali, R., Saraiva, J. (2023). Energy Efficiency of Python Machine Learning Frameworks. In: Abraham, A., Pllana, S., Casalino, G., Ma, K., Bajaj, A. (eds) Intelligent Systems Design and Applications. ISDA 2022. Lecture Notes in Networks and Systems, vol 715. Springer, Cham. https://doi.org/10.1007/978-3-031-35507-3_57978-3-031-35506-62367-337010.1007/978-3-031-35507-3_57978-3-031-35507-3https://link.springer.com/chapter/10.1007/978-3-031-35507-3_57info:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-05-11T07:01:29Zoai:repositorium.sdum.uminho.pt:1822/90293Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T16:12:39.534023Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Energy efficiency of Python machine learning frameworks
title Energy efficiency of Python machine learning frameworks
spellingShingle Energy efficiency of Python machine learning frameworks
Ajel, Salwa
DeepLearning
Energy-Efficient
Execution time
Keras
Machine Learning
Memory usage
Pytorch
Tensorflow
Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática
title_short Energy efficiency of Python machine learning frameworks
title_full Energy efficiency of Python machine learning frameworks
title_fullStr Energy efficiency of Python machine learning frameworks
title_full_unstemmed Energy efficiency of Python machine learning frameworks
title_sort Energy efficiency of Python machine learning frameworks
author Ajel, Salwa
author_facet Ajel, Salwa
Ribeiro, Francisco
Ejbali, Ridha
Saraiva, João
author_role author
author2 Ribeiro, Francisco
Ejbali, Ridha
Saraiva, João
author2_role author
author
author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Ajel, Salwa
Ribeiro, Francisco
Ejbali, Ridha
Saraiva, João
dc.subject.por.fl_str_mv DeepLearning
Energy-Efficient
Execution time
Keras
Machine Learning
Memory usage
Pytorch
Tensorflow
Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática
topic DeepLearning
Energy-Efficient
Execution time
Keras
Machine Learning
Memory usage
Pytorch
Tensorflow
Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática
description Although machine learning (ML) is a field that has been the subject of research for decades, a large number of applications with high computational power have recently emerged. Usually, we only focus on solving machine learning problems without considering how much energy has been consumed by the different frameworks used for such applications. This study aims to provide a comparison among four widely used frameworks such as Tensorflow, Keras, Pytorch, and Scikit-learn in terms of many aspects, including energy efficiency, memory usage, execution time, and accuracy. We monitor the performance of such frameworks using different well-known machine learning benchmark problems. Our results show interesting findings, such as slower and faster frameworks consuming less or more energy, higher or lower memory usage, etc. We show how to use our results to provide machine learning developers with information to decide which framework to use for their applications when energy efficiency is a concern.
publishDate 2023
dc.date.none.fl_str_mv 2023
2023-01-01T00:00:00Z
dc.type.driver.fl_str_mv conference paper
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/1822/90293
url https://hdl.handle.net/1822/90293
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv Ajel, S., Ribeiro, F., Ejbali, R., Saraiva, J. (2023). Energy Efficiency of Python Machine Learning Frameworks. In: Abraham, A., Pllana, S., Casalino, G., Ma, K., Bajaj, A. (eds) Intelligent Systems Design and Applications. ISDA 2022. Lecture Notes in Networks and Systems, vol 715. Springer, Cham. https://doi.org/10.1007/978-3-031-35507-3_57
978-3-031-35506-6
2367-3370
10.1007/978-3-031-35507-3_57
978-3-031-35507-3
https://link.springer.com/chapter/10.1007/978-3-031-35507-3_57
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Springer, Cham
publisher.none.fl_str_mv Springer, Cham
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833595807682527232