TASQ: Temporal-Adaptive Bit Sparsification Quantization for Diffusion Models

Seokho Han, Dongwei Wang, Jinhee Kim, Yiran Chen, Kang Eun Jeon, Huanrui Yang, Jong Hwan KoarXiv 2026

TL;DR

Diffusion models waste significant computation by using the same high-precision weights across all denoising steps, even though later steps are far less sensitive to quantization. TASQ solves this by dynamically truncating least-significant bits from a single shared weight buffer based on a learned temporal-spatial schedule. This co-designed algorithm-hardware approach reduces execution cycles by 25–50% while fully preserving image generation quality.

What Problem Does This Paper Address?

Diffusion models generate high-quality images iteratively by running the same neural network over dozens of sequential "denoising" timesteps. Quantization—reducing the bit-width of weights and activations—is a standard technique to make these models small enough and fast enough to run on edge devices.

However, traditional approaches use static quantization, applying the exact same bit-width to every single timestep. The catch is that a diffusion network's sensitivity to quantization changes drastically over its trajectory. Early, noisy steps are highly sensitive and require higher precision, while later steps can tolerate much lower precision. Static quantization forces the entire process to use a high bit-width dictated by the worst-case step, wasting massive amounts of arithmetic computation.

While some recent works adapt activation precision over time, adapting weight precision has remained a bottleneck. Storing different weight copies for different timesteps would destroy the model's memory efficiency, defeating the purpose of quantization.

Methods

TASQ (Temporal-Adaptive Bit Sparsification Quantization) decouples storage precision from operating precision using three core components:

  1. Temporal-Spatial LSB Masking: Instead of storing multiple copies of weights for different timesteps, TASQ stores a single high-precision weight buffer. It learns a continuous mask ($M_{t,l}$) that determines how many least-significant bits (LSBs) can be safely dropped for a given layer ($l$) at a specific denoising stage ($t$). During training, this mask is annealed to a hard binary decision (keep or drop).
  2. Farthest-Stage-First Training: Because all stages share the same underlying most-significant bits (MSBs), training adjacent stages in sequence leads to highly correlated gradients and optimization plateaus. The authors introduce a distance-maximizing training order (e.g., Stage 0 $\rightarrow$ Stage 3 $\rightarrow$ Stage 1 $\rightarrow$ Stage 2) to ensure the shared MSBs generalize well across the entire trajectory.
  3. Temporal-Precision Engine: To translate these variable bit-widths into actual hardware speedups, the authors co-design a bit-serial execution engine. By keeping activations on-chip and streaming only the required weight bit-planes, execution cycles scale linearly with the effective bit-width without any precision-switching overhead.
Figure 2: Process of Temporal–Spatial LSB Mask Regularization and LSB Mask Annealing.

Datasets

  • Training / Distillation: Prompts sampled from MS-COCO Captions were used to perform cached-feature teacher-student distillation.
  • Evaluation: The models were evaluated using 5K prompts each from MJHQ-30K (to test high-quality stylized image generation) and sDCI (for densely captioned image distributions).
  • Additional Validation: CIFAR-10 was used to benchmark TASQ against older timestep-aware quantization methods.

Key Insights and Ideas

  • The Sensitivity Mismatch: Quantization sensitivity isn't just time-dependent; it's layer-dependent. Feed-Forward Networks (FFNs) are highly sensitive near the noisy start, whereas Attention layers peak mid-trajectory. A purely temporal or purely spatial approach misses this nuance.
  • Truncation is Free Storage: You don't need to repack or reload weights to change precision at runtime. Right-shifting or truncating bit-planes from a single shared buffer allows instantaneous precision switching.
  • Gradient Interference in Shared Weights: When multiple temporal states share the same underlying bits, standard sequential training fails. Forcing the network to learn from the most distinct parts of the timeline first ("farthest-stage-first") stabilizes the shared representations.
Figure 1: Temporal sensitivity and TASQ bit allocation across diffusion stages: FFN sensitivity peaks at noisy steps while attention peaks mid-trajectory, and TASQ assigns higher bits where sensitivity is high.

Key Results

  • Computation Savings: TASQ reduces hardware execution cycles by 25–50% compared to static quantization baselines, and by 6.1–7.5× over a naive static 8-bit bit-serial execution.
  • Quality Preservation: On PixArt-$\Sigma$, SANA-1.6B, and SDXL-Turbo, TASQ matches the image quality (measured via FID and ImageReward) of static 8-bit models while operating at a much lower average bit-width (~4 to 6 bits).
  • Hardware Efficiency: As shown in Figure 6, the Temporal-Precision Engine successfully scales clock cycles down linearly with the average effective bit-width, incurring zero overhead when switching precision between stages.
Execute cycles per denoising step under the measured bit-serial cycle law

Limitations and Future Work

  • Commodity Hardware Constraints: The cycle savings rely heavily on precision-scalable hardware (like bit-serial accelerators). On standard commodity hardware with fixed INT4 or INT8 compute kernels, a 2-bit or 3-bit layer will still execute at the cost of a 4-bit layer. Production kernels must be developed to expose these finer precision choices on emerging formats like FP4.
  • Future Directions: The authors suggest extending this work to support prompt-conditioned dynamic masks (adapting precision based on text complexity) and exploring joint weight-activation precision adaptation.

Summary updated

BibTeX
@misc{han2026tasq,
  author = {Seokho Han and Dongwei Wang and Jinhee Kim and Yiran Chen and Kang Eun Jeon and Huanrui Yang and Jong Hwan Ko},
  title = {{TASQ: Temporal-Adaptive Bit Sparsification Quantization for Diffusion Models}},
  year = {2026},
  eprint = {2608.03057},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.03057},
}
Figure