Multi-Patch Global-to-Local Transformer Architecture For Efficient Flow Matching and Diffusion Model

Quan Dao, Dimitris MetaxasCVPR 2026

TL;DR

MPDiT (Multi-Patch Diffusion Transformer) introduces a hierarchical, coarse-to-fine architecture for diffusion and flow-matching models. By processing large image patches in early layers and upsampling to smaller patches for final detail refinement, it slashes computational costs (GFLOPs) by up to 50% and speeds up sampling by over 2x. Combined with novel time and class embedding strategies, MPDiT achieves state-of-the-art generation quality with significantly faster training convergence.

What Problem Does This Paper Address?

While Diffusion Transformers (DiTs) have largely supplanted convolutional UNets due to their excellent scalability, they come with a massive computational burden. Standard DiTs use an isotropic design, meaning they process the exact same number of patchified tokens in every single transformer block.

This uniform approach is highly inefficient. Early layers in a generative network primarily focus on capturing global context and coarse structures—tasks that do not require high-resolution tokenization. Forcing every layer to compute quadratic self-attention on fine-grained tokens wastes immense computational resources during both training and inference. Existing token-reduction methods, like masking, often suffer from severe performance drops because they disrupt spatial relationships. MPDiT tackles this inefficiency head-on by rethinking the macro-architecture of diffusion transformers.

Methods

The authors propose the Multi-Patch Diffusion Transformer (MPDiT), which replaces the uniform token processing of traditional DiTs with a hierarchical, global-to-local design.

Figure 2. Architecture of MPDiT, which consists of (a) the Global-Local MultiPatch Diffusion Transformer, (b) DiT Block with shared time embedding, (c) The Upsample Module and (d) The FNO Time Embedding

Key components of the methodology include:

  • Global-to-Local Patch Hierarchy: For an ImageNet-256 latent space (normally 1024 tokens), MPDiT initially applies a large patch size ($p=4$), reducing the sequence to just 64 tokens. The first $N-k$ transformer blocks operate on this highly compressed sequence to efficiently learn global structure.
  • The Upsample Block: After the global processing stage, an upsampling module expands the 64 tokens back to 256 tokens (equivalent to a finer $p=2$ patch size). Crucially, a skip connection injects the original fine-grained spatial features from a $p=2$ patch embedding to prevent detail loss. The final $k$ blocks then process these 256 tokens to refine local textures.
  • Fourier Neural Operator (FNO) Time Embedding: Instead of standard linear projections on sinusoidal features, MPDiT uses a 1D grid combined with Spectral Convolutions to model the continuous time trajectories of diffusion more smoothly.
  • Multi-Token Class Embedding: Rather than using a single dense vector or AdaIN modulation for class conditioning, MPDiT prepends multiple learnable tokens ($m=16$) as a prefix to the image tokens, vastly improving semantic interaction and training convergence.

Datasets

The model was trained and evaluated on the standard ImageNet-256 dataset, a highly competitive benchmark for class-conditional image generation containing roughly 1.28 million training images across 1,000 distinct classes.

Key Insights and Ideas

  • Architectural-Level Global-Local Attention: Previous works tried to implement local-global attention mechanisms within individual transformer layers, which introduces significant engineering overhead (reshaping, window partitioning). MPDiT proves that changing token resolution at the network level is far cleaner and more computationally effective.
  • A Few Refinement Blocks Go a Long Way: The authors discovered that the majority of the network can operate on a highly compressed token space. Only a small fraction of final blocks ($k=4$ to $6$) are required to restore pristine, high-fidelity details.
  • Distributed Semantics Accelerate Convergence: Representing class conditioning as a sequence of multiple tokens (prefix tuning) provides a richer supervisory signal than compressing an entire class concept into a single vector, leading to drastically faster training.

Key Results

MPDiT demonstrates a superior trade-off between computational efficiency and generative quality:

  • Computational Savings: MPDiT-XL reduces computational complexity to 59.3 GFLOPs, representing a 50% reduction compared to the standard DiT-XL/2 baseline (118.66 GFLOPs).
  • Inference Speedup: In practice, the sampling throughput of MPDiT-XL is more than 2× faster than the DiT-XL/2 architecture.
  • Generative Quality: Despite using half the compute, MPDiT-XL achieves a highly competitive Frechet Inception Distance (FID) of 7.36 (non-classifier-free guidance) and 2.05 (with CFG scale 1.4) after only 240 epochs. For comparison, standard baselines like SiT require up to 1400 epochs to achieve comparable quality.
Figure 1. The generated samples from MPDiT-XL with the cfg-scale w = 3 at epoch 160.

Limitations and Future Work

While MPDiT shows remarkable efficiency gains for class-conditional image generation on ImageNet, the authors note that scaling this multi-patch hierarchy to larger, more complex modalities remains an open challenge. Specifically, extending this architecture to large-scale text-to-image frameworks (such as Stable Diffusion 3 or Flux) and text-to-video models (like Sora) is a promising but computationally demanding direction for future research.

Summary updated

BibTeX
@inproceedings{dao2026multi,
  author = {Quan Dao and Dimitris Metaxas},
  title = {{Multi-Patch Global-to-Local Transformer Architecture For Efficient Flow Matching and Diffusion Model}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=c2hdsDOimj},
}
Figure