cs.CVNov 24, 2026

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

Authors: Chun Xie, Itaru Kitahara

Organizations: University of Tsukuba

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.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TRACE: Time-Adaptive Residual Attention Control with Content-Style Decomposition for Training-Free Diffusion Style Transfer

    Oct 4, 2026Duc Khoan Le, Kim Ngoc Tran, Minh Nhat Le +5Image Style TransferDiffusion Model Guidance

  2. SafeStyle: Calibrated Style Residual Injection for Controllable Style-Leakage Trade-off in Diffusion Stylization

    Sep 18, 2026Zhangping Yang, Min Li, Song Yan +4Image Style TransferDiffusion-Based Image Editing