[论文解读] Enhance Image-to-Image Generation with LLaVA-generated Prompts
本论文使用 LLaVA 从输入图像生成正向提示和负向提示,并将这些提示与图像一起输入 Stable Diffusion,以提升图像到图像的保真度和相似性。
This paper presents a novel approach to enhance image-to-image generation by leveraging the multimodal capabilities of the Large Language and Vision Assistant (LLaVA). We propose a framework where LLaVA analyzes input images and generates textual descriptions, hereinafter LLaVA-generated prompts. These prompts, along with the original image, are fed into the image-to-image generation pipeline. This enriched representation guides the generation process towards outputs that exhibit a stronger resemblance to the input image. Extensive experiments demonstrate the effectiveness of LLaVA-generated prompts in promoting image similarity. We observe a significant improvement in the visual coherence between the generated and input images compared to traditional methods. Future work will explore fine-tuning LLaVA prompts for increased control over the creative process. By providing more specific details within the prompts, we aim to achieve a delicate balance between faithfulness to the original image and artistic expression in the generated outputs.
研究动机与目标
- 利用 LLaVA 的图像理解能力生成 refined 提示,以引导图像到图像的生成。
- 研究与无提示生成相比,LLaVA 生成的提示是否能提升保真度和视觉相似性。
- 在多个示例图像上评估提示对多种图像相似性指标的影响。
提出的方法
- 将输入图像喂给 LLaVA 以生成正面提示和负面提示。
- 使用 Stable Diffusion v2.0 Img2Img,将输入图像和由 LLaVA 生成的提示(以及负向提示)作为输入。
- 使用标准相似性度量(RMSE、PSNR、FSIM、SSIM、UIQ、SRE)对有无 LLaVA 提示的图像到图像输出进行比较。
- 可选探索与 SVM 的整合以提升性能。
- 在多张示例图像上给出定性和定量比较。

实验结果
研究问题
- RQ1将 LLaVA 生成的提示纳入是否相对于无提示生成能提升生成图像对输入图像的保真度和相似性?
- RQ2LLaVA 生成的提示如何影响在不同目标图像上的定量图像相似性指标?
- RQ3LLaVA 生成的提示存在哪些局限性,任务指令如何对其进行细化?
- RQ4在与 LLaVA 提示结合使用时,额外的分类器(如 SVM)是否能进一步提升性能?
主要发现
- LLaVA 生成的提示在所测试的图像上显著提升了图像相似性指标。
- 对于狗:RMSE 从 0.01931 降至 0.01008;PSNR 从 34.2736 提升至 39.8750;SSIM 从 0.78507 提升至 0.92199;UIQ 从 0.03133 提升至 0.07616;SRE 从 48.7848 提升至 51.6555。
- 对于宇航员:RMSE 从 0.01798 降至 0.01262;PSNR 从 34.9009 提升至 37.9785;SSIM 从 0.79330 提升至 0.88230;UIQ 从 0.00104 提升至 0.02420;SRE 从 51.0724 提升至 52.6086。
- 对于飞机:RMSE 从 0.01275 降至 0.00767;PSNR 从 37.7418 提升至 42.2708;FSIM 从 0.31769 提升至 0.40353;SSIM 从 0.92368 提升至 0.96597;UIQ 从 0.00861 提升至 0.10995;SRE 从 53.8197 提升至 55.7809。
- 对于摩天大楼:RMSE 从 0.02603 降至 0.01839;PSNR 从 31.6809 提升至 34.6985;FSIM 从 0.27245 提升至 0.31015;SSIM 从 0.58362 提升至 0.74276;UIQ 从 -0.00236 提升至 0.03159;SRE 从 43.1745 提升至 44.6849。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。