CoReDiT: Spatial Coherence-Guided Token Pruning and Reconstruction for Efficient Diffusion Transformers

Zhuojin Li, Hsin-Pai Cheng, Hong Cai, Shizhong Han, Fatih Porikli

TL;DR

CoReDiT is a novel post-training framework that accelerates Diffusion Transformers (DiTs) by pruning spatially redundant tokens (like uniform backgrounds) from self-attention computation in linear time. By introducing a coherence-guided reconstruction mechanism and a progressive, block-adaptive pruning schedule, CoReDiT achieves up to a 55% reduction in self-attention FLOPs and up to a 1.72× speedup on mobile NPUs while maintaining high visual fidelity and expanding memory headroom for higher-resolution generation.

What Problem Does This Paper Address?

While Diffusion Transformers (DiTs) have set new benchmarks for high-quality image and video synthesis, their computational appetite is massive. The core bottleneck is the self-attention mechanism, which scales quadratically ($O(N^2)$) with the number of tokens. This makes high-resolution generation or deployment on edge devices (like mobile NPUs) incredibly challenging.

A large portion of generative tokens correspond to low-saliency, redundant regions—such as flat skies or smooth backgrounds. While prior work has attempted to prune or merge these tokens, doing so effectively in diffusion models introduces three major hurdles:

  1. Overhead: Calculating which tokens to prune using global attention matrices often costs more than the savings from pruning itself.
  2. Visual Artifacts: Naively dropping tokens breaks spatial continuity, leading to visible texture tears and boundary distortions.
  3. Dynamic Redundancy: Redundancy changes drastically across different transformer blocks and denoising timesteps, making fixed pruning ratios highly suboptimal.

CoReDiT addresses all three challenges simultaneously.

Methods

The CoReDiT framework introduces a three-pronged approach to structured token pruning and reconstruction:

Figure 1. Workflow of CoReDiT. In each transformer block, input tokens X are partitioned into retained tokens XR and skipped to- kens XS using the proposed spatial coherence score that captures local redundancy (Sec. 3.1). Only the retained tokens XR partici- pate in self-attention, reducing attention compute by skipping XS. We then reconstruct the missing attention outputs YS from nearby retained outputs YR via coherence-guided aggregation (Sec. 3.2), preserving a dense token lattice for subsequent blocks. Finally, we learn an adaptive pruning-ratio schedule via coherence-guided progressive pruning during lightweight fine-tuning (Sec. 3.3).

1. Spatial Coherence-Based Selector

Instead of computing expensive global attention scores, CoReDiT exploits local redundancy. The token lattice is partitioned into small, non-overlapping spatial grids. The Spatial Coherence (SC) score for a token is defined as its mean cosine similarity to other tokens in its grid.

Crucially, the authors mathematically simplify this calculation: the SC score is equivalent to the dot product of a token’s normalized embedding and the mean normalized embedding of its grid. This reduces the computation time from quadratic to linear ($O(N)$), adding negligible overhead. Tokens with the highest SC scores (most redundant) bypass the self-attention layer.

2. Coherence-Based Reconstruction

To prevent spatial discontinuities and artifacts, skipped tokens must be reconstructed before being passed to subsequent blocks. CoReDiT synthesizes the missing attention outputs via a similarity-weighted aggregation of nearby retained tokens. To keep this step $O(N)$, the SC scores are cleverly reused as a proxy for pairwise similarity.

To optimize this, the authors implement two micro-designs:

  • Alternating Grid Sizes: Grid boundaries alternate across consecutive blocks (e.g., shifting between $16\times16$ and $9\times9$) to facilitate cross-border information flow and eliminate boundary artifacts.
  • $m$-Stride Token Retention: A deterministic stride pattern ensures at least one token per sub-grid is always retained to act as an anchor for reconstruction.

3. Progressive, Block-Adaptive Pruning Schedule

Redundancy is highly dynamic. CoReDiT uses a lightweight fine-tuning phase with a progressive schedule. It estimates a timestep-weighted redundancy score for each block and gradually increments the pruning ratio of the most redundant blocks. Furthermore, it employs a two-phase timestep decay: pruning aggressively during early, noise-dominated steps (where global structure is set) and scaling back during late steps (where fine details are refined).

Datasets

The authors evaluated CoReDiT across both image and video generation tasks:

  • Text-to-Image: Applied to official checkpoints of PixArt-$\alpha$-1024 and PixArt-$\Sigma$-2048. Lightweight fine-tuning was performed on a 10K synthetic dataset from CLEAR (generated via FLUX.1-dev). Evaluation utilized 10k caption-image pairs randomly sampled from the MSCOCO 2014 validation set.
  • Video Generation: Applied to MagicDrive-V2 and fine-tuned using the nuScenes dataset.

Key Insights and Ideas

  • Local Similarity as a Global Proxy: Low-saliency tokens are highly similar to their immediate spatial neighbors. This insight allows a cheap, localized linear-time calculation to replace expensive global attention profiling.
  • Generative Models Demand Density: Unlike discriminative vision transformers (ViTs) which tolerate completely discarding tokens, generative DiTs require a dense token lattice at every step to maintain structural integrity. Content-aware interpolation is mandatory.
  • Early vs. Late Denoising Redundancy: Early stages of diffusion are noise-dominated and exhibit massive spatial coherence, making them highly tolerant to aggressive pruning. Late stages focus on fine edges and details, requiring more tokens to be preserved.
SC score evolution across blocks and timesteps

Key Results

  • FLOPs & Latency Reduction: On PixArt-$\alpha$-1024, CoReDiT achieves a 55% reduction in self-attention FLOPs (28% end-to-end). This translates to an 11% end-to-end speedup using highly optimized xformers backends, and a 25% speedup using native PyTorch attention.
  • On-Device Mobile Acceleration: Tested on the Qualcomm Snapdragon 8 Elite NPU, CoReDiT achieved up to a 1.72× per-block speedup at 50% pruning.
  • Quality Preservation: Visual quality remains virtually indistinguishable from the baseline. With distillation, CoReDiT narrows the FID gap on PixArt-$\alpha$ to just 27.4 (vs. 27.3 baseline), vastly outperforming training-free alternatives like ToMeSD.
  • Memory Headroom: By skipping tokens, CoReDiT alleviates memory constraints, enabling PixArt-$\alpha$ to successfully generate images up to 1920 resolution on devices where the baseline model suffers Out-Of-Memory (OOM) errors at resolutions above 1600.

Limitations and Future Work

  • Video Temporal Consistency: Currently, CoReDiT applies pruning to spatial transformer blocks independently for each video frame. This independence causes a slight degradation in the Fréchet Video Distance (FVD) metric, indicating a minor loss in temporal consistency. The authors note that integrating cross-frame coherence objectives is a priority for future work.
  • Non-Attention Overhead: While self-attention computation is drastically reduced, non-attention components (like FFN/MLP layers and I/O overhead) remain untouched, capping the total end-to-end wall-clock speedups. Expanding token reduction techniques to these layers is another proposed direction.

Summary updated

BibTeX
@misc{li2026coredit,
  author = {Zhuojin Li and Hsin-Pai Cheng and Hong Cai and Shizhong Han and Fatih Porikli},
  title = {{CoReDiT: Spatial Coherence-Guided Token Pruning and Reconstruction for Efficient Diffusion Transformers}},
  year = {2026},
  eprint = {2605.14191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.14191},
}
Figure