atlas

Research map / Image generation / Editing and style transfer

Style Injection in Diffusion: A Training-free Approach for Adapting Large-scale Diffusion Models for Style Transfer

CVPR 2024 · Image generation › Editing and style transfer · approach: Arbitrary neural style transfer · 202 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Training-free artistic style transfer that injects style key/value into the self-attention layers of Stable Diffusion 1.4, with query preservation, attention temperature scaling, and initial latent AdaIN.

Problem

Diffusion-based style transfer either needs per-style inference-time optimization (fine-tuning or textual inversion) or cannot leverage large-scale latent diffusion models such as Stable Diffusion.

Approach

Substitute the key and value of content self-attention with those of the style image during DDIM reverse sampling (in the later decoder layers), blend content and stylized queries to preserve structure, sharpen attention with a temperature factor, and align initial-noise channel statistics with AdaIN for color transfer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
remove style injection (ablation)Style Injection · Style transferArtFID: 28.80 -> 43.72Hurt
remove attention temperature scaling (ablation)Style Injection · Style transferLPIPS: 0.505 -> 0.542Hurt
remove initial latent AdaIN (ablation)Style Injection · Style transferFID: 18.13 -> 20.05Hurt
set query preservation ratio γ to 0.6 instead of 0.75 (ablation)Style Injection · Style transferArtFID: 28.80 -> 27.97Helped
set query preservation ratio γ to 0.6 instead of 0.75 (ablation)Style Injection · Style transferLPIPS: 0.505 -> 0.535Hurt
use attention temperature scaling (τ = 1.5) instead of no scaling (ablation)Style Injection · Style transferFID: 17.81 -> 18.13Helped
use initial latent AdaIN (ablation)Style Injection · Style transferLPIPS: 0.390 -> 0.505Mixed

Surprising findings

Limitations

Experimental setup

Datasets: MS-COCO WikiArt

Benchmarks: MS-COCO content / WikiArt style evaluation (800 stylized images)

Metrics: ArtFID FID LPIPS CFSD inference time

Baselines: AesPA-Net CAST StyTR2 EFDM MAST AdaAttN ArtFlow AdaConv AdaIN DiffuseIT InST DiffStyle

Builds on: Prompt-to-Prompt Plug-and-Play DDIM inversion Latent Diffusion Model AdaIN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy