T2ISpec: Benchmarking Speculative Decoding for Text-to-Image Generation

Yifan Zhang, Shatong Zhu, Hui Shen, Yunta Hsieh, Jianing Ma, Muxin Fu, Xin Wang, Ping Zhang, Qian Chen, Chaofan TaoarXiv 2026

Imagine you’re waiting for a high-end AI to paint a masterpiece. It’s brilliant, but it’s slow—like watching a Victorian artist meticulously apply oil paint one stroke at a time. To speed things up, researchers use a trick called Speculative Decoding: a small, fast "assistant" model makes a bunch of quick guesses, and the big, "expert" model checks them all at once.

But here’s the catch: while this makes the average generation faster, it’s often a "one-size-fits-all" solution. A prompt asking for a "blurry sunset" is a very different beast than one asking for "exactly seven green bottles with readable labels." This paper introduces T2ISpec, a benchmark designed to show us exactly where these speed-up tricks succeed—and where they fail.

TL;DR

Speculative decoding speeds up image generation, but aggregate performance scores often hide the fact that these methods fail miserably on specific tasks like rendering text or counting objects. This paper introduces T2ISpec, a benchmark that exposes these topic-specific failures, and TopicRoute, a lightweight "traffic controller" that boosts both speed and quality by tailoring decoding strategies to the prompt's specific requirements.

What Problem Does This Paper Address?

Text-to-Image (T2I) generators are notoriously compute-heavy. Whether they are Autoregressive (predicting visual tokens one by one) or Diffusion-based (denoising pixels over many steps), they take a long time to run.

Speculative decoding (SD) is the leading strategy to fix this. However, the field has lacked a unified way to measure how SD affects different types of images. If an accelerator makes "scenery" 2x faster but makes "text on signs" unreadable, is it actually a win? Most current benchmarks only look at average speedups and generic quality scores (like CLIP), which can be blind to specific failures in counting, perspective, or text rendering.

Methods

The authors tackle this with a two-pronged approach:

  1. T2ISpec Benchmark: They created a balanced dataset of 1,400 prompts across seven "rendering topics" (Color, Text, Perspective, Counting, Motion, Texture, and Commonsense) and two difficulty levels.
  2. Unified Evaluation: Instead of just looking at "pretty" images, they used state-of-the-art Vision-Language Models (VLMs) like Qwen2.5-VL as "judges" to see if the generated images actually followed the prompt's constraints (e.g., "Are there really four bottles?").
  3. TopicRoute: Based on their findings, they built a plugin called TopicRoute. It uses a simple classifier to identify the topic of a prompt and then routes it to a specific "policy"—adjusting things like the "speculative horizon" (how many guesses the assistant makes) or caching settings—to optimize for that specific task without needing to retrain the underlying models.
Figure 2. Example prompts and generated images from the seven T2ISPEC topics. Prompt excerpts highlight the rendering requirement of each topic. The images are selected from the better outputs generated in our experiments.

Datasets

The researchers introduced the T2ISpec benchmark, which draws from several established sources:

  • MS-COCO (General scenes)
  • PartiPrompts (Complex descriptions)
  • GenEval (Object-focused)
  • T2I-CompBench (Compositional logic)

They evaluated these prompts across a wide range of modern models, including Janus-Pro, LlamaGen, Lumina-mGPT, and the popular FLUX.1 family.

Key Insights and Ideas

  • Averages Lie: A method might show a great "Overall" speedup, but Figure 1 shows that performance varies wildly by topic. For instance, a method might be 20% faster for textures but actually slower or much lower quality for text.
  • The Metric Mismatch: Standard metrics like CLIP or ImageReward often disagree with actual constraint satisfaction. A model might get a high "preference" score for a beautiful image even if it failed to include the specific number of objects requested.
  • The Latency Gap: Reducing the "work" (number of forward passes) of the big model doesn't always lead to a proportional speedup. The overhead of the assistant model and the verification process can eat up the gains.
  • Topic-Awareness is a "Free" Win: By simply changing the speculative settings based on the topic (e.g., being more cautious with text but more aggressive with colors), you can improve both speed and quality without expensive retraining.
Figure 1. Topic variation within each method: 100(Sg/SOverall −1)%, where S is the ratio of mean target/method times. The dashed zero line marks each method’s Overall ratio. Linear radial ranges are ±20% for AR and ±4% for diffusion/flow. Appendix Table 15 reports absolute ratios; settings follow Section 4.1.

Key Results

  • TopicRoute Performance: Across six different model-method pairs, TopicRoute achieved a geometric mean speedup of 1.0308x over native speculative methods. While that sounds small, it’s a "free" gain achieved purely through better orchestration.
  • Consistency: TopicRoute significantly reduced the "speed disparity" between topics, making the user experience more predictable.
  • Work Reduction: In some configurations, methods like ADT-Tree cut the target model's work by 42%, though this only translated to a 1.0889x actual wall-clock speedup, highlighting the importance of measuring real-world latency.

Limitations and Future Work

  • Simple Routing: TopicRoute currently uses a basic Naive Bayes classifier. The authors suggest that more sophisticated "routers" could unlock even higher gains.
  • Scope: The benchmark focuses on English prompts and doesn't yet cover safety, demographic representation, or multilingual typography.
  • Hardware Sensitivity: The "optimal" policies for different topics are somewhat dependent on the specific GPU hardware used (NVIDIA H200 in this study), suggesting a need for hardware-aware auto-tuning in the future.

Summary updated

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.
BibTeX
@misc{zhang2026t,
  author = {Yifan Zhang and Shatong Zhu and Hui Shen and Yunta Hsieh and Jianing Ma and Muxin Fu and Xin Wang and Ping Zhang and Qian Chen and Chaofan Tao},
  title = {{T2ISpec: Benchmarking Speculative Decoding for Text-to-Image Generation}},
  year = {2026},
  eprint = {2611.29029},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29029},
}
Figure