mlsanityData to 14 Oct 2026

LaMamba-Diff: Linear-Time High-Fidelity Diffusion Models Based on Local Attention and Mamba

arXiv 2408.02615 ↗First posted 5 Aug 2024cs.CVcited by 4

On the map: Diffusion models → Medical imaging and segmentation

also in 1 more
Abstract (arXiv)

Recent Transformer-based diffusion models have shown remarkable performance, largely attributed to the ability of the self-attention mechanism to accurately capture both global and local contexts by computing all-pair interactions among input tokens. However, their quadratic complexity poses significant computational challenges for long-sequence inputs. Conversely, a recent state space model called Mamba offers linear complexity by compressing a filtered global context into a hidden state. Despite its efficiency, compression inevitably leads to information loss of fine-grained local dependencies among tokens, which are crucial for effective visual generative modeling. Motivated by these observations, we introduce Local Attentional Mamba (LaMamba) blocks that combine the strengths of self-attention and Mamba, capturing both global contexts and local details with linear complexity. Leveraging the efficient U-Net architecture, our model exhibits exceptional scalability and surpasses the performance of DiT across various model scales on ImageNet at 256x256 resolution, all while utilizing substantially fewer GFLOPs and a comparable number of parameters. Compared to state-of-the-art diffusion models on ImageNet 256x256 and 512x512, our largest model presents notable advantages, such as a reduction of up to 62% GFLOPs compared to DiT-XL/2, while achieving superior performance with comparable or fewer parameters. Our code is available at https://github.com/yunxiangfu2001/LaMamba-Diff.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 53 of its 63 references that are in the map. First posted on arXiv 5 Aug 2024.

Builds on

53 of 63 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesis23 May

Other references · 52

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2020Denoising Diffusion Implicit Modelscited by 9,781
  8. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  10. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  11. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  12. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
38 more
  1. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  2. 2022Scalable Diffusion Models with Transformerscited by 6,054
  3. 2022Classifier-Free Diffusion Guidancecited by 5,847
  4. 2016Layer Normalizationcited by 5,669
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  6. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  7. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  8. 2013Auto-Encoding Variational Bayescited by 4,053
  9. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,761
  10. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  11. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  12. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
  13. 2016Improved Techniques for Training GANscited by 2,970
  14. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
  15. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  16. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
  17. 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,222
  18. 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,114
  19. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  20. 2024VMamba: Visual State Space Modelcited by 969
  21. 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 944
  22. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  23. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
  24. 2021Transformer in Transformercited by 633
  25. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
  26. 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
  27. 2022StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasetscited by 492
  28. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  29. 2024VM-UNet: Vision Mamba UNet for Medical Image Segmentationcited by 287
  30. 2021Generating Images with Sparse Representationscited by 266
  31. 2024LocalMamba: Visual State Space Model with Windowed Selective Scancited by 236
  32. 2022Scalable Adaptive Computation for Iterative Generationcited by 195
  33. 2023One Transformer Fits All Distributions in Multi-Modal Diffusion at Scalecited by 187
  34. 2024Swin-UMamba: Mamba-based UNet with ImageNet-based pretrainingcited by 179
  35. 2024EfficientVMamba: Atrous Selective Scan for Light Weight Visual Mambacited by 146
  36. 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
  37. 2023Diffusion Models Without Attentioncited by 75
  38. 2024Point Mamba: A Novel Point Cloud Backbone Based on State Space Model with Octree-Based Ordering Strategycited by 73

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Scaling Diffusion Mamba with Bidirectional SSMs for Efficient Image and Video Generation
  2. 2025Diffusion Transformer-to-Mamba Distillation for High-Resolution Image Generation
  3. 2025U-Shape Mamba: State Space Model for faster diffusion
  4. 2024ZigMa: A DiT-style Zigzag Mamba Diffusion Model
  5. 2024The Hidden Attention of Mamba Models
  6. 2024DiMSUM: Diffusion Mamba -- A Scalable and Unified Spatial-Frequency Method for Image Generation
  7. 2025Can We Achieve Efficient Diffusion without Self-Attention? Distilling Self-Attention into Convolutions
  8. 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attention