ZigMa:一种 DiT 风格的之字形 Mamba 扩散模型
ZigMa: A DiT-style Zigzag Mamba Diffusion Model
AI总结:
本文提出零参数的 Zigzag Mamba 方法,通过改进 Mamba 扫描方案中的空间连续性,并将其与 Stochastic Interpolant 框架结合,在多个高分辨率视觉数据集上验证了扩散模型的可扩展性与效率提升。
摘要:
扩散模型长期以来一直受到可扩展性和二次复杂度问题的困扰,尤其是在基于 Transformer 的结构中。在本研究中,我们旨在利用一种名为 Mamba 的状态空间模型的长序列建模能力,将其适用性扩展到视觉数据生成。首先,我们指出了当前大多数基于 Mamba 的视觉方法中一个关键的疏忽,即 Mamba 的扫描方案缺乏对空间连续性的考虑。其次,基于这一见解,我们引入了一种简单、即插即用、零参数的方法,名为 Zigzag Mamba(之字形 Mamba),它优于基于 Mamba 的基线方法,并且与基于 Transformer 的基线方法相比,在速度和内存利用率方面均有改善。最后,我们将 Zigzag Mamba 与 Stochastic Interpolant 框架集成,以研究该模型在大分辨率视觉数据集上的可扩展性,例如 FacesHQ 1024×1024 和 UCF101、MultiModal-CelebA-HQ 以及 MS COCO 256×256。代码将在 https://taohu.me/zigma/ 发布。
英文摘要:
The diffusion model has long been plagued by scalability and quadratic complexity issues, especially within transformer-based structures. In this study, we aim to leverage the long sequence modeling capability of a State-Space Model called Mamba to extend its applicability to visual data generation. Firstly, we identify a critical oversight in most current Mamba-based vision methods, namely the lack of consideration for spatial continuity in the scan scheme of Mamba. Secondly, building upon this insight, we introduce a simple, plug-and-play, zero-parameter method named Zigzag Mamba, which outperforms Mamba-based baselines and demonstrates improved speed and memory utilization compared to transformer-based baselines. Lastly, we integrate Zigzag Mamba with the Stochastic Interpolant framework to investigate the scalability of the model on large-resolution visual datasets, such as FacesHQ $1024\times 1024$ and UCF101, MultiModal-CelebA-HQ, and MS COCO $256\times 256$ . Code will be released at https://taohu.me/zigma/
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。