Papers › DiMSUM: Diffusion Mamba -- A Scalable and Unified Spatial-Frequency Method for Image Generation

DiMSUM: Diffusion Mamba -- A Scalable and Unified Spatial-Frequency Method for Image Generation

6 Nov 2024arXiv:2411.04168archive 2025-07-28

Hao Phung, Quan Dao, Trung Dao, Hoang Phan, Dimitris Metaxas, Anh Tran

We introduce a novel state-space architecture for diffusion models, effectively harnessing spatial and frequency information to enhance the inductive bias towards local features in input images for image generation tasks. While state-space networks, including Mamba, a revolutionary advancement in recurrent neural networks, typically scan input sequences from left to right, they face difficulties in designing effective scanning strategies, especially in the processing of image data. Our method demonstrates that integrating wavelet transformation into Mamba enhances the local structure awareness of visual inputs and better captures long-range relations of frequencies by disentangling them into wavelet subbands, representing both low- and high-frequency components. These wavelet-based outputs are then processed and seamlessly fused with the original Mamba outputs through a cross-attention fusion layer, combining both spatial and frequency information to optimize the order awareness of state-space models which is essential for the details and overall quality of image generation. Besides, we introduce a globally-shared transformer to supercharge the performance of Mamba, harnessing its exceptional power to capture global relationships. Through extensive experiments on standard benchmarks, our method demonstrates superior results compared to DiT and DIFFUSSM, achieving faster training convergence and delivering high-quality outputs. The codes and pretrained models are released at https://github.com/VinAIResearch/DiMSUM.git.

PaperPDFCodeCode Syntology ran

In Syntology 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="2411.04168")

Code

Syntology Ran 4 of 14 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong.

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

vinairesearch/dimsum officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause 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

14 samples harvested; 4 ran; 2 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
2ran · our draft was wrong
10unverified

Licence: 0 of the 14 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 vinairesearch/dimsum. “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.

broadcat vinairesearch/dimsum/dimsum/rope.py official repository ran · honoured contract BSD-3-Clause (permissive) · f50a8d20efb35c68 · report
get_2d_sincos_pos_embed VinAIResearch/DiMSUM/dimsum/models_dim.py official repository ran · honoured contract BSD-3-Clause (permissive) · c92c27c924b517e8 · report
modulate VinAIResearch/DiMSUM/dimsum/models_dim.py official repository ran · our draft was wrong fingerprinted BSD-3-Clause (permissive) · 03310bba324ae4fb · report
rotate_half vinairesearch/dimsum/dimsum/rope.py official repository ran · our draft was wrong fingerprinted BSD-3-Clause (permissive) · 58823d9435a8751b · report
attention_mask_func vinairesearch/dimsum/dimsum/bias_gelu.py official repository unverified BSD-3-Clause (permissive) · d3b0933503154c4d · report
download_model vinairesearch/dimsum/dimsum/download.py official repository unverified BSD-3-Clause (permissive) · da2f24ae53c99117 · report
find_model vinairesearch/dimsum/dimsum/download.py official repository unverified BSD-3-Clause (permissive) · bab9b33cfc46f12d · report
gelu_impl vinairesearch/dimsum/dimsum/bias_gelu.py official repository unverified BSD-3-Clause (permissive) · 8184d7cda6c94d2f · report
get_2d_sincos_pos_embed_from_grid VinAIResearch/DiMSUM/dimsum/models_dim.py official repository unverified BSD-3-Clause (permissive) · 665d8a4e8f673a4c · report
init_dct_kernel vinairesearch/dimsum/dimsum/dct_layer.py official repository unverified BSD-3-Clause (permissive) · 007d85b0e7276d06 · report
init_idct_kernel vinairesearch/dimsum/dimsum/dct_layer.py official repository unverified BSD-3-Clause (permissive) · 223a3ba3e56d7321 · report
new_data_aug_generator vinairesearch/dimsum/dimsum/augment.py official repository unverified BSD-3-Clause (permissive) · 3c467edbb5e1d99c · report
none_or_str vinairesearch/dimsum/dimsum/sample.py official repository unverified BSD-3-Clause (permissive) · 2fc6fdb85f13dc41 · report
openai_gelu vinairesearch/dimsum/dimsum/bias_gelu.py official repository unverified BSD-3-Clause (permissive) · 6ded1f450076ddfc · report

Tasks

Image GenerationInductive BiasMambaState Space Models

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DiffusionMamba

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