atlas

Research map / Image generation / Editing and style transfer

Attention Distillation: A Unified Approach to Visual Characteristics Transfer

CVPR 2025 · Image generation › Editing and style transfer · approach: Arbitrary neural style transfer · 28 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.

Proposes an attention distillation loss on self-attention features of pretrained Stable Diffusion, used both for latent optimization and as an improved classifier guidance, to transfer style, appearance and texture from a reference image.

Problem

Existing plug-and-play KV-injection methods for transferring style, appearance, or texture from a reference image to generated images give insufficient stylization due to domain gap, error accumulation, and architectural limits of the residual branch.

Approach

Define an L1 attention distillation loss between the self-attention output of the target (queries from target, keys/values from reference) and the current target self-attention output, and optimize the latent by backpropagation (or inject it as an Adam-managed classifier guidance during DDIM sampling), so gradients also flow through the identity connection.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the Adam optimizer to manage guidance strength instead of manually setting it (ablation)Attention Distillation guided sampling · style and appearance transfervisual match to the referenceHelped
Increase optimization iterations per timestep from 1 to 2 (ablation)Attention Distillation guided sampling · text-to-image generationgenerated result quality: 10s -> 19sHelped
Increase optimization iterations per timestep from 2 to 3 (ablation)Attention Distillation guided sampling · text-to-image generationgenerated result quality: 19s -> 28sHelped
Vary the content loss weight λ (ablation)Content-preserving optimization · style transfer and appearance transfercontent preservationMixed
Fine-tune the VAE decoder on the reference image (ablation)Attention Distillation · image synthesisreconstruction qualityHelped

Surprising findings

Limitations

Experimental setup

Metrics: user preference score

Baselines: CSGO StyleShot StyleID StyTR2 NST Cross-Image Attention SpliceViT Visual Style Prompting InstantStyle RB-Modulation GCD Self-Rectification

Builds on: KV-injection classifier guidance MultiDiffusion Cross-Image Attention ControlNet

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