TY - JOUR
T1 - CO2 impact on convolutional network model training for autonomous driving through behavioral cloning
AU - Martínez, Fernando Sevilla
AU - Parada, Raúl
AU - Casas-Roma, Jordi
N1 - Publisher Copyright:
© 2023 Elsevier Ltd
PY - 2023/4
Y1 - 2023/4
N2 - Autonomous driving and the machine learning (ML) models developed to achieve it have grown rapidly in importance and complexity respectively, and with them has also grown their carbon footprint due to long training times. Given the importance of climate change, it should be necessary to include the CO2 impact of ML models explicitly to encourage competition on more than just model quality. This work presents the implementation of two different Convolutional Neural Network (CNN) training approaches, used for autonomous driving by behavioral cloning in a simulated environment and compares their impact on the CO2 footprint. Using a cloud execution environment and driving data, previously obtained by applying an end-to-end deep learning technique, the first implemented training approach is a classical approach that uses an image generator that carries out the pre-processing and data augmentation during training. The contribution proposed in this paper is a second approach that improves the training by decreasing the training time, carrying out the data augmentation and pre-processing tasks before training the model, storing the result in RAM and then starting the training. The new approach to training presented in this article finishes the training approximately 38 times faster and reduces the carbon footprint impact by approximately 96%. In absolute values, this is a reduction from an average value of approximately 0.1643 CO2eq (kg) to 0.007 CO2eq (kg). To estimate the impact of CO2, the hardware used for the project, the training time and the cloud service provider were all taken into account.
AB - Autonomous driving and the machine learning (ML) models developed to achieve it have grown rapidly in importance and complexity respectively, and with them has also grown their carbon footprint due to long training times. Given the importance of climate change, it should be necessary to include the CO2 impact of ML models explicitly to encourage competition on more than just model quality. This work presents the implementation of two different Convolutional Neural Network (CNN) training approaches, used for autonomous driving by behavioral cloning in a simulated environment and compares their impact on the CO2 footprint. Using a cloud execution environment and driving data, previously obtained by applying an end-to-end deep learning technique, the first implemented training approach is a classical approach that uses an image generator that carries out the pre-processing and data augmentation during training. The contribution proposed in this paper is a second approach that improves the training by decreasing the training time, carrying out the data augmentation and pre-processing tasks before training the model, storing the result in RAM and then starting the training. The new approach to training presented in this article finishes the training approximately 38 times faster and reduces the carbon footprint impact by approximately 96%. In absolute values, this is a reduction from an average value of approximately 0.1643 CO2eq (kg) to 0.007 CO2eq (kg). To estimate the impact of CO2, the hardware used for the project, the training time and the cloud service provider were all taken into account.
KW - Behavioral cloning
KW - CO impact
KW - Convolutional Neural Network (CNN)
KW - Self-driving
UR - http://www.scopus.com/inward/record.url?scp=85154575362&partnerID=8YFLogxK
U2 - 10.1016/j.aei.2023.101968
DO - 10.1016/j.aei.2023.101968
M3 - Article
AN - SCOPUS:85154575362
SN - 1474-0346
VL - 56
JO - Advanced Engineering Informatics
JF - Advanced Engineering Informatics
M1 - 101968
ER -