@InProceedings{10.1007/978-3-031-90167-6_7, author="Iglesias, Guillermo and Zamorano, Mar and Sarro, Federica", editor="Machado, Penousal and Johnson, Colin and Santos, Iria", title="Search-Based Negative Prompt Optimisation for Text-to-Image Generation", booktitle="Artificial Intelligence in Music, Sound, Art and Design", year="2025", publisher="Springer Nature Switzerland", address="Cham", pages="94--110", abstract="Text-to-image generative models are machine learning models that take a description written in natural language as input and generate images matching this description. As with other types of generative models, text-to-image ones tend not to be precise due to various reasons, such as hallucinations or randomness, and are influenced by the input description (a.k.a. user's prompt). Therefore, their use might lead to images that do not fully meet user's expectations. Prompt engineering (i.e., the process of structuring text that can be interpreted and understood by a generative model) poses a significant challenge, demanding a considerable amount of manual effort to ensure high-quality image generation. In this work, we explore the use of a local search guided by sentence similarity to optimize text-to-image generation via negative prompts. Our results suggest that by using our approach, it is possible to improve the generation process, thus obtaining more accurate images with no additional human effort.", isbn="978-3-031-90167-6" }