AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (11.6 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Research Article | Open Access

StyleDiffusion: Prompt-embedding inversion for text-based editing

College of Computer Science, Nankai University, Tianjin 300350, China
The Computer Vision Center, Universitat Autònoma de Barcelona, Barcelona 08193, Spain
Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi 20015, UAE, and Linkoping University, Linkoping SE-581 83, Sweden
Show Author Information

Abstract

A significant research effort is focused on exploiting the outstanding capacities of pretrained diffusion models for image editing. Approaches either fine tune the model, or invert the image in the latent space of the pretrained model. However, they suffer from two problems: (ⅰ) unsatisfactory results in selected regions and unexpected changes in non-selected regions, and (ⅱ) the need for careful text prompt editing: the prompt should include all visual objects in the input image. To address this, we propose two improvements: (ⅰ) only optimizing the input of the value linear network in the cross-attention layers is sufficiently powerful to reconstruct a real image, and (ⅱ) attention regularization to preserve the object-like attention maps after reconstruction and editing, enabling accurate style editing without causing significant structural change. We further improve the editing technique 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 editing capabilities superior to those of existing and concurrent works. Our StyleDiffusion code is available at https://github.com/sen-mao/StyleDiffusion.

Graphical Abstract

References

【1】
【1】
 
 
Computational Visual Media
Pages 743-763

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Li S, van de Weijer J, Hu T, et al. StyleDiffusion: Prompt-embedding inversion for text-based editing. Computational Visual Media, 2026, 12(3): 743-763. https://doi.org/10.26599/CVM.2025.9450462

195

Views

9

Downloads

6

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 12 June 2024
Accepted: 29 September 2024
Published: 17 April 2026
© The Author(s) 2026.

This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.

The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

To submit a manuscript, please go to https://jcvm.org.