Style Injection in Diffusion: A Training-Free Approach for Adapting Large-Scale Diffusion Models for Style Transfer
Open accessThe DOI matches its Crossref record; 49 of the 49 references it cites were found in a registry or an index.
Abstract
Despite the impressive generative capabilities of diffusion models, existing diffusion model-based style transfer methods require inference-stage optimization (e.g. fine-tuning or textual inversion of style) which is time-consuming, or fails to leverage the generative ability of large-scale diffusion models. To address these issues, we introduce a novel artistic style transfer method based on a pre-trained large-scale diffusion model without any optimization. Specifically, we manipulate the features of self-attention layers as the way the cross-attention mechanism works; in the generation process, substituting the key and value of content with those of style image. This approach provides several desirable characteristics for style transfer including 1) preservation of content by transferring similar styles into similar image patches and 2) transfer of style based on similarity of local texture (e.g. edge) between content and style images. Furthermore, we introduce query preservation and attention temperature scaling to mitigate the issue of disruption of original content, and initial latent Adaptive Instance Normalization (AdaIN) to deal with the disharmonious color (failure to transfer the colors of style). Our experimental results demonstrate that our proposed method surpasses state-of-the-art methods in both conventional and diffusion-based style transfer baselines. Codes are available at github.com/jiwoogit/StyleID.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Very Deep Convolutional Networks for Large-Scale Image Recognition
Simonyan, K., & Zisserman, A. (2014) · arXiv · doi:10.48550/arxiv.1409.1556 · Cited by 114,148 · cited 1×
“For a given image I , we obtain feature maps F ∈ R hw × c , which is the output feature of conv3 in VGG19 [38].”
MethodImageNet: A large-scale hierarchical image database
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., & Fei-Fei, L. (2009) · 2009 IEEE Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2009.5206848 · Cited by 65,333 · cited 1×
“8 For more detailed analysis, we provide quantitative metrics with the style-content trade-off, while changing the attention scaling parameter τ in Fig.”
Microsoft COCO: Common Objects in Context
Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., & Zitnick, C. L. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-10602-1_48 · Cited by 45,460
The unreasonable effectiveness of deep features as a perceptual metric
Zhang, R., Isola, P., Efros, A. A., Shechtman, E., & Wang, O. (2018) · arXiv · doi:10.48550/arxiv.1801.03924 · Cited by 24,812 · cited 1×
“We also compare our method with recent diffusion-based style transfer baselines [18, 23, 53].”
High-Resolution Image Synthesis with Latent Diffusion Models
Rombach, R., Blattmann, A., Lorenz, D., Esser, P., & Ommer, B. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01042 · Cited by 20,302 · cited 5×
“Recent advances in Diffusion Models (DMs) have led to breakthroughs in various generative applications such as text-to-image synthesis [30, 33, 35] and image or video editing [2, 4, 6, 14, 19, 41, 48].”
InfluentialProceedings of IEEE Conference on Computer Vision and Pattern Recognition
(1993) · doi:10.1109/cvpr.1993 · Cited by 17,667
The Unreasonable Effectiveness of Deep Features as a Perceptual Metric
Zhang, R., Isola, P., Efros, A. A., Shechtman, E., & Wang, O. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00068 · Cited by 14,623
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., & Hochreiter, S. (2017) · arXiv · doi:10.48550/arxiv.1706.08500 · Cited by 8,365
Image Style Transfer Using Convolutional Neural Networks
Gatys, L. A., Ecker, A. S., & Bethge, M. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.265 · Cited by 6,025
Arbitrary Style Transfer in Real-Time with Adaptive Instance Normalization
Huang, X., & Belongie, S. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.167 · Cited by 5,076 · cited 1×
“This result implies that the attention temperature scaling effectively works with a simple modification of the magnitude of the attention map.”
Deep Laplacian Pyramid Networks for Fast and Accurate Super-Resolution
Lai, W.-S., Huang, J.-B., Ahuja, N., & Yang, M.-H. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.618 · Cited by 2,976 · cited 1×
“Neural style transfer [11, 24–26, 29, 31, 43, 44, 52] is an example-guided image generation task that transfers the style of one image onto another while retaining the content of the original.”
Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
Saharia, C., Chan, W., Saxena, S., Li, L., Whang, J., Denton, E., Ghasemipour, S. K. S., Ayan, B. K., Mahdavi, S. S., Lopes, R. G., et al. (2022) · arXiv · doi:10.48550/arxiv.2205.11487 · Cited by 2,528 · cited 1×
“Recent advances in Diffusion Models (DMs) have led to breakthroughs in various generative applications such as text-to-image synthesis [30, 33, 35] and image or video editing [2, 4, 6, 14, 19, 41, 48].”
Hierarchical Text-Conditional Image Generation with CLIP Latents
Ramesh, A., Dhariwal, P., Nichol, A., Chu, C., & Chen, M. (2022) · arXiv · doi:10.48550/arxiv.2204.06125 · Cited by 2,511 · cited 1×
“Following the remarkable advances achieved by pre-trained text-to-image DMs [32, 42], there have been numerous image editing works [2, 6, 19, 37] utilizing these DMs. Notably, Prompt-to-Prompt [14] proposed text-based lo-cal image editing by manipulating the cross-attention map.”
Denoising Diffusion Implicit Models
Song, J., Meng, C., & Ermon, S. (2020) · arXiv · doi:10.48550/arxiv.2010.02502 · Cited by 2,507
DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation
Ruiz, N., Li, Y., Jampani, V., Pritch, Y., Rubinstein, M., & Aberman, K. (2022) · arXiv · doi:10.48550/arxiv.2208.12242 · Cited by 2,442
DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation
Ruiz, N., Li, Y., Jampani, V., Pritch, Y., Rubinstein, M., & Aberman, K. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.02155 · Cited by 2,295 · cited 1×
“Some of these works focus on explicit disentangling style and content for interpretable and controllable style transfer [45], or inversion of the style image into the textual latent space of a large-scale text-to-image DM [53].”
GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
Nichol, A., Dhariwal, P., Ramesh, A., Shyam, P., Mishkin, P., McGrew, B., Sutskever, I., & Chen, M. (2021) · arXiv · doi:10.48550/arxiv.2112.10741 · Cited by 1,357 · cited 1×
“Recent advances in Diffusion Models (DMs) have led to breakthroughs in various generative applications such as text-to-image synthesis [30, 33, 35] and image or video editing [2, 4, 6, 14, 19, 41, 48].”
BackgroundLAION-5B: An open large-scale dataset for training next generation image-text models
Schuhmann, C., Beaumont, R., Vencu, R., Gordon, C., Wightman, R., Cherti, M., Coombes, T., Katta, A., Mullis, C., Wortsman, M., et al. (2022) · arXiv · doi:10.48550/arxiv.2210.08402 · Cited by 1,022 · cited 1×
“We conduct all experiments in Stable Diffusion 1.4 pre-trained on LAION dataset [36] and adopt DDIM sampling [39] with a total 50 timesteps ( t = { 1 , ..., 50 } ).”
MethodInfluentialImagic: Text-Based Real Image Editing with Diffusion Models
Kawar, B., Zada, S., Lang, O., Tov, O., Chang, H., Dekel, T., Mosseri, I., & Irani, M. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.00582 · Cited by 767 · cited 2×
“Recent advances in Diffusion Models (DMs) have led to breakthroughs in various generative applications such as text-to-image synthesis [30, 33, 35] and image or video editing [2, 4, 6, 14, 19, 41, 48].”
Blended Diffusion for Text-driven Editing of Natural Images
Avrahami, O., Lischinski, D., & Fried, O. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01767 · Cited by 764 · cited 2×
“Recent advances in Diffusion Models (DMs) have led to breakthroughs in various generative applications such as text-to-image synthesis [30, 33, 35] and image or video editing [2, 4, 6, 14, 19, 41, 48].”
High-Resolution Image Synthesis with Latent Diffusion Models
Rombach, R., Blattmann, A., Lorenz, D., Esser, P., & Ommer, B. (2021) · arXiv · doi:10.48550/arxiv.2112.10752 · Cited by 737
(2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-70139-4 · Cited by 704
Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translation
Tumanyan, N., Geyer, M., Bagon, S., & Dekel, T. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.00191 · Cited by 609
Arbitrary Style Transfer With Style-Attentional Networks
Park, D. Y., & Lee, K. H. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00603 · Cited by 466 · cited 1×
“Neural style transfer [11, 24–26, 29, 31, 43, 44, 52] is an example-guided image generation task that transfers the style of one image onto another while retaining the content of the original.”
DragDiffusion: Harnessing Diffusion Models for Interactive Point-Based Image Editing
Shi, Y., Xue, C., Liew, J. H., Pan, J., Yan, H., Zhang, W., Tan, V. Y. F., & Bai, S. (2024) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52733.2024.00844 · Cited by 436 · cited 1×
“Following the remarkable advances achieved by pre-trained text-to-image DMs [32, 42], there have been numerous image editing works [2, 6, 19, 37] utilizing these DMs. Notably, Prompt-to-Prompt [14] proposed text-based lo-cal image editing by manipulating the cross-attention map.”
MethodAdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfer
Liu, S., Lin, T., He, D., Li, F., Wang, M., Li, X., Sun, Z., Li, Q., & Ding, E. (2021) · 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.00658 · Cited by 420 · cited 1×
“This result implies that the attention temperature scaling effectively works with a simple modification of the magnitude of the attention map.”
MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing
Cao, M., Wang, X., Qi, Z., Shan, Y., Qie, X., & Zheng, Y. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.02062 · Cited by 413 · cited 1×
“Recently, MasaCtrl [4] proposes mutual self-attention control for consistent image editing using text prompts.”
BackgroundStyTr2: Image Style Transfer with Transformers
Deng, Y., Tang, F., Dong, W., Ma, C., Pan, X., Wang, L., & Xu, C. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01104 · Cited by 402 · cited 2×
“Differently, InST synthesizes the realistic images, while struggling to transfer style ( 1 st row) or change content of image ( 2 nd , 3 rd rows).”
A Closed-Form Solution to Photorealistic Image Stylization
Li, Y., Liu, M.-Y., Li, X., Yang, M.-H., & Kautz, J. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-01219-9_28 · Cited by 400
Rerender A Video: Zero-Shot Text-Guided Video-to-Video Translation
Yang, S., Zhou, Y., Liu, Z., & Loy, C. C. (2023) · SIGGRAPH Asia Conference Papers · doi:10.1145/3610548.3618160 · Cited by 357 · cited 1×
“Recent advances in Diffusion Models (DMs) have led to breakthroughs in various generative applications such as text-to-image synthesis [30, 33, 35] and image or video editing [2, 4, 6, 14, 19, 41, 48].”
BackgroundA Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence
Zhang, J., Herrmann, C., Hur, J., Cabrera, L. P., Jampani, V., Sun, D., & Yang, M.-H. (2023) · neural information processing systems · doi:10.52202/075280-1973 · Cited by 354
Inversion-based Style Transfer with Diffusion Models
Zhang, Y., Huang, N., Tang, F., Huang, H., Ma, C., Dong, W., & Xu, C. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.00978 · Cited by 353 · cited 5×
“This result implies that the attention temperature scaling effectively works with a simple modification of the magnitude of the attention map.”
InfluentialLAION-5B: An Open Large-Scale Dataset for Training Next Generation Image-Text Models
Schuhmann, C., Beaumont, R., Vencu, R., Gordon, C., Wightman, R., Cherti, M., Coombes, T., Katta, A., Mullis, C., Wortsman, M., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1833 · Cited by 325
ArtFlow: Unbiased Image Style Transfer via Reversible Neural Flows
An, J., Huang, S., Song, Y., Dou, D., Liu, W., & Luo, J. (2021) · 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr46437.2021.00092 · Cited by 262 · cited 1×
“This result implies that the attention temperature scaling effectively works with a simple modification of the magnitude of the attention map.”
CLIPstyler: Image Style Transfer with a Single Text Condition
Kwon, G., & Ye, J. C. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01753 · Cited by 251
Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization
Zhang, Y., Li, M., Li, R., Jia, K., & Zhang, L. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.00787 · Cited by 250 · cited 1×
“We observe that the gradual increase of τ enhances the performance of style transfer, although its effects on enhancement become smaller as τ goes larger, as shown in Fig.”
Improved ArtGAN for Conditional Synthesis of Natural Image and Artwork
Tan, W. R., Chan, C. S., Aguirre, H. E., & Tanaka, K. (2018) · IEEE Transactions on Image Processing · doi:10.1109/tip.2018.2866698 · Cited by 219 · cited 1×
“On the other hand, baselines often lose the structure of content or fail to transfer the style, when an arbitrary content style pair is given.”
Domain Enhanced Arbitrary Image Style Transfer via Contrastive Learning
Zhang, Y., Tang, F., Dong, W., Huang, H., Ma, C., Lee, T.-Y., & Xu, C. (2022) · Special Interest Group on Computer Graphics and Interactive Techniques Conference Proceedings · doi:10.1145/3528233.3530736 · Cited by 213
StyleDiffusion: Controllable Disentangled Style Transfer via Diffusion Models
Wang, Z., Zhao, L., & Xing, W. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.00706 · Cited by 201
Diffusion-based Image Translation using Disentangled Style and Content RepresentationPreprint
Kwon, G., & Ye, J. C. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2209.15264 · Cited by 198
Arbitrary Style Transfer via Multi-Adaptation Network
Deng, Y., Tang, F., Dong, W., Sun, W., Huang, F., & Xu, C. (2020) · Proceedings of the 28th ACM International Conference on Multimedia · doi:10.1145/3394171.3414015 · Cited by 197
ArtFID: Quantitative Evaluation of Neural Style Transfer
Wright, M., & Ommer, B. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-16788-1_34 · Cited by 164
Zero-Shot Contrastive Loss for Text-Guided Diffusion Image Style Transfer
Yang, S., Hwang, H., & Ye, J. C. (2023) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.02091 · Cited by 144 · cited 2×
“Also, several approaches utilize the text input as a style condition or for determining the content to synthesize [10, 47].”
Diversified Arbitrary Style Transfer via Deep Feature Perturbation
Wang, Z., Zhao, L., Chen, H., Qiu, L., Mo, Q., Lin, S., Xing, W., & Lu, D. (2020) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr42600.2020.00781 · Cited by 127
Collaborative Distillation for Ultra-Resolution Universal Style Transfer
Wang, H., Li, Y., Wang, Y., Hu, H. R., & Yang, M. (2020) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr42600.2020.00193 · Cited by 127
AesPA-Net: Aesthetic Pattern-Aware Style Transfer Networks
Hong, K., Jeon, S., Lee, J., Ahn, N., Kim, K., Lee, P., Kim, D., Uh, Y., & Byun, H. (2023) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.02080 · Cited by 105
A Closed-Form Solution to Universal Style Transfer
Lu, M., Zhao, H., Yao, A., Chen, Y., Xu, F., & Zhang, L. (2019) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2019.00605 · Cited by 102 · cited 1×
“Neural style transfer [11, 24–26, 29, 31, 43, 44, 52] is an example-guided image generation task that transfers the style of one image onto another while retaining the content of the original.”
Adaptive Convolutions for Structure-Aware Style Transfer
Chandran, P., Zoss, G., Gotardo, P. F. U., Groß, M. H., & Bradley, D. (2021) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr46437.2021.00788 · Cited by 92 · cited 1×
“This result implies that the attention temperature scaling effectively works with a simple modification of the magnitude of the attention map.”
Everaert, M. N., Bocchio, M., Arpa, S., Susstrunk, S. E., & Achanta, R. (2023) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.00214 · Cited by 83 · cited 2×
“Also, several approaches utilize the text input as a style condition or for determining the content to synthesize [10, 47].”
Metadata
- Authors
- Chung, J., Hyun, S., & Heo, J.-P.
- Venue
- 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
- Publisher
- IEEE
- Published
- 2024-06-16
- Pages
- 8795-8805
- ISSN
- 1063-6919 (ISSN-L)
- OpenAlex
- W4402667886
- Cited by
- 219
- References
- 49
- FWCI
- 47.82
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.