Dimba: Transformer-Mamba Diffusion Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fei, Zhengcong, Fan, Mingyuan, Yu, Changqian, Li, Debang, Zhang, Youqiang, Huang, Junshi
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929371139276800
author Fei, Zhengcong
Fan, Mingyuan
Yu, Changqian
Li, Debang
Zhang, Youqiang
Huang, Junshi
author_facet Fei, Zhengcong
Fan, Mingyuan
Yu, Changqian
Li, Debang
Zhang, Youqiang
Huang, Junshi
contents This paper unveils Dimba, a new text-to-image diffusion model that employs a distinctive hybrid architecture combining Transformer and Mamba elements. Specifically, Dimba sequentially stacked blocks alternate between Transformer and Mamba layers, and integrate conditional information through the cross-attention layer, thus capitalizing on the advantages of both architectural paradigms. We investigate several optimization strategies, including quality tuning, resolution adaption, and identify critical configurations necessary for large-scale image generation. The model's flexible design supports scenarios that cater to specific resource constraints and objectives. When scaled appropriately, Dimba offers substantial throughput and a reduced memory footprint relative to conventional pure Transformers-based benchmarks. Extensive experiments indicate that Dimba achieves comparable performance compared with benchmarks in terms of image quality, artistic rendering, and semantic control. We also report several intriguing properties of architecture discovered during evaluation and release checkpoints in experiments. Our findings emphasize the promise of large-scale hybrid Transformer-Mamba architectures in the foundational stage of diffusion models, suggesting a bright future for text-to-image generation.
format Preprint
id arxiv_https___arxiv_org_abs_2406_01159
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Dimba: Transformer-Mamba Diffusion Models
Fei, Zhengcong
Fan, Mingyuan
Yu, Changqian
Li, Debang
Zhang, Youqiang
Huang, Junshi
Computer Vision and Pattern Recognition
This paper unveils Dimba, a new text-to-image diffusion model that employs a distinctive hybrid architecture combining Transformer and Mamba elements. Specifically, Dimba sequentially stacked blocks alternate between Transformer and Mamba layers, and integrate conditional information through the cross-attention layer, thus capitalizing on the advantages of both architectural paradigms. We investigate several optimization strategies, including quality tuning, resolution adaption, and identify critical configurations necessary for large-scale image generation. The model's flexible design supports scenarios that cater to specific resource constraints and objectives. When scaled appropriately, Dimba offers substantial throughput and a reduced memory footprint relative to conventional pure Transformers-based benchmarks. Extensive experiments indicate that Dimba achieves comparable performance compared with benchmarks in terms of image quality, artistic rendering, and semantic control. We also report several intriguing properties of architecture discovered during evaluation and release checkpoints in experiments. Our findings emphasize the promise of large-scale hybrid Transformer-Mamba architectures in the foundational stage of diffusion models, suggesting a bright future for text-to-image generation.
title Dimba: Transformer-Mamba Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.01159