TensorX
返回文献探索

Paper · arXiv 2405.14224

DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesis

Yao Teng, Yue Wu, Han Shi, Xuefei Ning, Guohao Dai, Yu Wang, Zhenguo Li, Xihui Liu

14 upvotesMay 23, 2024arXiv 预印本
AI 摘要

Diffusion Mamba combines the efficiency of sequence models with diffusion models to achieve high-resolution image synthesis at lower computational cost.

diffusion modelsU-NetVision TransformersState Space Modelsmulti-directional scanslearnable padding tokenslightweight local feature enhancementweak-to-strong trainingtraining-free upsampling

Abstract

Diffusion models have achieved great success in image generation, with the backbone evolving from U-Net to Vision Transformers. However, the computational cost of Transformers is quadratic to the number of tokens, leading to significant challenges when dealing with high-resolution images. In this work, we propose Diffusion Mamba (DiM), which combines the efficiency of Mamba, a sequence model based on State Space Models (SSM), with the expressive power of diffusion models for efficient high-resolution image synthesis. To address the challenge that Mamba cannot generalize to 2D signals, we make several architecture designs including multi-directional scans, learnable padding tokens at the end of each row and column, and lightweight local feature enhancement. Our DiM architecture achieves inference-time efficiency for high-resolution images. In addition, to further improve training efficiency for high-resolution image generation with DiM, we investigate ``weak-to-strong'' training strategy that pretrains DiM on low-resolution images (256times 256) and then finetune it on high-resolution images (512 times 512). We further explore training-free upsampling strategies to enable the model to generate higher-resolution images (e.g., 1024times 1024 and 1536times 1536) without further fine-tuning. Experiments demonstrate the effectiveness and efficiency of our DiM.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesis | TensorX