TL;DR
Generating crisp, coherent AI videos usually demands massive, power-hungry server GPUs, leaving smartphones stuck with shrunken, lower-quality models. MobileWan flips the script by squeezing a full-sized, 5-billion-parameter video diffusion model directly onto a smartphone chip—generating 5-second videos in as little as 20 seconds without sacrificing server-grade visual fidelity.
What Problem Does This Paper Address?
Modern video generation relies on Diffusion Transformers (DiTs) that process spatial and temporal video patches ("tokens") simultaneously. Because standard self-attention compares every token to every other token, memory and compute costs explode quadratically as videos get longer or sharper.
To fit on memory-constrained phones, researchers typically shrink models down to 0.4B–1.8B parameters. While these compact models run on mobile hardware, they suffer a steep drop in visual quality and motion realism compared to server-grade giants. Simply swapping expensive attention mechanisms for cheaper linear approximations usually requires retraining from scratch or degrades video quality. The authors ask: Do mobile devices actually need small models, or can we re-architect a server-scale 5B model to run within mobile memory limits?
Methods
Starting with the open-source Wan2.2-5B model (which normally requires an 80GB A100 server GPU), the team applies four complementary optimizations to make it run natively on a mobile Neural Processing Unit (NPU):
- Noise-Biased Learnable Head Pruning (Novel): Removing entire transformer blocks broke Wan2.2, so the authors prune individual self-attention heads instead. Rather than guessing which heads matter via heuristics, they attach learnable scalar "gates" to each head and let gradient descent shut down the redundant ones during training. Crucially, they bias this training phase toward high-noise diffusion timesteps.
- Recurrence Distillation (Adapted to Full Backbone): Building on recent hybrid attention work, they slice the video timeline into chunks. Within a local chunk (plus a small overlap), the model uses expressive softmax attention; for all past chunks, it uses causal linear attention with learnable polynomial feature maps. By distilling all 30 transformer blocks this way, the DiT acts like a Recurrent Neural Network (RNN) at inference—generating video chunk-by-chunk with constant attention memory.
- Step Distillation (Standard + Tweaked): Diffusion normally takes ~50–100 iterative denoising steps. The authors apply Distribution Matching Distillation (specifically testing DMD, decoupled D-DMD with an adjusted noise-sampling fix to prevent color shifts, and adversarial DMD2) to slash denoising down to just 2–3 steps.
- Extended-Memory Tiny Decoder (Modified): Converting compressed latent representations back into pixels via 3D convolutions causes Out-Of-Memory (OOM) crashes on phones. Lightweight 2D decoders (like LightX2V) fix the memory issue but cause temporal flickering. The authors modify LightX2V by extending its causal "look-back" window so each frame $F_t$ looks back up to $F_{t-4}$, smoothing out artifacts while staying tiny.
Datasets
- In-house Synthetic Dataset: Approximately 80,000 synthetic videos (resized to $480 \times 480$, using the first 33 frames) used to fine-tune the modified VAE decoder, alongside ground-truth visual data used for adversarial DMD2 training.
- VBench: Standard benchmark suite (including GPT-enhanced prompts) used to evaluate overall video generation quality, semantics, and human preference.
- DAVIS: 60 randomly selected test videos ($33 \times 512 \times 512$) used to evaluate VAE reconstruction quality (PSNR).
- No new benchmarks were introduced.
Key Insights and Ideas
- Turn Transformers into RNNs to beat RAM limits: Pruning weights trims compute, but the model still crashes on mobile due to massive attention matrices (15.7 GB). Reformulating the entire transformer into a chunk-wise recurrent network shrinks attention memory down to 0.1 GB, which is the true unlock for mobile deployment.
- Prune when the canvas is noisy: When teaching gates which attention heads to drop, sampling heavily from high-noise diffusion steps works vastly better than standard or low-noise sampling. Early, noisy steps dictate global structure and motion—making them the best litmus test for whether an attention head is truly essential.
- Tiny decoders just need a slightly longer memory: You don't need heavy 3D convolutions for smooth video decoding; letting an efficient 2D decoder peek just four frames into the past eliminates most temporal flickering at a fraction of the cost.
Key Results
Tested and estimated on a smartphone powered by a Qualcomm Snapdragon 8 Gen. 5 NPU, MobileWan generates 5-second, $480 \times 832$ videos at 16 FPS:
- State-of-the-Art Mobile Quality: Achieves a VBench score of 83.79 (actually beating the 83.12 baseline of the unpruned server Wan2.2-5B thanks to distillation boosts) and surpassing the previous mobile SOTA, Neodragon (81.61).
- Memory & Speed: Peak DiT RAM drops from OOM to 9.9 GB (with the decoder taking 1.9 GB and 0.50s). Under W8A8 quantization, a single denoising step takes 6.65s, yielding an end-to-end latency of ~20 seconds for 3 steps (and ~80s under W8A16 precision).
- Human Preference: In blinded user studies, humans preferred MobileWan 80% of the time over Neodragon (with 11% ties), and preferred or tied it 47% of the time against the heavy 50-step server baseline.
Limitations and Future Work
The authors candidly note a few trade-offs from squeezing a 5B model onto a phone:
- Fine details in certain scenes—like human faces at a middle distance—remain suboptimal.
- Step distillation introduces a tug-of-war: standard DMD can oversaturate colors, while D-DMD slightly dampens motion dynamics.
- The chunk-wise RNN reformulation occasionally causes temporal discontinuities between chunks, and combining few-step distillation with the lightweight decoder can still produce visible flickering in some clips—all areas the team plans to tackle next.
Summary updated