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

> Source: <https://arxiv.org/abs/2611.33323>
> Published: 2026-11-26 05:00:00+00:00

**Key takeaway:** Position signals leak across spatially unrelated images in attention-injection style transfer, and removing them via circular padding in U-Nets or injection-only RoPE removal in DiTs drives the permutation-test error to zero while StyleID++ achieves the best ArtFID among compared methods.

arXiv:2611.33323v1 Announce Type: new 
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.
