SSP:一种面向LVM真实图像合成的简单且安全的自动提示工程方法
SSP: A Simple and Safe automatic Prompt engineering method towards realistic image synthesis on LVM
AI总结:
针对文本到图像合成中提示不安全的问题,提出SSP方法,通过自动匹配并附加最优相机描述,提升LVM生成图像质量,语义一致性提高16%,安全指标提高48.9%。
摘要:
近年来,文本到图像(T2I)合成取得了显著进展,尤其是随着大语言模型(LLM)的出现及其在大视觉模型(LVM)中的增强,极大地提升了传统T2I模型的指令遵循能力。然而,以往的方法侧重于提高生成质量,却给提示引入了不安全因素。我们发现,在提示中附加特定的相机描述可以增强安全性能。因此,我们提出了一种简单且安全的提示工程方法(SSP),通过提供最优相机描述来提升图像生成质量。具体而言,我们从多个数据集中创建了一个数据集作为原始提示。为了选择最优相机,我们设计了一种最优相机匹配方法,并实现了一个能够自动匹配原始提示的分类器。将相机描述附加到原始提示中,生成优化后的提示,用于进一步的LVM图像生成。实验表明,与其他方法相比,SSP将语义一致性平均提高了16%,安全指标提高了48.9%。
英文摘要:
Recently, text-to-image (T2I) synthesis has undergone significant advancements, particularly with the emergence of Large Language Models (LLM) and their enhancement in Large Vision Models (LVM), greatly enhancing the instruction-following capabilities of traditional T2I models. Nevertheless, previous methods focus on improving generation quality but introduce unsafe factors into prompts. We explore that appending specific camera descriptions to prompts can enhance safety performance. Consequently, we propose a simple and safe prompt engineering method (SSP) to improve image generation quality by providing optimal camera descriptions. Specifically, we create a dataset from multi-datasets as original prompts. To select the optimal camera, we design an optimal camera matching approach and implement a classifier for original prompts capable of automatically matching. Appending camera descriptions to original prompts generates optimized prompts for further LVM image generation. Experiments demonstrate that SSP improves semantic consistency by an average of 16% compared to others and safety metrics by 48.9%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。