Lune

CVPR2024顶会

Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models

Shweta Mahajan, Tanzila Rahman, Kwang Moo Yi, Leonid Sigal

摘要

The quality of the prompts provided to text-to-image diffusion models determines how faithful the generated content is to the user's intent, often requiring 'prompt engineering ‘. To harness visual concepts from target images without prompt engineering, current approaches largely rely on embedding inversion by optimizing and then mapping them to pseudo-tokens. However, working with such highdimensional vector representations is challenging because they lack semantics and interpretability, and only allow simple vector operations when using them. Instead, this work focuses on inverting the diffusion model to obtain interpretable language prompts directly. The challenge of doing this lies in the fact that the resulting optimization problem is fundamentally discrete and the space of prompts is exponentially large; this makes using standard optimization techniques, such as stochastic gradient descent, difficult. To this end, we utilize a delayed projection scheme to optimize for prompts representative of the vocabulary space in the model. Further, we leverage the findings that different timesteps of the diffusion process cater to different levels of detail in an image. The later, noisy, timesteps of the forward diffusion process correspond to the semantic information, and therefore, prompt inversion in this range provides tokens representative of the image semantics. We show that our approach can identify semantically interpretable and meaningful prompts for a target image which can be used to synthesize diverse images with similar content. We further illustrate the application of the optimized prompts in evolutionary image generation and concept removal.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
  • IntrinsicEdit: Precise generative image manipulation in intrinsic space 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • IntrinsicEdit: Precise generative image manipulation in intrinsic space 引用了 Denoising Diffusion Probabilistic Models
  • SEAL: Semantic Aware Image Watermarking 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Emergence and Evolution of Interpretable Concepts in Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Emergence and Evolution of Interpretable Concepts in Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Emergence and Evolution of Interpretable Concepts in Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Language Models are Few-Shot Learners
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
  • Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
  • Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper26

  1. Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion ModelsTuomas Kynkäänniemi, Miika Aittala, Tero Karras, Samuli Laine 等NeurIPS 2024 · 270 次引用
  2. Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion ModelsYimeng Zhang, Xin Chen, Jinghan Jia, Yihua Zhang 等NeurIPS 2024 · 200 次引用
  3. Emergence and Evolution of Interpretable Concepts in Diffusion ModelsBerk Tinaz, Zalan Fabian, Mahdi SoltanolkotabiNeurIPS 2025 · 23 次引用
  4. SEAL: Semantic Aware Image WatermarkingKasra Arabi, R. Teal Witter, Chinmay Hegde, Niv CohenICCV 2025 · 22 次引用
  5. IntrinsicEdit: Precise generative image manipulation in intrinsic spaceLinjie Lyu, Valentin Deschaintre, Yannick Hold-Geoffroy, Milos Hasan 等SIGGRAPH 2025 · 7 次引用

它引用的 Paper29

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  3. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
  4. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
  5. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用

相关 Paper

  1. On Discrete Prompt Optimization for Diffusion ModelsRuochen Wang, Ting Liu, Cho-Jui Hsieh, Boqing GongICML 2024 · 30 次引用
  2. Interpretable Prompts made Edit-Friendly: Token-to-Token Similarity Reduction in dLLMs for Edit-Friendly Hard Prompt InversionNaresh Kumar Devulapally, Shruti Agarwal, Vishal Asnani, Vishnu Suresh LokhandeCVPR 2026
  3. Visually Guided Decoding: Gradient-Free Hard Prompt Inversion with Language ModelsDonghoon Kim, Minji Bae, Kyuhong Shim, Byonghyo ShimICLR 2025
  4. Image Generation from Contextually-Contradictory PromptsSaar Huberman, Or Patashnik, Omer Dahary, Ron Mokady 等CVPR 2026 · 11 次引用
  5. Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion ModelsWenkai Dong, Song Xue, Xiaoyue Duan, Shumin HanICCV 2023 · 104 次引用
黄昏的海面,两侧是细线勾勒的悬崖