Lumina-Next : Making Lumina-T2X Stronger and Faster with Next-DiT

Le Zhuo, Ruoyi Du, Han Xiao, Yangguang Li, Dongyang Liu, Rongjie Huang, Wenze Liu, Xiangyang Zhu, Fu-Yun Wang, Zhanyu Ma, Xu Luo, Zehan Wang, Kaipeng Zhang, Lirui Zhao, Si Liu, Xiangyu Yue, Wanli Ouyang, Yu Qiao, Hongsheng Li, Peng Gao · DOI

Introduction

Lumina-Next represents a significant evolution in Flow-based Large Diffusion Transformers (Flag-DiT), designed to overcome the scaling and efficiency bottlenecks inherent in previous generations. While Diffusion Transformers (DiTs) have demonstrated impressive scalability, they often suffer from training instabilities, slow inference speeds, and artifacts when extrapolating to high resolutions. Lumina-Next introduces the "Next-DiT" architecture and optimized sampling techniques to deliver high-quality generation across multiple modalities—including images, multi-view 3D, audio, and point clouds—while maintaining superior efficiency.

The Next-DiT Architecture

The core of Lumina-Next is the Next-DiT block, which addresses the "activation explosion" often seen when scaling large models. Standard DiTs can experience exponential growth in signal values across layers, leading to training crashes. To mitigate this, the authors implement sandwich normalization (RMSNorm both before and after attention and MLP layers) and tanh gating. These additions act as a mathematical "speed limiter," ensuring stability even in massive model configurations.

Furthermore, the architecture transitions from 1D Rotary Position Embeddings (RoPE) to 3D RoPE. By independently modeling height, width, and time (or frames), 3D RoPE allows the model to maintain spatial and temporal relationships that are often lost when an image is treated as a flattened 1D sequence. This change provides much more accurate spatial attention priors, which is critical for generating coherent global structures.

The Next-DiT architecture introduces sandwich normalization and 3D RoPE to improve training stability and spatial modeling compared to the original Flag-DiT.

Advanced Sampling and Extrapolation

To improve inference speed and quality, Lumina-Next introduces several sampling innovations:

  • Frequency- and Time-Aware Scaled RoPE: This strategy addresses resolution extrapolation artifacts. It recognizes that global structure is established early in the denoising process, while local details are filled in later, allowing the model to generate 2K images and extreme aspect ratio panoramas (e.g., 1024x4096) in a zero-shot manner.
  • Sigmoid Time Schedule: Instead of uniform sampling, this schedule allocates more steps to the most critical parts of the flow trajectory, enabling high-quality results in as few as 5-10 steps.
  • Time-Aware Context Drop: This technique dynamically merges redundant visual tokens, such as background patches, during sampling. This results in a 2× inference speedup for 1K resolution images without sacrificing visual fidelity.
  • LLM Text Encoders: By utilizing decoder-only Large Language Models like Gemma-2B as text encoders, Lumina-Next achieves superior multilingual understanding and prompt following compared to standard CLIP or T5 encoders.

Results and Versatility

Lumina-Next demonstrates remarkable versatility as a foundational generative framework. It achieves faster convergence than previous state-of-the-art models like SiT and the original Flag-DiT. Beyond standard image generation, the framework excels at zero-shot resolution extrapolation, outperforming models like SDXL and PixArt-α which often produce repetitive patterns at high resolutions.

Lumina-Next demonstrates versatile generation capabilities across high-resolution images, panoramas, multi-view 3D, audio, and point clouds.

The model's "universal modeling" potential is further evidenced by its success in generating 16K-point 3D clouds and high-fidelity audio/music. While current iterations use task-specific instances, the unified architecture proves that a single transformer design can effectively handle diverse data modalities.

Conclusion

Lumina-Next provides a robust and efficient blueprint for the next generation of Diffusion Transformers. By prioritizing architectural stability and smarter sampling, it achieves a balance of speed and quality that scales across modalities. Future work aims to unify these capabilities into a single, multi-modal foundational model capable of handling all tasks within a single training run.

Summary updated

BibTeX
@inproceedings{zhuo2024lumina,
  author = {Le Zhuo and Ruoyi Du and Han Xiao and Yangguang Li and Dongyang Liu and Rongjie Huang and Wenze Liu and Xiangyang Zhu and Fu-Yun Wang and Zhanyu Ma and Xu Luo and Zehan Wang and Kaipeng Zhang and Lirui Zhao and Si Liu and Xiangyu Yue and Wanli Ouyang and Yu Qiao and Hongsheng Li and Peng Gao},
  title = {{Lumina-Next : Making Lumina-T2X Stronger and Faster with Next-DiT}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=ieYdf9TZ2u},
}
Figure