Skip to main content
QUICK REVIEW

[论文解读] Promptify: Text-to-Image Generation through Interactive Prompt Exploration with Large Language Models

Stephen Brade, Bryan Wang|arXiv (Cornell University)|Apr 18, 2023
Generative Adversarial Networks and Image SynthesisComputer Science被引用 3
一句话总结

Promptify 是一个交互式系统,利用大型语言模型(LLMs)帮助用户探索和优化 Stable Diffusion 的文生图提示。它提供可调控的主体与风格建议,通过语义聚类可视化生成的图像,并支持基于反馈的提示优化——在用户研究中表明,与基线工具相比,它能降低认知负荷,并在首次尝试时提升图像质量。

ABSTRACT

Text-to-image generative models have demonstrated remarkable capabilities in generating high-quality images based on textual prompts. However, crafting prompts that accurately capture the user's creative intent remains challenging. It often involves laborious trial-and-error procedures to ensure that the model interprets the prompts in alignment with the user's intention. To address the challenges, we present Promptify, an interactive system that supports prompt exploration and refinement for text-to-image generative models. Promptify utilizes a suggestion engine powered by large language models to help users quickly explore and craft diverse prompts. Our interface allows users to organize the generated images flexibly, and based on their preferences, Promptify suggests potential changes to the original prompt. This feedback loop enables users to iteratively refine their prompts and enhance desired features while avoiding unwanted ones. Our user study shows that Promptify effectively facilitates the text-to-image workflow and outperforms an existing baseline tool widely used for text-to-image generation.

研究动机与目标

  • 解决有效文生图提示创作的挑战,该过程通常需要大量试错,对新手用户而言尤为困难。
  • 通过提供智能、交互式的主体与风格建议,降低提示工程过程中的认知负荷。
  • 通过可视化界面支持提示的迭代探索与优化,该界面可组织生成的图像并提出改进建议。
  • 利用 LLM 生成多样化、高质量的提示变体,弥合用户意图与模型输出之间的差距。
  • 评估该系统相较于现有工具的有效性,特别是在首次尝试时的可用性与图像质量方面。

提出的方法

  • 基于 LLM 的提示建议引擎分别生成主体与风格建议,使用社区提供的示例进行风格的 few-shot prompting,以及通过自然语言引导进行主体构思。
  • 系统使用 CLIP 嵌入对生成的图像进行聚类与可视化,采用灵活布局,使用户能够浏览、组织和导航图像集合。
  • 用户可与单个图像或聚类互动,基于视觉特征与语义相似性,获得针对性的提示优化建议。
  • 界面包含用于导航的迷你地图、提示历史切换按钮,以及调节聚类密度与图像间距的滑动条。
  • 系统维持一个反馈循环,用户对图像的交互行为会反馈至后续的提示建议中,从而增强与创作意图的一致性。
  • 提示建议引擎基于 GPT-3.5 构建,并经过微调,可从极少的用户输入生成多样化且风格一致的提示。
Figure 1 . The Promptify System UI. A) Stable Diffusion Controls for prompt writing. B) Automatic Prompt Suggestion for ideating subject matter and obtaining keywords suggestions for style in a steerable manner via natural language. C) Image Layout and Clustering allows users to view, organize, and
Figure 1 . The Promptify System UI. A) Stable Diffusion Controls for prompt writing. B) Automatic Prompt Suggestion for ideating subject matter and obtaining keywords suggestions for style in a steerable manner via natural language. C) Image Layout and Clustering allows users to view, organize, and

实验结果

研究问题

  • RQ1LLM 如何被有效用于支持文生图生成的交互式、迭代式提示探索?
  • RQ2与传统提示工程工作流相比,LLM 驱动的建议引擎在多大程度上降低了用户认知负荷?
  • RQ3对生成图像进行视觉聚类在多大程度上能提升用户高效探索与优化提示的能力?
  • RQ4该系统在多大程度上能帮助用户首次尝试即生成高质量、视觉吸引力强的图像?
  • RQ5语义图像聚类与基于反馈的提示优化在多大程度上提升了用户满意度与创意产出?

主要发现

  • 在14名参与者的用户研究中,Promptify 显著降低了与广泛使用的 Automatic1111 基线相比的认知负荷。
  • 使用 Promptify 时,用户在首次尝试中生成了更具视觉吸引力的图像,表明提示意图与模型输出之间对齐性更好。
  • 系统通过自然语言引导实现主体与风格修改建议的能力,使提示探索更加多样化与富于创意。
  • 对生成图像进行语义聚类,帮助用户高效浏览与比较结果,提升了导航效率与决策质量。
  • 尽管表现优异,Promptify 在匹配艺术愿景方面并未显著优于 Automatic1111,可能由于模型在处理长提示和短语优先级方面存在局限。
  • 研究发现,较长的提示常导致细节缺失,因为扩散模型倾向于忽略某些短语,凸显了提示工程中的一个关键挑战。
Figure 2 . The user workflow with the Promptify system. Users start by inputting an atomic subject, e.g., Lion , to obtain various subject ideas via the steerable subject ideation feature. Next, users input an atomic style such as ”Studio Ghibli” and use the style extension feature to extend the sty
Figure 2 . The user workflow with the Promptify system. Users start by inputting an atomic subject, e.g., Lion , to obtain various subject ideas via the steerable subject ideation feature. Next, users input an atomic style such as ”Studio Ghibli” and use the style extension feature to extend the sty

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。