Memba: Membrane-Driven Parameter-Efficient Fine-Tuning for Mamba

April 5, 2026 ยท View on GitHub

Published at ICLR 2026 ๐ŸŽ‰ [Paper]

Overview

State Space Models (SSMs) like Mamba have emerged as powerful alternatives to Transformers, but existing PEFT methods simply transfer Transformer-tailored approaches without addressing Mamba's unique temporal processing dynamics.

Memba introduces a membrane-driven PEFT approach specifically designed for Mamba, with three key components:

  1. Leaky Integrate Membrane (LIM) โ€” Bio-inspired gating mechanism that accumulates membrane potentials over time on Mamba's gate branch, enhancing selective information retention
  2. Strategic LoRA Placement โ€” Low-Rank Adaptations on input and output projections
  3. Cross-Layer Membrane Transfer โ€” Averaged membrane states propagated across layers for temporal coherence

Results

Language Tasks (Commonsense Reasoning)

ModelMethod#Params(%)Avg. Acc. (%)
Mamba-370MLoRAp (X)2.6747.8
Mamba-370MMemba (in_proj)2.0748.2
Mamba-790MLoRAp (X)1.7550.8
Mamba-790MMemba (in_proj)1.4751.8
Mamba-1.4BLoRAp (X)1.3653.7
Mamba-1.4BMemba (in_proj)1.1354.5

Vision Tasks (VTAB-1k with Vim-S)

Method#Params(K)NaturalSpecializedStructuredAvg.
LoRAp (X)1,77876.6483.8960.8471.52
LoRA (out_proj)2,66376.4283.9660.0871.12
Hybrid (w/ proj)117,23677.0084.4161.5572.05
Memba (in+out proj)4,71877.0785.6661.7072.40

Getting Started

For setup, dependencies, and detailed usage instructions, please refer to the README in each task directory:

Project Structure

Memba/
โ”œโ”€โ”€ language/
โ”‚   โ””โ”€โ”€ commonsense_reasoning/
โ”‚       โ”œโ”€โ”€ finetune.py                 # Language fine-tuning entry point
โ”‚       โ”œโ”€โ”€ lm_harness_eval.py          # Evaluation with lm-evaluation-harness
โ”‚       โ”œโ”€โ”€ requirements.txt
โ”‚       โ””โ”€โ”€ mamba_peft/src/peft/
โ”‚           โ””โ”€โ”€ tuners/mamba_peft.py    # Memba PEFT implementation (LIM + LoRA)
โ”œโ”€โ”€ vision/
โ”‚   โ”œโ”€โ”€ tools/                          # Training and testing scripts
โ”‚   โ”œโ”€โ”€ configs/mmpretrain/vim/vtab1k/  # Experiment configs
โ”‚   โ””โ”€โ”€ personal_lib/
โ”‚       โ”œโ”€โ”€ mmpretrain/models/peft/     # Vision Memba implementation
โ”‚       โ””โ”€โ”€ external_packages/mamba-1p1p1/  # Modified Mamba with LIM integration

Citation

@article{lee2025memba,
  title={Memba: Membrane-driven Parameter-Efficient Fine-Tuning for Mamba},
  author={Lee, Donghyun and Li, Yuhang and Yin, Ruokai and Xiao, Shiting and Panda, Priyadarshini},
  journal={arXiv preprint arXiv:2506.18184},
  year={2025}
}

Acknowledgements

Our code builds upon Mamba, MambaPEFT, Vim, MMPreTrain, LLM-Adapters, and PEFT. Especially, we built Memba upon MambaPEFT code. Thank you for the authors!

License

This project is released under the Apache 2.0 License.