Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2303.15649

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computer Vision and Pattern Recognition

arXiv:2303.15649 (cs)
[Submitted on 28 Mar 2023 (v1), last revised 6 Dec 2024 (this version, v3)]

Title:StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing

Authors:Senmao Li, Joost van de Weijer, Taihang Hu, Fahad Shahbaz Khan, Qibin Hou, Yaxing Wang, Jian Yang, Ming-Ming Cheng
View a PDF of the paper titled StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing, by Senmao Li and 7 other authors
View PDF HTML (experimental)
Abstract:A significant research effort is focused on exploiting the amazing capacities of pretrained diffusion models for the editing of this http URL either finetune the model, or invert the image in the latent space of the pretrained model. However, they suffer from two problems: (1) Unsatisfying results for selected regions and unexpected changes in non-selected regions.(2) They require careful text prompt editing where the prompt should include all visual objects in the input this http URL address this, we propose two improvements: (1) Only optimizing the input of the value linear network in the cross-attention layers is sufficiently powerful to reconstruct a real image. (2) We propose attention regularization to preserve the object-like attention maps after reconstruction and editing, enabling us to obtain accurate style editing without invoking significant structural changes. We further improve the editing technique that is used for the unconditional branch of classifier-free guidance as used by P2P. Extensive experimental prompt-editing results on a variety of images demonstrate qualitatively and quantitatively that our method has superior editing capabilities compared to existing and concurrent works. See our accompanying code in Stylediffusion: \url{this https URL}.
Comments: Accepted by Computational Visual Meda
Subjects: Computer Vision and Pattern Recognition (cs.CV)
Cite as: arXiv:2303.15649 [cs.CV]
  (or arXiv:2303.15649v3 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2303.15649
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.26599/CVM.2025.9450462
DOI(s) linking to related resources

Submission history

From: Senmao Li [view email]
[v1] Tue, 28 Mar 2023 00:16:45 UTC (18,241 KB)
[v2] Sun, 20 Aug 2023 11:58:44 UTC (10,410 KB)
[v3] Fri, 6 Dec 2024 13:43:47 UTC (22,322 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled StyleDiffusion: Prompt-Embedding Inversion for Text-Based Editing, by Senmao Li and 7 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
view license
Current browse context:
cs
< prev   |   next >
new | recent | 2023-03
Change to browse by:
cs.CV

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack