This repository contains the replication package for the paper "SustainDiffusion: Optimising the Social and Environmental Sustainability of Stable Diffusion Models" accepted for publication at ICSE 2026 Research Track https://arxiv.org/abs/2507.15663 .
analysis/: Contains the code to reproduce the analysis reported in the paper.sustaindiffusion/: Contains the source code of SustainDiffusion.
Refer to the README in each subdirectory for more details.
conda env create -f environment.yml
conda activate sdenv- Install
python=3.10
pip install -r requirements.txtPlease cite our paper if you use "SustainDiffusion" in your study:
@inproceedings{sustaindiffusion_2026,
title = {{SustainDiffusion}: {Optimising} the {Social} and {Environmental} {Sustainability} of {Stable} {Diffusion} {Models}},
url = {https://arxiv.org/abs/2507.15663},
author = {d'Aloisio, Giordano and Fadahunsi, Tosin and Choy, Jay and Moussa, Rebecca and Sarro, Federica},
booktitle={48th IEEE/ACM International Conference on Software Engineering, ICSE 2026},
year = {2026}
}