TCSE logo 
 Sigsoft logo
Sustainability badge

AI is demanding an evergrowing portion of environmental resources. Despite their potential impact on AI environmental sustainability, the role that programming languages play in AI (in)efficiency is to date still unknown. With this study, we aim to understand the impact that programming languages can have on AI environmental sustainability. To achieve our goal, we conduct a controlled empirical experiment by considering five programming languages (C++, Java, Python, MATLAB, and R), seven AI algorithms (KNN, SVC, AdaBoost, decision tree, logistic regression, naive bayses, and random forest), and the training and inference phases. The collected results show that programming languages have a considerable impact on AI environmental sustainability. Compiled and semi-compiled languages (C++, Java) consistently consume less than interpreted languages (Python, MATLAB, R), which require up to 54x more energy. Some languages are cumulatively more efficient in training, while others in inference. Which programming language consumes the most highly depends on the algorithm considered. Ultimately, algorithm implementation might be the most determining factor in Green AI, regardless of the language used. As conclusion, while making AI more environmentally sustainable is paramount, a trade-off between energy efficiency and implementation ease should always be considered. Green AI may be achieved without the need of completely disrupting the development practices and technologies currently in place.

Tue 29 Apr

Displayed time zone: Eastern Time (US & Canada) change

09:00 - 10:30
Session 1: Workshop opening and Pitch Session 1 (7-minute pitch of each paper and 3-minute question/comment)GREENS at 203
Chair(s): Luís Cruz TU Delft, Elisa Yumi Nakagawa University of São Paulo
09:00
15m
Talk
Opening
GREENS

09:15
10m
Talk
Assessment of Embedded AI Solutions with the Green Software Measurement Model
GREENS
Christoph Bockisch Philipps-Universität Marburg, Hartmut Weber TH Mittelhessen – University of Applied Sciences, Dennis M. Pöpperl Technische Hochschule Mittelhessen–University of Applied Sciences, Severin Stahl TH Mittelhessen – University of Applied Sciences
09:25
10m
Talk
Automatically Assessing Software Architecture Compliance With Green Software Patterns
GREENS
Naman Ahuja University College London, Yile Feng University College London, Luming Li University College London, Amisha Malik University College London, Thuvaragan Sivayoganathan University College London, Navveen Balani Accenture, Srinivasan Rakhunathan Microsoft, Federica Sarro University College London
09:35
10m
Talk
Educated Energy Efficiency Optimization of Distributed Software: Measure, Monitor, Mitigate
GREENS
Tobias Leonhard Joschka Peslalz Munich University of Applied Sciences, Bastian Katz Munich University of Applied Sciences
09:45
10m
Talk
Green AI: Which Programming Language Consumes the Most?
GREENS
Niccolò Marini University of Florence, Leonardo Pampaloni University of Florence, Filippo Di Martino University of Florence, Roberto Verdecchia University of Florence, Enrico Vicario University of Florence
Pre-print
09:55
10m
Talk
On the Energy Consumption of Web Applications: An Empirical Study of their Design Solutions
GREENS
Louay Khrouf Berger-Levault, Anas Shatnawi University of Milano-Bicocca, Boubou Thiam Niang Berger-Levault, Benoit Verhaeghe Berger-Levrault
10:05
10m
Talk
Specification Completion for Sustainable Software Development via Sustainability-Driven Mining
GREENS
Mohamed Toufik Ailane Siemens Foundational Technologies, Siemens AG, Carolin Rubner Siemens Foundational Technologies, Siemens AG, Andreas Rausch Clausthal University of Technology
10:15
15m
Other
Final session question/comment filling and posting (via Miro)
GREENS

:
:
:
: