UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

Search-Based Negative Prompt Optimisation for Text-to-Image Generation

Iglesias, G; Zamorano, M; Sarro, F; (2025) Search-Based Negative Prompt Optimisation for Text-to-Image Generation. In: Machado, Penousal and Johnson, Colin G and Santos, Iria, (eds.) Lecture Notes in Computer Science. (pp. pp. 94-110). Springer: Cham, Switzerland.

[thumbnail of paper.pdf] Text
paper.pdf - Accepted Version
Access restricted to UCL open access staff until 21 April 2026.

Download (5MB)

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.

Type: Proceedings paper
Title: Search-Based Negative Prompt Optimisation for Text-to-Image Generation
Event: International Conference on Computational Intelligence in Music, Sound, Art and Design
ISBN-13: 9783031901669
DOI: 10.1007/978-3-031-90167-6_7
Publisher version: https://doi.org/10.1007/978-3-031-90167-6_7
Language: English
Additional information: This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions.
Keywords: Prompt engineering, Negative prompt, Sentence similarity, Image Generation, Generative AI, Local Search
UCL classification: UCL
UCL > Provost and Vice Provost Offices > UCL BEAMS
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science
URI: https://discovery.ucl.ac.uk/id/eprint/10208784
Downloads since deposit
0Downloads
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item