T2ISpec: Benchmarking Speculative Decoding for Text-to-Image Generation
Organizations: University of Michigan – Ann Arbor · Stanford University · University of Pennsylvania · Independent ·
Abstract
Text-to-image (T2I) generators produce detailed images but remain slow at inference. Speculative decoding can reduce this cost, yet its behavior across the rendering requirements of T2I prompts remains insufficiently understood. We introduce T2ISpec, a benchmark of 1,400 prompts balanced across seven rendering topics and two difficulty levels. It evaluates autoregressive and diffusion/flow accelerators by latency, work performed by the target model, and image quality. Our study reveals three key findings: (1) aggregate results hide large differences between topics, (2) alignment and preference scores can disagree with prompt constraint satisfaction, and (3) large reductions in target work can yield limited latency gains. Motivated by these findings, we propose TopicRoute, a plugin that combines prompt routing with speculative and cache controls without retraining the generator. Across six model--method pairs, it achieves a geometric mean speedup of 1.0308x over the native methods, and the speedup carries over to external prompts with the same settings, while quality gains and losses vary across configurations.
Figures & tables
| Model | Method | Color | Text | Persp. | Count | Motion | Texture | Common. | Overall | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Janus-Pro-7B | Training-free Methods | ||||||||||||||||
| Target-only | 0.994 | 1.0000 | 0.637 | 1.0000 | 0.990 | 1.0000 | 0.620 | 1.0000 | 0.745 | 1.0000 | 0.991 | 1.0000 | 0.893 | 1.0000 | 0.839 | 1.0000 | |
| CSD | 0.992 | 1.5617 | 0.679 | 1.6966 | 0.993 | 1.7178 | 0.638 | 1.6677 | 0.764 | 1.8441 | 0.983 | 1.9846 | 0.910 | 1.5629 | 0.851 | 1.7101 | |
| SJD | 0.925 | 1.3194 | 0.472 | 1.3643 | 0.954 | 1.3587 | 0.465 | 1.3239 | 0.559 | 1.4011 | 0.932 | 1.3654 | 0.795 | 1.3207 | 0.729 | 1.3508 | |
| LlamaGen Stage I, | Training-based Methods | ||||||||||||||||
| Model | Method | Color | Text | Persp. | Count | Motion | Texture | Common. | Overall | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FLUX.1-schnell | Training-free Methods | ||||||||||||||||
| Target-only | 0.997 | 1.0000 | 0.847 | 1.0000 | 0.985 | 1.0000 | 0.827 | 1.0000 | 0.661 | 1.0000 | 0.985 | 1.0000 | 0.945 | 1.0000 | 0.892 | 1.0000 | |
| TaylorSeer | 0.995 | 1.6279 | 0.838 | 1.6181 | 0.992 | 1.6117 | 0.816 | 1.6112 | 0.759 | 1.6128 | 0.995 | 1.6105 | 0.917 | 1.6121 | 0.902 | 1.6149 | |
| FLUX.1-dev | Training-free Methods | ||||||||||||||||
| Target-only | 0.993 | 1.0000 | 0.779 | 1.0000 | 0.996 | 1.0000 | 0.757 | 1.0000 | 0.703 | 1.0000 | 0.991 | 1.0000 | 0.907 | 1.0000 | 0.875 | 1.0000 | |
| Speed | Quality | Group criteria | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Model | Method | CLIP | IR | HPS | /7 | /8 | Pass | |||
| Janus-Pro-7B | CSD | 2.3786 | 0.2325 | 0.8396 | 0.7310 | 0.6461 | 0.2509 | |||
| w/ TopicRoute | 2.4106 | 0.2177 | 0.8421 | 0.7315 | 0.6417 | 0.2510 | 6 | 6 | Yes | |
| LlamaGen Stage I | LANTERN | 0.9444 | 0.0659 | 0.6489 | 0.5202 | -1.6908 | 0.1544 | |||
| w/ TopicRoute | 1.0143 | 0.0226 | 0.6426 | 0.5197 | -1.6826 | 0.1543 | 7 | 5 | Yes | |
| Lumina-mGPT | SJD | 1.7961 | 0.0311 | 0.7551 | 0.6879 | 0.2743 | 0.2698 | |||
Appendix figures & tables26 assets
Supplementary material from the paper’s appendix.
Appendix
| Topic | Easy summary | Hard summary |
|---|---|---|
| Color | A silver brass clock, violet wool basket, and charcoal frosted glass tray share a display. | A coral clock, turquoise pitcher, and amber fan remain locally colored under partial occlusion. |
| Text/symbols | An index card shows QUIET ZONE, , a four-row table, and DESK 12. | Every requested word, digit, and symbol keeps its sequence and orientation despite borders and wear. |
| Perspective | Square doorframes converge down a museum corridor; a ceramic pot establishes scale. | Boundaries, contacts, and depth cues must support all relations from one coherent camera. |
| Counting | Exactly ten lanterns form two straight rows of five with equal spacing. | Exactly ten apples form a grid partially interrupted by a foreground object yet still countable. |
| Motion | A galloping horse remains readable while a light motion trace marks its trajectory. | Fast and slow components require distinct plausible blur, with pose, contacts, and shadow consistent. |
| Texture | Butterfly wing scales and bounded color patches follow the natural three-dimensional form. | Fine and coarse cat fur structure must remain distinct and follow folds, curves, and layers. |
| Method | Family | Drafting or acceleration mechanism |
| Training-based methods | ||
| LANTERN | AR | Learned auxiliary drafter; relaxed acceptance of visual tokens |
| LANTERN++ | AR | Learned drafter with static draft trees |
| ADT-Tree + LANTERN | AR | Learned drafter with trees that adapt to adjacency |
| VVS | AR | Learned visual drafter with partial verification skipping |
| Training-free methods | ||
| Method | CLIP | IR | HPS | |
|---|---|---|---|---|
| Autoregressive | ||||
| Janus-Pro-7B, | ||||
| CSD | +0.0003 | -0.0143 | -0.0014 | +0.0127 |
| SJD | -0.1406 | -1.4862 | -0.0545 | -0.1095 |
| LlamaGen Stage I, | ||||
| LANTERN | +0.0195 | +0.1467 | +0.0143 | +0.0499 |
| Method | Color | Text | Persp. | Count | Motion | Texture | Common. |
|---|---|---|---|---|---|---|---|
| Autoregressive | |||||||
| Janus-Pro-7B, | |||||||
| Training-free Methods | |||||||
| Target-only | 0.7553 | 0.7483 | 0.7248 | 0.7081 | 0.6999 | 0.7058 | 0.7806 |
| CSD | 0.7571 | 0.7388 | 0.7339 | 0.7094 | 0.6994 | 0.7018 | 0.7846 |
| SJD | 0.6116 | 0.5313 | 0.5889 | 0.5970 | 0.5924 | 0.5830 | 0.6347 |
| Method | Color | Text | Persp. | Count | Motion | Texture | Common. |
|---|---|---|---|---|---|---|---|
| Autoregressive | |||||||
| Janus-Pro-7B, | |||||||
| Training-free Methods | |||||||
| Target-only | 0.9530 | 0.0690 | 0.7621 | 0.3643 | 0.8019 | 0.4464 | 1.1370 |
| CSD | 0.9499 | 0.0120 | 0.7651 | 0.3957 | 0.8444 | 0.4118 | 1.0550 |
| SJD | -1.0531 | -1.2116 | -1.2552 | -0.6553 | -0.3127 | -0.8959 | -0.4857 |
| Method | Color | Text | Persp. | Count | Motion | Texture | Common. |
|---|---|---|---|---|---|---|---|
| Autoregressive | |||||||
| Janus-Pro-7B, | |||||||
| Training-free Methods | |||||||
| Target-only | 0.2811 | 0.2121 | 0.2508 | 0.2388 | 0.2499 | 0.2458 | 0.2856 |
| CSD | 0.2803 | 0.2095 | 0.2508 | 0.2390 | 0.2482 | 0.2437 | 0.2830 |
| SJD | 0.2093 | 0.1612 | 0.1903 | 0.1969 | 0.2046 | 0.1959 | 0.2241 |
| Method | SigLIP | Aesth. | Safety | |
|---|---|---|---|---|
| Autoregressive | ||||
| Janus-Pro-7B, | ||||
| Training-free Methods | ||||
| Target-only | 0.9603 | 5.3618 | 0.8406 | 0.9879 |
| CSD | 0.9565 | 5.3552 | 0.8429 | 0.9864 |
| SJD | 0.5791 | 5.1897 | 0.6449 | 0.9814 |
| Method / reference | |||||
|---|---|---|---|---|---|
| Autoregressive | |||||
| Janus-Pro-7B, | |||||
| Training-free Methods | |||||
| Target-only | 0.8236 | 0.8536 | +0.0300 | 1.000 | 1.000 |
| CSD | 0.8417 | 0.8610 | +0.0193 | 1.742 | 1.691 |
| SJD | 0.7360 | 0.7221 | -0.0138 | 1.356 | 1.346 |
| Method | CLIP | ImageReward | HPS | ||
|---|---|---|---|---|---|
| Janus-Pro-7B, | |||||
| CSD | [1.580, 1.855] | [-0.0032, 0.0039] | [-0.0434, 0.0159] | [-0.0024, -0.0004] | [-0.0027, 0.0276] |
| LlamaGen Stage I, | |||||
| LANTERN | [1.078, 1.093] | [0.0146, 0.0243] | [0.1170, 0.1746] | [0.0126, 0.0160] | [0.0252, 0.0748] |
| LANTERN++ | [3.530, 3.688] | [-0.0078, 0.0022] | [-0.0581, 0.0018] | [-0.0073, -0.0038] | [-0.0432, 0.0105] |
| LlamaGen Stage II, | |||||
| Method | Color | Text | Persp. | Count | Motion | Texture | Common. |
|---|---|---|---|---|---|---|---|
| (a) Topic criterion change | |||||||
| Janus-Pro-7B, | |||||||
| CSD | [-0.012, 0.005] | [-0.018, 0.101] | [-0.004, 0.011] | [-0.056, 0.090] | [-0.014, 0.053] | [-0.023, 0.003] | [-0.008, 0.039] |
| LlamaGen Stage I, | |||||||
| LANTERN | [-0.012, 0.078] | [-0.163, -0.024] | [0.143, 0.272] | [-0.079, 0.078] | [0.016, 0.168] | [0.023, 0.138] | [-0.016, 0.074] |
| LANTERN++ | [-0.184, -0.081] | [-0.114, 0.042] | [0.077, 0.222] | [-0.151, -0.010] | [-0.122, 0.033] | [0.014, 0.140] | [-0.097, -0.002] |
| Method | Setting | (s) | (s) | CLIP | IR | HPS | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| Diffusion SD | 7.364 | 13.799 | 0.534 | 0.1110 | 0.1094 | -0.0015 | +0.0003 | -0.0001 | +0.0006 | |
| 6.439 | 43.662 | 0.147 | 0.1110 | 0.1085 | -0.0025 | -0.0028 | 0.0000 | +0.0008 | ||
| ASD | 12.608 | 23.721 | 0.531 | 0.1110 | 0.1081 | -0.0029 | +0.0002 | -0.0001 | +0.0006 | |
| 12.605 | 86.320 | 0.146 | 0.1110 | 0.1032 | -0.0077 | -0.0022 | +0.0001 | +0.0008 | ||
| Block verification | 12.610 | 18.433 | 0.684 | 0.1110 | 0.1088 | -0.0021 | +0.0036 | +0.0006 | +0.0007 | |
| 12.607 | 49.989 | 0.252 | 0.1110 | 0.1011 | -0.0099 | +0.0025 | +0.0003 | +0.0014 |
| Method | Target | Color | Text | Persp. | Count | Motion | Texture | Common. | Overall | Spread (%) |
|---|---|---|---|---|---|---|---|---|---|---|
| Autoregressive | ||||||||||
| CSD | Janus-Pro-7B | 1.5617 | 1.6966 | 1.7178 | 1.6677 | 1.8441 | 1.9846 | 1.5629 | 1.7101 | 27.08 |
| SJD | Janus-Pro-7B | 1.3194 | 1.3643 | 1.3587 | 1.3239 | 1.4011 | 1.3654 | 1.3207 | 1.3508 | 6.19 |
| LANTERN | LlamaGen | 1.0789 | 1.1719 | 1.0630 | 1.1540 | 1.0880 | 1.1223 | 1.0692 | 1.1063 | 10.25 |
| LANTERN++ | LlamaGen | 4.4682 | 4.5694 | 4.2519 | 4.8069 | 4.4900 | 4.6403 | 4.4377 | 4.5219 | 13.05 |
| VVS | LlamaGen | 0.9686 | 1.0441 | 1.0460 | 1.0573 | 1.0391 | 1.0414 | 1.0474 | 1.0337 | 9.16 |
| Method | Scope | Target (s) | Method (s) | ||
|---|---|---|---|---|---|
| Mean | Median | Mean | Median | ||
| Autoregressive | |||||
| Janus-Pro-7B, | |||||
| CSD | warm | 14.138 | 12.748 | 8.268 | 8.270 |
| SJD | request | 8.810 | 8.028 | 6.522 | 6.119 |
| LlamaGen Stage I, | |||||
| Method | Warm time | Prefill | Token gen. | Decode | Postproc. | Proposal | Verify | Controller |
|---|---|---|---|---|---|---|---|---|
| Janus-Pro-7B, | ||||||||
| Target-only | 14.1384 | 0.0368 | 14.1081 | 0.0271 | 0.0004 | |||
| CSD | 8.2677 | 0.0642 | 8.2297 | 0.0359 | 0.0001 | 0.0000 | 7.8764 | 0.3534 |
| LlamaGen Stage I, | ||||||||
| Target-only | 6.3657 | 0.0437 | 6.3276 | 0.0203 | 0.0021 | |||
| LANTERN | 5.7446 | 0.0337 | 5.7223 | 0.0086 | 0.0011 | 0.8871 | 3.6131 | 1.2221 |
| (a) Speed relative to the native method by topic and Overall | ||||||||
|---|---|---|---|---|---|---|---|---|
| Method | Color | Text | Persp. | Count | Motion | Texture | Common. | Overall |
| Janus / CSD | 1.0123 | 1.0020 | 1.0250 | 1.0258 | 0.9999 | 1.0000 | 1.0262 | 1.0134 |
| LANTERN | 1.0542 | 1.0984 | 1.0849 | 1.0860 | 1.0797 | 1.0889 | 1.0491 | 1.0739 |
| Lumina / SJD | 0.9959 | 0.9939 | 0.9992 | 1.0001 | 1.0002 | 1.0069 | 1.0010 | 0.9995 |
| Anole / SJD | 1.0003 | 1.0031 | 1.0001 | 1.0042 | 1.0001 | 1.0001 | 1.0117 | 1.0029 |
| TaylorSeer | 1.0862 | 1.0936 | 1.0943 | 1.0866 | 1.0945 | 1.0940 | 1.0861 | 1.0916 |
| Method | 95% interval | 95% interval | ||
|---|---|---|---|---|
| Janus / CSD | 1.0134 | [1.0098, 1.0171] | +0.0025 | [-0.0060, +0.0107] |
| LANTERN | 1.0739 | [1.0707, 1.0772] | -0.0063 | [-0.0286, +0.0148] |
| Lumina / SJD | 0.9995 | [0.9976, 1.0015] | +0.0104 | [-0.0001, +0.0207] |
| Anole / SJD | 1.0029 | [1.0015, 1.0043] | +0.0015 | [-0.0073, +0.0105] |
| TaylorSeer | 1.0916 | [1.0912, 1.0920] | -0.0154 | [-0.0262, -0.0040] |
| SpeCa | 1.0074 | [1.0060, 1.0088] | +0.0063 | [-0.0019, +0.0140] |
| Group | Variant | Run | /7 | /8 | Ctrl. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Janus / CSD | Final policy, rerun | 1 | 1.0172 | 2.4595 | 5 | 0.2548 | 0.2375 | -0.0060 | 1 | – |
| Uniform window, no topic routing | 2 | 1.0299 | 2.5123 | 7 | 0.1742 | 0.1929 | -0.0115 | 6 | 749 | |
| Final policy, rerun | 3 | 1.0163 | 2.4680 | 7 | 0.2658 | 0.2488 | -0.0026 | 3 | 554 | |
| No hash gate | 3 | 1.0214 | 2.4883 | 5 | 0.2676 | 0.2303 | -0.0035 | 2 | 554 | |
| Final policy, rerun | 4 | 1.0159 | 2.4880 | 5 | 0.2981 | 0.2670 | -0.0035 | 2 | 754 | |
| Shuffled route | 4 | 1.0198 | 2.4944 | 7 | 0.3021 | 0.3399 | +0.0076 | 5 | 754 |
| Method | 95% interval | CLIP | IR | HPS | Aes. | SigLIP | Safe | /6 | ||
|---|---|---|---|---|---|---|---|---|---|---|
| Janus / CSD | 1.0566 | [1.0429, 1.0706] | 3.0898 | +0.0037 | -0.0106 | +0.0006 | +0.0195 | +0.0164 | -0.0100 | 4 |
| LANTERN | 1.0474 | [1.0408, 1.0543] | 1.0286 | +0.0102 | +0.1204 | +0.0014 | +0.0434 | +0.0408 | -0.0200 | 5 |
| Lumina / SJD | 0.9984 | [0.9936, 1.0030] | 1.8887 | +0.0032 | -0.0265 | -0.0000 | +0.0341 | +0.0129 | -0.0050 | 3 |
| Anole / SJD | 1.0142 | [1.0077, 1.0222] | 1.4076 | +0.0005 | +0.0302 | -0.0001 | -0.0020 | +0.0060 | -0.0100 | 3 |
| TaylorSeer | 1.0972 | [1.0970, 1.0975] | 1.7690 | +0.0050 | -0.0294 | -0.0167 | -0.2216 | -0.0104 | -0.0400 | 1 |
| SpeCa | 1.0143 | [1.0100, 1.0188] | – | +0.0017 | +0.0010 | -0.0001 | -0.0012 | +0.0015 | +0.0000 | 4 |
| Family | Configuration | /7 | IR | ||||
|---|---|---|---|---|---|---|---|
| Later complete variants | |||||||
| SpeCa | guarded budget 0.25 | 1.059 | 7 | 0.050 | 0.036 | -0.0605 | -0.0578 |
| SpeCa | guarded refresh | 1.094 | 7 | 0.050 | 0.036 | -0.0645 | -0.0581 |
| SpeCa | guarded prefix | 1.018 | 7 | 0.050 | 0.047 | -0.0552 | -0.0066 |
| SpeCa | early relaxation | 1.005 | 3 | 0.050 | 0.038 | -0.0593 | -0.0075 |
| Component ablations | |||||||
| Configuration | CLIP | IR | HPS | Aesthetic | |
|---|---|---|---|---|---|
| Initial sensitivity scan | |||||
| Adaptive, budget 1, minimum gain 0 | 0.344 | 0.6631 | 1.1143 | 0.3078 | 5.8789 |
| Original adaptive controller | 0.348 | 0.6628 | 1.0944 | 0.3078 | 5.8727 |
| Adaptive, maximum horizon 2 | 0.338 | 0.6634 | 1.1170 | 0.3080 | 5.8691 |
| Adaptive, risk 1, budget 0.5, horizon 4 | 0.344 | 0.6631 | 1.1155 | 0.3078 | 5.8799 |
| Adaptive, risk 1, budget 1 | 0.344 | 0.6631 | 1.1145 | 0.3078 | 5.8757 |
| Horizon | Target-only p50 (ms) | Sequential speculative p50 (ms) | Median paired ratio |
|---|---|---|---|
| 2 | 19,320.727 | 21,509.036 | 0.8983 |
| 4 | 19,313.023 | 23,767.021 | 0.8126 |
Diffusion Model Inference Acceleration
Diffusion model inference acceleration reduces the time and compute needed to generate or reconstruct outputs while preserving quality.
See all 563 papers