Manuscript Offprint

arXiv:2610.28086

MoDDiT: Simple Token Routing in Diffusion Transformers

Jarek Liesen, Matthew T. Jackson, Benjamin Ellis, Shimon Whiteson, Jakob N. Foerster

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Real-time video generation, interactive world models, and on-device image synthesis are almost a reality. Diffusion Transformers (DiT) achieve excellent sample quality, shifting the bottleneck to the throughput of the models themselves. Natural images are inherently sparse, as large portions of an image are often background, contribute little to the scene content, and are easy to denoise. DiTs fail to exploit this sparsity, as they process image tokens statically and uniformly.

We propose MoDDiT, a simple architecture modification that learns to route tokens through both MLP and self-attention operations. By routing tokens through both blocks independently, MoDDiT allows for dynamic compute allocation in MLPs that varies across tokens, images, and denoising timesteps. Using MoDDiT to train image generation models from scratch significantly reduces computational costs of training and inference, processing as few as 12.5% of the tokens. By increasing sparsity and model depth, MoDDiT reduces costs and improves generation performance over unrouted baselines. The learned allocation is interpretable, revealing how computation varies with visual content and noise level. We also use MoDDiT to train video generation models, where allocation correlates with motion, and to distill a dense bidirectional video model into a sparse autoregressive student.

1. Introduction

Recent advancements in real-time video generation, interactive world models, and on-device image synthesis promise numerous new applications for generative models, and a new frontier of synthetic data. Diffusion models are at the forefront of this progress but are bottlenecked by their iterative generation procedure, which requires multiple model evaluations to generate samples. The resulting latency is often reduced by distilling models into smaller students or subsampling diffusion timesteps. A complementary axis of improvement is given by architecture modifications that reduce the cost of each inference step of the denoising process.

A promising route is exploiting sparsity, inspired by the observation that images and videos are information-sparse modalities where few patches per frame contain a large amount of information. For example, in many images the background is much simpler than the foreground and is therefore easier to denoise. This effect is magnified in videos, where patches containing static objects can be simply copied over from the previous frame. Ideally, diffusion would focus computation on more relevant patches, reducing overall latency. However, predominant diffusion architectures such as diffusion transformers (DiT, Peebles & Xie, 2023) fail to exploit this property, instead applying all operations to every token, thereby allocating compute uniformly over images and videos.

In this work, we introduce MoDDiT, a simple mechanism for routing tokens through both MLP and self-attention operations (section 3). While routing through self-attention uses fixed capacity, routing through MLPs enables dynamic compute allocation across tokens, images, and denoising timesteps (section 3.2). This allows the model to devote more computation to regions that are visually complex and difficult to denoise.

Unlike prior methods, MoDDiT reduces FLOPs during both training and inference, requires no auxiliary routing loss or post-processing, and enables efficient training on parallel GPU hardware without ragged batches. As illustrated in fig. 1, the resulting allocation is interpretable, with computation varying across image regions, samples, and denoising timesteps.

We evaluate MoDDiT across three settings: image generation, video generation, and video distillation. On ImageNet (Deng et al., 2009) (section 4), MoDDiT improves the quality–compute tradeoff over vanilla DiT across a range of routing capacities and sampling lengths. For video generation, we evaluate on the 1X World Modeling Challenge (1X, 2025) (section 5), where routing at 12.5% capacity improves video-prediction PSNR while requiring 36.92%

∗^{*}Equal contribution 1^{1}British Open-ended Learning and Discovery. Correspondence to: Jarek Liesen jarek.liesen@reuben.ox.ac.uk.

Preprint. October 21, 2026.

t = 999

t = 748

t = 498

t = 247

t = 0

Figure

a) Generation

b) Allocation in self-attention

c) Allocation in MLP

Figure 1. Image generation and learned compute allocation in MoDDiT for a red panda example. (a) Generated images along the denoising trajectory, from left to right. (b) Self-attention allocation. (c) MLP allocation. Patch brightness indicates the proportion of blocks applied to each token at the given timestep; the strips below the allocation panels show register-token allocation.

fewer counted denoiser FLOPs on the profiled clip than the DiT baseline. Finally, we integrate sparse feedforward routing into the distillation of pretrained Wan2.1 (Wan et al., 2025), converting a dense bidirectional model into a sparse, few-step autoregressive generator (section 6). Compared with a matched dense autoregressive student, the sparse model almost matches the dense baseline with a 5% overall reduction in score on the VBench benchmark (Huang et al., 2023), while reducing inference FLOPs by 24%. We further analyze the learned routing behavior (figs. 4 and 5), showing how computation varies with denoising stage, image and patch class, and temporal change in video.

In summary, MoDDiT provides a simple, efficient mechanism for dynamic token routing, exploiting token-level sparsity in diffusion transformers. By increasing model size and sparsity, it can increase performance while reducing training- and inference-time FLOPs. We compare routing choices and ablations on ImageNet, and give intuitive explanations for allocation across image content and time steps. On 1X, we test action-conditioned video generation and show that learned allocation varies with temporal change. Distilling Wan2.1 tests whether MoDDiT can be combined with distillation and few-step denoising, where the reduction in inference FLOPs comes with a modest reduction in VBench score.

References (56)