NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Motif-Mamba: network motif improved mamba for long-range sequence modeling

Hao Chonghe, Yue Sun, Jian Zhang, Yansong Wang, Wangzi Yao, Yao Yunjie, Tielin Zhang

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Mixture-of-Experts Optimization · Type: new method · Keywords: network motif, Mamba, sequence modeling, low-rank recurrent, long-range dependencies

Areas: Memory › Memory mechanisms › State-Space Memory; Long Context › Long-context mechanisms › State space models for long sequences; Model Architectures & Sequence Modeling › Language Model Architectures › State Space Models

Summary

Motif-Mamba introduces a motif-constrained low-rank recurrent pathway to enhance cross-dimensional communication in Mamba, improving long-range sequence modeling across language and BCI tasks.

Explained to a 5-year-old

We want computers to understand long stories. Some computers use a fast method that works like a simple math rule. But this rule doesn't let different parts of the story talk to each other. We added a new way that lets parts of the story share ideas using a special pattern. This helps the computer understand longer stories better.

Explained to a 5-year-old, longer

Computers sometimes need to read very long texts, like books with many pages. Reading long texts can be slow if the computer compares every word with every other word. To make it faster, some computers use a special rule that works like a quick math trick. This quick rule is good because it only looks at one thing at a time, so it is fast. However, this fast rule does not let different parts of the text help each other. The parts of the text stay separate, so the computer might miss big connections. Researchers noticed this problem and wanted to improve the rule. They added a new piece that lets the text parts talk to each other using a simple pattern. This pattern is inspired by how small groups of things in nature interact. The new piece works like a bridge that connects the fast rule to the text parts. Because of this bridge, the computer can now see longer connections across the text. This makes the computer better at understanding long stories and doing other tasks like reading brain signals.

For a technical reader

Motif-Mamba extends the linear-time selective state-space model of Mamba by adding a motif-constrained low-rank recurrent pathway. This pathway projects hidden states into a compact subspace, applies motif-guided interactions, and maps the dynamics back to the original space, preserving the O(N) recurrence. The design improves cross-dimensional communication, which is limited by the diagonal transitions of standard Mamba. Experiments show consistent gains over plain Mamba on long-sequence extrapolation, language modeling benchmarks, and brain-computer interface decoding. The approach offers a practical way to boost long-range modeling without sacrificing the efficiency of linear-time transformers.

Problem

Efficiently modeling long sequences with linear-time methods like Mamba is limited by restricted interactions among state dimensions, making it hard to capture long-range dependencies.

Method

The approach augments Mamba with a motif-constrained low-rank recurrent pathway that projects hidden states into a compact dynamical subspace, imposes motif-guided interactions, and maps the resulting dynamics back to the original state space, preserving linear-time recurrence.

Results

The approach achieves consistent improvements over Mamba backbones on long-sequence extrapolation, language modeling, and brain-computer interface decoding tasks.

Contributions

A motif-guided low-rank recurrent pathway that enhances cross-dimensional communication while retaining linear-time recurrence, and empirical evidence of its benefits on multiple sequence modeling tasks.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction