StyleID++: Position-Decoupled and Structure-Coherent Style Retrieval across Diffusion Architectures
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.
Create a lesson
Related papers
DualCast: Dual-Image Conditioned Diffusion Transformers for Digital Human E-Commerce Video Generation
Shared title terminologycs.CVLifan Jiang, Yifan Huang, Jixuan Zhang et al.
Linear-Time Online Visual Geometry Transformer with Hybrid Architecture
Shared title terminologycs.CVHaoyu Kang, Pingzhi Li, Ruichen Zhang et al.
DoseSteer: Steering diffusion-based dose prediction models towards clinical targets via Dual-Response Guidance
Shared title terminologycs.CVShupeng Cheng, Jing Jia, Jincheng Wu et al.
Memory as the Backbone: A Dual-Store Associative Memory Architecture for Visual Recognition
Shared title terminologycs.CVRuizhi Wang, Xiangtao Wang, Bayar Menzat et al.
MotifFlow: Training-Free, Self-Contained Style Transfer from Color to Motif in Rectified Flow Transformers
Shared title terminologycs.CVChun Xie, Itaru Kitahara
LGCount: Layout-Guided Diffusion for Zero-Shot Object Counting
Shared title terminologycs.CVAdriano D'Alessandro, Ali Mahdavi-Amiri, Ghassan Hamarneh