Saved in:
Bibliographic Details
Main Authors: De Martino, Vincenzo, Martínez-Fernández, Silverio, Palomba, Fabio
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.18734
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917352947318784
author De Martino, Vincenzo
Martínez-Fernández, Silverio
Palomba, Fabio
author_facet De Martino, Vincenzo
Martínez-Fernández, Silverio
Palomba, Fabio
contents Context: The increasing adoption of machine learning (ML) and artificial intelligence (AI) technologies raises growing concerns about their environmental sustainability. Developing and deploying ML-enabled systems is computationally intensive, particularly during training and inference. Green AI has emerged to address these issues by promoting efficiency without sacrificing accuracy. While prior research has proposed catalogs of sustainable practices (i.e., green tactics), there remains limited understanding of their adoption in practice and whether additional, undocumented tactics exist. Objective: This study aims to investigate the extent to which existing sustainable practices are implemented in real-world ML-enabled systems and to identify previously undocumented practices that support environmental sustainability. Method: We conduct a mining software repository study on 205 open-source ML projects on GitHub. To support our analysis, we design a novel mechanism based on large language models (LLMs) capable of identifying both known and new sustainable practices from code repositories. Results: Our findings confirm that green tactics reported in the literature are used in practice, although adoption rates vary. Furthermore, our LLM-based approach reveals nine previously undocumented sustainable practices. Each tactic is supported with code examples to aid adoption and integration. Conclusions: We finally provide insights for practitioners seeking to reduce the environmental impact of ML-enabled systems and offer a foundation for future research in automating the detection and adoption of sustainable practices.
format Preprint
id arxiv_https___arxiv_org_abs_2603_18734
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Green Architectural Tactics in ML-enabled Systems: An LLM-based Repository Mining Study
De Martino, Vincenzo
Martínez-Fernández, Silverio
Palomba, Fabio
Software Engineering
Context: The increasing adoption of machine learning (ML) and artificial intelligence (AI) technologies raises growing concerns about their environmental sustainability. Developing and deploying ML-enabled systems is computationally intensive, particularly during training and inference. Green AI has emerged to address these issues by promoting efficiency without sacrificing accuracy. While prior research has proposed catalogs of sustainable practices (i.e., green tactics), there remains limited understanding of their adoption in practice and whether additional, undocumented tactics exist. Objective: This study aims to investigate the extent to which existing sustainable practices are implemented in real-world ML-enabled systems and to identify previously undocumented practices that support environmental sustainability. Method: We conduct a mining software repository study on 205 open-source ML projects on GitHub. To support our analysis, we design a novel mechanism based on large language models (LLMs) capable of identifying both known and new sustainable practices from code repositories. Results: Our findings confirm that green tactics reported in the literature are used in practice, although adoption rates vary. Furthermore, our LLM-based approach reveals nine previously undocumented sustainable practices. Each tactic is supported with code examples to aid adoption and integration. Conclusions: We finally provide insights for practitioners seeking to reduce the environmental impact of ML-enabled systems and offer a foundation for future research in automating the detection and adoption of sustainable practices.
title Green Architectural Tactics in ML-enabled Systems: An LLM-based Repository Mining Study
topic Software Engineering
url https://arxiv.org/abs/2603.18734