SustainDiffusion: Optimising the Social and Environmental Sustainability of Stable Diffusion Models

Giordano d'Aloisio, Tosin Fadahunsi, Jay Choy, Rebecca Moussa, Federica Sarro
7/21/2025
cs.SEcs.AI

No official code found. Best implementation: SOLAR-group/SustainDiffusion (0 stars, last commit 2026-04-15).

Abstract

Background: Text-to-image generation models are widely used across numerous domains. Among these models, Stable Diffusion (SD) - an open-source text-to-image generation model - has become the most popular, producing over 12 billion images annually. However, the widespread use of these models raises concerns regarding their social and environmental sustainability. Aims: To reduce the harm that SD models may have on society and the environment, we introduce SustainDiffusion, a search-based approach designed to enhance the social and environmental sustainability of SD models. Method: SustainDiffusion searches the optimal combination of hyperparameters and prompt structures that can reduce gender and ethnic bias in generated images while also lowering the energy consumption required for image generation. Importantly, SustainDiffusion maintains image quality comparable to that of the original SD model. Results: We conduct a comprehensive empirical evaluation of SustainDiffusion, testing it against six different baselines using 56 different prompts. Our results demonstrate that SustainDiffusion can reduce gender bias in SD3 by 68%, ethnic bias by 59%, and energy consumption (calculated as the sum of CPU and GPU energy) by 48%. Additionally, the outcomes produced by SustainDiffusion are consistent across multiple runs and can be generalised to various prompts. Conclusions: With SustainDiffusion, we demonstrate how enhancing the social and environmental sustainability of text-to-image generation models is possible without fine-tuning or changing the model's architecture.

View on arXivView PDF

Code Implementations(1)

This repository contains the code for the paper "SustainDiffusion: Optimising the Social and Environmental Sustainability of Stable Diffusion Models"

00TeX, PythonDec 5, 20256 months ago

Similar Papers

Cite this paper

@article{daloisio2025sustaindiffusion,
  title  = {SustainDiffusion: Optimising the Social and Environmental Sustainability of Stable Diffusion Models},
  author = {Giordano d'Aloisio and Tosin Fadahunsi and Jay Choy and Rebecca Moussa and Federica Sarro},
  year   = {2025},
  eprint = {2507.15663},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.15663v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.15663.svg)](https://codeofpaper.com/paper/2507.15663)

Discussion