arXivPreprintOpen accesscs.CV

StyleID++: Position-Decoupled and Structure-Coherent Style Retrieval across Diffusion Architectures

Chun Xie, Itaru Kitahara

Key points

From the paper's conclusion
  • We quantify the leakage with a coordinate--centroid correlation and a permutation test on the style reference.

Abstract

Attention injection offers a remarkably simple route to training-free style transfer: content queries retrieve style keys and values inside a pretrained diffusion model. We show that this operation also creates an overlooked failure mode. Position signals that are useful within one image become a spurious shared coordinate system across two spatially unrelated images, causing content tokens to favor style tokens at similar coordinates. This cross-image positional leakage appears in both convolutional U-Nets and diffusion transformers (DiTs), despite their different position mechanisms. Removing the positional shortcut exposes a second problem: unconstrained global retrieval lets related content tokens select incompatible style regions, producing fragmented appearance. We present StyleID++, a training-free framework that addresses the two problems jointly. Position-Decoupled Retrieval reduces coordinate-dependent matching through circular padding in U-Nets and injection-only RoPE removal in DiTs, while preserving native position modeling elsewhere. Affinity-Coherent Refinement then regularizes style assignments with the content self-attention graph, encouraging structurally related tokens to retrieve compatible style evidence. We quantify the leakage with a coordinate--centroid correlation and a permutation test on the style reference. The permutation error can be driven to zero in both backbones, which identifies the position mechanism as the carrier of the leakage, and StyleID++ obtains the best ArtFID of all methods we compare.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

StyleID++: Position-Decoupled and Structure-Coherent Style Retrieval across Diffusion Architectures — Science Skim