OmniMamba: Efficient and Unified Multimodal Understanding and Generation via State Space Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zou, Jialv, Liao, Bencheng, Zhang, Qian, Liu, Wenyu, Wang, Xinggang
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909534609473536
author Zou, Jialv
Liao, Bencheng
Zhang, Qian
Liu, Wenyu
Wang, Xinggang
author_facet Zou, Jialv
Liao, Bencheng
Zhang, Qian
Liu, Wenyu
Wang, Xinggang
contents Recent advancements in unified multimodal understanding and visual generation (or multimodal generation) models have been hindered by their quadratic computational complexity and dependence on large-scale training data. We present OmniMamba, the first linear-architecture-based multimodal generation model that generates both text and images through a unified next-token prediction paradigm. The model fully leverages Mamba-2's high computational and memory efficiency, extending its capabilities from text generation to multimodal generation. To address the data inefficiency of existing unified models, we propose two key innovations: (1) decoupled vocabularies to guide modality-specific generation, and (2) task-specific LoRA for parameter-efficient adaptation. Furthermore, we introduce a decoupled two-stage training strategy to mitigate data imbalance between two tasks. Equipped with these techniques, OmniMamba achieves competitive performance with JanusFlow while surpassing Show-o across benchmarks, despite being trained on merely 2M image-text pairs, which is 1,000 times fewer than Show-o. Notably, OmniMamba stands out with outstanding inference efficiency, achieving up to a 119.2 times speedup and 63% GPU memory reduction for long-sequence generation compared to Transformer-based counterparts. Code and models are released at https://github.com/hustvl/OmniMamba
format Preprint
id arxiv_https___arxiv_org_abs_2503_08686
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle OmniMamba: Efficient and Unified Multimodal Understanding and Generation via State Space Models
Zou, Jialv
Liao, Bencheng
Zhang, Qian
Liu, Wenyu
Wang, Xinggang
Computer Vision and Pattern Recognition
Recent advancements in unified multimodal understanding and visual generation (or multimodal generation) models have been hindered by their quadratic computational complexity and dependence on large-scale training data. We present OmniMamba, the first linear-architecture-based multimodal generation model that generates both text and images through a unified next-token prediction paradigm. The model fully leverages Mamba-2's high computational and memory efficiency, extending its capabilities from text generation to multimodal generation. To address the data inefficiency of existing unified models, we propose two key innovations: (1) decoupled vocabularies to guide modality-specific generation, and (2) task-specific LoRA for parameter-efficient adaptation. Furthermore, we introduce a decoupled two-stage training strategy to mitigate data imbalance between two tasks. Equipped with these techniques, OmniMamba achieves competitive performance with JanusFlow while surpassing Show-o across benchmarks, despite being trained on merely 2M image-text pairs, which is 1,000 times fewer than Show-o. Notably, OmniMamba stands out with outstanding inference efficiency, achieving up to a 119.2 times speedup and 63% GPU memory reduction for long-sequence generation compared to Transformer-based counterparts. Code and models are released at https://github.com/hustvl/OmniMamba
title OmniMamba: Efficient and Unified Multimodal Understanding and Generation via State Space Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.08686