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

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

11 Mar 2025arXiv:2503.08686archive 2025-07-28

Jialv Zou, Bencheng Liao, Qian Zhang, Wenyu Liu, Xinggang Wang

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

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2503.08686")

Code

Syntology Ran 5 of 8 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 8 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hustvl/omnimamba officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 5 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
1ran · fixture could not drive it
3unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hustvl/omnimamba. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Normalize hustvl/omnimamba/llamagen_tokenizer/vqgan/layer.py official repository ran · our draft was wrong MIT (permissive) · c3a6b977022957cb · report
Normalize hustvl/omnimamba/llamagen_tokenizer/tokenizer_image/vq_model.py official repository ran · our draft was wrong MIT (permissive) · 01b5cf639b6bac89 · report
compute_entropy_loss hustvl/omnimamba/llamagen_tokenizer/tokenizer_image/vq_model.py official repository ran · fixture could not drive it MIT (permissive) · 774c95b77d7621f3 · report
hinge_d_loss hustvl/omnimamba/llamagen_tokenizer/tokenizer_image/vq_loss.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 22a83df891d750c6 · report
nonlinearity hustvl/omnimamba/llamagen_tokenizer/tokenizer_image/vq_model.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 3137073275f8c21a · report
create_training_arguments hustvl/omnimamba/train_stage2.py official repository unverified MIT (permissive) · 546aeb3f73727064 · report
non_saturating_d_loss hustvl/omnimamba/llamagen_tokenizer/tokenizer_image/vq_loss.py official repository unverified MIT (permissive) · dd2278aa669b6313 · report
vanilla_d_loss hustvl/omnimamba/llamagen_tokenizer/tokenizer_image/vq_loss.py official repository unverified MIT (permissive) · 519cb60c0e3fbcb2 · report

Tasks

MambaState Space ModelsText Generationmultimodal generation

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections