Published June 27, 2023 | Version v1
Conference paper Open

PromptMix: Textto-image diffusion models enhance the performance of lightweight networks

  • 1. DIGIT, the Department of Electrical and Computer Engineering, Aarhus University, Aarhus, Midtjylland, Denmark


Many deep learning tasks require annotations that are too time consuming for human operators, resulting in small dataset sizes. This is especially true for dense regression problems such as crowd counting which requires the location of every person in the image to be annotated. Techniques such as data augmentation and synthetic data generation based on simulations can help in such cases. In this paper, we introduce PromptMix, a method for artificially boosting the size of existing datasets, that can be used to improve the performance of lightweight networks. First, synthetic images are generated in an end-to-end data-driven manner, where text prompts are extracted from existing datasets via an image captioning deep network, and subsequently introduced to text-to-image diffusion models. The generated images are then annotated using one or more high-performing deep networks, and mixed with the real dataset for training the lightweight network. By extensive experiments on five datasets and two tasks, we show that PromptMix can significantly increase the performance of lightweight networks by up to 26%.


This work was funded by the European Union's Horizon 2020 research and innovation programme under grant agreement No 957337 and by the Danish Council for Independent Research under Grant No. 9131-00119B.



Files (4.6 MB)

Name Size Download all
4.6 MB Preview Download

Additional details


MARVEL – Multimodal Extreme Scale Data Analytics for Smart Cities Environments 957337
European Commission