Diffusion Transformer-to-Mamba Distillation for High-Resolution Image Generation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Yao, Yuan, Hong, Yicong, Liu, Difan, Mai, Long, Liu, Feng, Luo, Jiebo
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911020179521536
author Yao, Yuan
Hong, Yicong
Liu, Difan
Mai, Long
Liu, Feng
Luo, Jiebo
author_facet Yao, Yuan
Hong, Yicong
Liu, Difan
Mai, Long
Liu, Feng
Luo, Jiebo
contents The quadratic computational complexity of self-attention in diffusion transformers (DiT) introduces substantial computational costs in high-resolution image generation. While the linear-complexity Mamba model emerges as a potential alternative, direct Mamba training remains empirically challenging. To address this issue, this paper introduces diffusion transformer-to-mamba distillation (T2MD), forming an efficient training pipeline that facilitates the transition from the self-attention-based transformer to the linear complexity state-space model Mamba. We establish a diffusion self-attention and Mamba hybrid model that simultaneously achieves efficiency and global dependencies. With the proposed layer-level teacher forcing and feature-based knowledge distillation, T2MD alleviates the training difficulty and high cost of a state space model from scratch. Starting from the distilled 512$\times$512 resolution base model, we push the generation towards 2048$\times$2048 images via lightweight adaptation and high-resolution fine-tuning. Experiments demonstrate that our training path leads to low overhead but high-quality text-to-image generation. Importantly, our results also justify the feasibility of using sequential and causal Mamba models for generating non-causal visual output, suggesting the potential for future exploration.
format Preprint
id arxiv_https___arxiv_org_abs_2506_18999
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Diffusion Transformer-to-Mamba Distillation for High-Resolution Image Generation
Yao, Yuan
Hong, Yicong
Liu, Difan
Mai, Long
Liu, Feng
Luo, Jiebo
Computer Vision and Pattern Recognition
The quadratic computational complexity of self-attention in diffusion transformers (DiT) introduces substantial computational costs in high-resolution image generation. While the linear-complexity Mamba model emerges as a potential alternative, direct Mamba training remains empirically challenging. To address this issue, this paper introduces diffusion transformer-to-mamba distillation (T2MD), forming an efficient training pipeline that facilitates the transition from the self-attention-based transformer to the linear complexity state-space model Mamba. We establish a diffusion self-attention and Mamba hybrid model that simultaneously achieves efficiency and global dependencies. With the proposed layer-level teacher forcing and feature-based knowledge distillation, T2MD alleviates the training difficulty and high cost of a state space model from scratch. Starting from the distilled 512$\times$512 resolution base model, we push the generation towards 2048$\times$2048 images via lightweight adaptation and high-resolution fine-tuning. Experiments demonstrate that our training path leads to low overhead but high-quality text-to-image generation. Importantly, our results also justify the feasibility of using sequential and causal Mamba models for generating non-causal visual output, suggesting the potential for future exploration.
title Diffusion Transformer-to-Mamba Distillation for High-Resolution Image Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2506.18999