{"title":"Improve Machine Learning carbon footprint using Parquet dataset format and Mixed Precision training for regression algorithms","authors":"Andrew Antonopoulos","doi":"arxiv-2409.11071","DOIUrl":null,"url":null,"abstract":"This study was the 2nd part of my dissertation for my master degree and\ncompared the power consumption using the Comma-Separated-Values (CSV) and\nparquet dataset format with the default floating point (32bit) and Nvidia mixed\nprecision (16bit and 32bit) while training a regression ML model. The same\ncustom PC as per the 1st part, which was dedicated to the classification\ntesting and analysis, was built to perform the experiments, and different ML\nhyper-parameters, such as batch size, neurons, and epochs, were chosen to build\nDeep Neural Networks (DNN). A benchmarking test with default hyper-parameter\nvalues for the DNN was used as a reference, while the experiments used a\ncombination of different settings. The results were recorded in Excel, and\ndescriptive statistics were chosen to calculate the mean between the groups and\ncompare them using graphs and tables. The outcome was positive when using mixed\nprecision combined with specific hyper-parameters. Compared to the\nbenchmarking, optimising the regression models reduced the power consumption\nbetween 7 and 11 Watts. The regression results show that while mixed precision\ncan help improve power consumption, we must carefully consider the\nhyper-parameters. A high number of batch sizes and neurons will negatively\naffect power consumption. However, this research required inferential\nstatistics, specifically ANOVA and T-test, to compare the relationship between\nthe means. The results reported no statistical significance between the means\nin the regression tests and accepted H0. Therefore, choosing different ML\ntechniques and the Parquet dataset format will not improve the computational\npower consumption and the overall ML carbon footprint. However, a more\nextensive implementation with a cluster of GPUs can increase the sample size\nsignificantly, as it is an essential factor and can change the outcome of the\nstatistical analysis.","PeriodicalId":501301,"journal":{"name":"arXiv - CS - Machine Learning","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Machine Learning","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.11071","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This study was the 2nd part of my dissertation for my master degree and
compared the power consumption using the Comma-Separated-Values (CSV) and
parquet dataset format with the default floating point (32bit) and Nvidia mixed
precision (16bit and 32bit) while training a regression ML model. The same
custom PC as per the 1st part, which was dedicated to the classification
testing and analysis, was built to perform the experiments, and different ML
hyper-parameters, such as batch size, neurons, and epochs, were chosen to build
Deep Neural Networks (DNN). A benchmarking test with default hyper-parameter
values for the DNN was used as a reference, while the experiments used a
combination of different settings. The results were recorded in Excel, and
descriptive statistics were chosen to calculate the mean between the groups and
compare them using graphs and tables. The outcome was positive when using mixed
precision combined with specific hyper-parameters. Compared to the
benchmarking, optimising the regression models reduced the power consumption
between 7 and 11 Watts. The regression results show that while mixed precision
can help improve power consumption, we must carefully consider the
hyper-parameters. A high number of batch sizes and neurons will negatively
affect power consumption. However, this research required inferential
statistics, specifically ANOVA and T-test, to compare the relationship between
the means. The results reported no statistical significance between the means
in the regression tests and accepted H0. Therefore, choosing different ML
techniques and the Parquet dataset format will not improve the computational
power consumption and the overall ML carbon footprint. However, a more
extensive implementation with a cluster of GPUs can increase the sample size
significantly, as it is an essential factor and can change the outcome of the
statistical analysis.