Diffusion Transformers (DiTs) have become the standard backbone for high-quality generative modeling, yet deploying them in conditional generation tasks remains computationally prohibitive because bidirectional joint attention repeatedly processes large reference streams. While existing optimization schemes mitigate generic temporal redundancy, they typically rely on coarse-grained static reuse and overlook the distinct dynamics of references and targets. Specifically, we observe that reference representations often evolve slowly along the generation trajectory, while the target often assigns little attention mass to them; reference drift and this target-to-reference exposure jointly shape how strongly stale reference states affect the target. To exploit these patterns, we introduce \RefAdapt, a training-free framework for adaptive control of joint attention between references and targets. Instead of rigid static strategies, \RefAdapt combines consecutive target-Q change with previously observed target-to-reference attention mass to control reference computation adaptively at block granularity. Under ultra-few-step settings, \RefAdapt enables speedups of up to 2.097× on 4-step MiniMax H3 and 3.54× on 8-step Qwen Image Edit, while maintaining comparable visual quality.
Figures & tables
Figure 1: Matched reference–target K/V dynamics. Heatmaps show transition (horizontal), block (vertical), and prompt-averaged ρ (color; negative means slower Ref motion). Right profiles show mean Ref drift horizontally and block vertically; pink spans prompts. H3 uses the nine shared blocks.
Model (steps × blocks)
Ref mass
Tgt mass
Tgt/Ref
MiniMax H3 ( 49×50 )
9.51%
90.49%
9.52×
Qwen Image Edit ( 40×60 )
14.66%
85.34%
5.82×
Table 1: Trajectory-wide directional attention allocation in full-fresh joint attention.
Figure 2: Adjacent-step directional Ref-mass stability. Horizontal: block; vertical: mean change Δˉb in percentage points (shared scale). Mass is exposure, not causal effect or a standalone reuse rule.
Figure 3: Exposure-conditioned endpoint score versus local perturbation. Each point is one (t,b,h) comparison: horizontal EKVMY→R , vertical IKV , and color current per-head exposure M to the operational Ref set defined above. This diagnostic does not define the deployed controller score.
Figure 4: RefAdapt-DiT at one step. Per-head target-Q change D and lagged reference exposure M form D×M ; the first block whose head mean reaches θ sets the depth cutoff. Earlier blocks reuse , the boundary reactivate s, and deeper blocks compute .
Method
Type
Efficiency
MultiBanana Evaluation
Speedup ↑
Time ↓
IA ↑
RC ↑
BSM ↑
PR ↑
VQ ↑
MB Score ↑
Full computation
–
1.00 ×
60.39
1.286
1.735
1.408
1.878
2.163
14.512
TeaCache ( Liu et al., 2025a )
C
1.13 ×
53.30
1.367 [-1pt] ( +0.081 )
1.571 [-1pt] ( −0.164 )
1.306 [-1pt] ( −0.102 )
1.816 [-1pt] ( −0.062 )
2.041 [-1pt] ( −0.122 )
13.977 [-1pt] ( −0.535 )
SeaCache ( Chung et al., 2026 )
C
1.60 ×
37.63
1.347 [-1pt] ( +0.061 )
1.959 [-1pt] ( +0.224 )
1.551 [-1pt] ( +0.143 )
1.776 [-1pt] ( −0.102 )
2.122 [-1pt] ( −0.041 )
15.367 [-1pt] ( +0.855 )
TaylorSeer ( Liu et al., 2025b ) ( I=2 )
F
1.61 ×
37.58
1.396 [-1pt] ( +0.110 )
1.875 [-1pt] ( +0.140 )
1.438 [-1pt] ( +0.030 )
2.083 [-1pt] ( +0.205 )
2.271 [-1pt] ( +0.108 )
15.605 [-1pt] ( +1.093 )
ToMe ( Bolya & Hoffman, 2023 )
T
1.06 ×
56.74
1.200 [-1pt] ( −0.086 )
1.180 [-1pt] ( −0.555 )
1.120 [-1pt] ( −0.288 )
1.280 [-1pt] ( −0.598 )
1.180 [-1pt] ( −0.983 )
10.720 [-1pt] ( −3.792 )
Table 2: Qwen Image Edit on 100 MultiBanana cases (8 steps). MB Score is the official aggregate; time is in seconds. ResComp denotes orthogonal resolution compression.
Figure 5: Qwen qualitative comparison for two multi-reference cases. Columns show full computation and four accelerated methods.
Figure 6: H3 qualitative comparison over sampled frames. Rows show full computation, SeaCache, and RefAdapt-DiT .
Method
Type
Efficiency
VLM Eval.
Video Qual.
Text Align.
Temporal Cons.
Speedup ↑
Time ↓
EditQ ↑
Pick ↑
Frame ↑
Video ↑
CLIP ↑
DINO ↑
Full computation
–
1.000 ×
200.80
7.280
20.528
28.243
24.994
0.990
0.990
TeaCache ( Liu et al., 2025a )
C
1.341 ×
149.69
7.340 [-1pt] ( +0.060 )
20.509 [-1pt] ( −0.019 )
28.294 [-1pt] ( +0.051 )
25.051 [-1pt] ( +0.057 )
0.990 [-1pt] ( +0.000 )
0.990 [-1pt] ( +0.000 )
SeaCache ( Chung et al., 2026 )
C
1.334 ×
150.52
7.060 [-1pt] ( −0.220 )
20.389 [-1pt] ( −0.139 )
28.197 [-1pt] ( −0.046 )
24.800 [-1pt] ( −0.194 )
0.988 [-1pt] ( −0.002 )
0.986 [-1pt] ( −0.004 )
TaylorSeer ( Liu et al., 2025b )
F
1.333 ×
150.67
7.361 [-1pt] ( +0.081 )
20.506 [-1pt] ( −0.022 )
28.305 [-1pt] ( +0.062 )
25.062 [-1pt] ( +0.068 )
0.990 [-1pt] ( +0.000 )
0.990 [-1pt] ( +0.000 )
ToMe ( Bolya & Hoffman, 2023 )
T
1.207 ×
166.37
5.028 [-1pt] ( −2.252 )
19.851 [-1pt] ( −0.677 )
27.755 [-1pt] ( −0.488 )
24.614 [-1pt] ( −0.380 )
0.988 [-1pt] ( −0.002 )
0.985 [-1pt] ( −0.005 )
Table 3: MiniMax H3 on 100 EditVerseBench cases (4 steps). Quality follows the official protocol; time is in seconds. ResComp denotes orthogonal resolution compression.
Configuration
Controller cue
Speedup ↑
PSNR ↑
SSIM ↑
Full computation
–
1.000 ×
–
1.0000
Fixed R3
fixed interval
1.464 ×
18.00
0.8823
Target-Q
consecutive target-Q
1.459 ×
29.81
0.9879
Exposure
directional exposure
1.459 ×
32.24
0.9958
RefAdapt-DiT
target-Q × exposure
1.482 ×
31.24
0.9937
Anchor-Q × Exposure
anchor-Q × exposure
1.376 ×
29.78
0.9864
Table 4: MiniMax H3 controller ablation on a separate 50-step Ref2VA trajectory. Adaptive variants share the executor and differ only in trigger cue; Fixed R3 is non-adaptive. Speedup uses the depth-wise executor; PSNR/SSIM are same-seed diagnostics from the signal-matched closed-loop replay and indicate trajectory fidelity, not absolute perceptual quality.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Method
3 refs
4 refs
5 refs
6 refs
7 refs
8 refs
Overall
ToMe
1.09 ×
1.08 ×
1.07 ×
1.07 ×
1.06 ×
1.07 ×
1.06 ×
TeaCache
1.13 ×
1.14 ×
1.13 ×
1.14 ×
1.13 ×
1.13 ×
1.13 ×
SeaCache
1.59 ×
1.60 ×
1.60 ×
1.60 ×
1.57 ×
1.62 ×
1.60 ×
TaylorSeer ( I=2 )
1.59 ×
1.60 ×
1.60 ×
1.60 ×
1.60 ×
1.61 ×
1.61 ×
RefAdapt-DiT
2.09 ×
2.26 ×
2.38 ×
2.49 ×
2.57 ×
2.62 ×
2.58 ×
Appendix
Table 5: Qwen generation speedup by number of reference images. TaylorSeer uses interval 2. Speedup is relative to full computation at the same reference count.
Diagnostic
H3 Ref2VA
Qwen multi-image
Raw endpoint vs. IKV
0.564
0.708
Endpoint × exposure vs. IKV
0.826
0.905
Target-Q change vs. It+1KV
0.607
0.710
Target-Q × runtime exposure vs. It+1KV
0.869
0.846
Sensitivity blocks improved by exposure
9/9
7/7
Appendix
Table 6: Mechanism statistics for the current canonical H3 and Qwen cases. Spearman correlations are within-case diagnostics and are reported separately for each setting.
Figure 7: Retained left-half panels from the full-block Qwen reference/target dynamics diagnostics. These four panels report target and mean-reference consecutive drift for K and V across blocks and denoising steps; the dropped right-half panels contained the corresponding log-ratio and per-block timing-coupling summaries.
Figure 8: Complete H3 raw-partition attention diagnostics. The main text keeps target exposure to Ref and aggregates the remaining mass as Tgt; the remaining panels report implementation-level allocation and directional asymmetry. Every arrow in the panel titles runs from query role to key role, not along causal flow.
Signal / target
Pearson ↑
Spearman ↑
Runtime stale-reference exposure vs. It+1KV
0.479
0.789
Target-Q anchor change vs. It+1KV
0.390
0.418
Anchor change × exposure vs. It+1KV
0.589
0.545
Appendix
Table 7: Additional H3 runtime-signal diagnostics from one complete Ref2VA trajectory. Correlations are within-case screening statistics, not confidence estimates over independent inputs.
Figure 9: Block-wise support for exposure conditioning. In every measured sensitivity block, endpoint drift weighted by target exposure has higher Spearman association with local stale-KV impact than raw endpoint drift (9/9 H3 blocks and 7/7 Qwen blocks).
Model
Case
Prompt
MiniMax H3
canonical
Reimagine the animal from the reference video as a giant panda ambling through the snowy forest, same motion and camera path, breath misting, soft wind and distant birdsong
MiniMax H3
red_fox_autumn
Reimagine the animal from the reference video as a red fox trotting through an autumn maple forest, preserve the original motion and camera path, rustling leaves, warm sunset light, and natural forest ambience
MiniMax H3
robot_dog_neon
Reimagine the animal from the reference video as a small silver robot dog exploring a rain-soaked neon city street, preserve the original motion and camera path, reflected lights, light rain, and distant traffic ambience
Qwen
canonical
the woman and man are hugging together
Qwen
outdoor_cafe
Place the woman and the man seated across from each other at a small outdoor cafe table, preserving both identities and realistic facial details
Qwen
umbrella_neon
Place the woman and the man standing back-to-back under one transparent umbrella on a rainy neon-lit street, preserving both identities and realistic facial details
Appendix
Table 8: Exact prompts used to construct the three-prompt reference-drift profiles in Figure 1 .
In-context diffusion transformers concatenate instruction, target, and reference tokens into a single sequence for joint attention. Reference-side computation must therefore be repeated at every denoising step, with the cost growing rapidly as more references are added. Decoupling reference tokens from the target enables exact key-value reuse across denoising steps, but prevents the references from attending to the instruction, degrading instruction following and reference fidelity. This trade-off cannot be resolved through attention-mask design alone. We introduce AnchorCache, a parameter-free token-layout and attention-mask co-design that inserts static text anchors. These anchors condition the reference representations on the instruction during cache construction, after which the resulting reference keys and values can be reused exactly across denoising steps. To recover the quality initially lost through this structural conversion, we apply teacher-forced velocity distillation followed by a short on-policy stage that queries the teacher at student-visited states. To our knowledge, this is the first use of on-policy distillation for architectural recovery in diffusion models. Across benchmarks spanning image, speech, and video generation, AnchorCache matches full-attention quality. Its efficiency gains increase with the reference-context size, reaching a 6.40x speedup in diffusion transformer inference.
Generating images beyond the training resolution of Diffusion Transformers (DiTs) remains challenging, as the number of tokens grows rapidly with resolution, full attention becomes expensive, and outputs often suffer from structural distortions and degraded detail. We identify uniform full attention as the common source of both problems. Attending to all tokens at every step causes quadratic cost and exposes the model to more tokens and relative distances beyond the training range, pushing the model out of distribution. We observe that attention's effective receptive field narrows during denoising, from global in early steps that form structure to local in later steps that refine details. We propose AReA, a training-free attention mechanism whose receptive field evolves from coarse to fine, following the denoising progression. In early steps, AReA applies cross-scale coarse attention over downsampled keys and values, capturing global context, while in later steps it applies local attention within progressively shrinking windows. Without additional parameters or training, experiments show that AReA consistently outperforms state-of-the-art training-free baselines across target resolutions and different models, while also being faster and more efficient.
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 18.3× and 14.2× 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.