RefRoute: Decoupling Conditioning Cost from References via Compact Residual Conditioning and Spatial Routing
Abstract
Multi-reference image generation requires preserving the appearance of multiple subjects while composing them into a coherent scene. However, existing diffusion transformers commonly encode references as dense visual token grids and jointly process them with global attention, making conditioning increasingly expensive as the number and resolution of references grow. We present RefRoute, a framework that addresses both reference representation cost and attention overhead through two complementary mechanisms. Compact residual conditioning combines low-resolution latent tokens with lightweight residual features extracted from full-resolution pixels, reducing reference token counts while retaining fine-grained appearance cues. Condition routing and attention routing align reference tokens with their assigned target regions and restrict cross-reference interactions, while allowing selective reference access beyond region boundaries for scene integration. We further introduce RefRoute-Data for training many-reference generation models and ManyRef100, a benchmark spanning human, object, and mixed compositions with 10-17 references. After many-reference fine-tuning, RefRoute achieves an overall Weighted-Ref-VIEScore of 36.06 on ManyRef100, compared with 8.88 for FLUX.2-Klein-9B. Separate inference-cost evaluations show substantially slower latency growth as the reference count increases: at 16 references, our 50-step and 4-step configurations achieve and speedups over their corresponding FLUX baselines, respectively. These results establish compact reference representations and spatially routed attention as an effective approach to scalable many-reference image generation.
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- 19 pages. Wanning He and Yuyao Zhang contributed equally and share first authorship
Related papers
Spatial Transcriptomics Prediction from Histology via Topology-Informed Graph Attention and Gene-Semantics Conditioning
Shared title terminologycs.CVYuqi Cheng, Boshuai Zhang, Ziqi Zhang et al.
Spatial Latent Reasoning for Embodied Reference Understanding
Shared title terminologycs.CVLing Li, Jianhui Zhong, Wei Liu et al.
CHARTER: Auditing Reference Substitution in Hierarchical Compact-Evidence Evaluation for Computational Pathology
Shared title terminologycs.CVHyun Do Jung, Jungwon Choi, Soojung Choi et al.
TORE: Token-Wise Taylor Order Selection via Decomposed Residual Error Estimation for Diffusion Acceleration
Shared title terminologycs.CVLei Tang, Baoquan Zhang, Yakun Zhang et al.
OceanFix: Reference-Guided Diffusion for Sparse-View Underwater 3D Reconstruction
Shared title terminologycs.CVGen Li, Maoxin Chen, Yao Xiao et al.
A Calibration-Referenced Protocol for Measuring Decision Stability under Reference Bank Compression
Shared title terminologycs.CVYiwen Chen, Shengming Yu