Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
Hyunji Lee, Wenhao Yu, Hongming Zhang, Kaixin Ma, Jiyeon Kim, Dong Yu, Minjoon Seo

TL;DR
This paper analyzes hybrid models combining state space models and attention mechanisms, revealing how architectural choices affect performance and proposing data augmentation techniques to improve memory recall in language modeling.
Contribution
It provides a detailed analysis of hybrid SSM-attention architectures, compares sequential and parallel designs, and introduces a data-centric training method to enhance recall capabilities.
Findings
Sequential hybrids excel on short contexts.
Parallel hybrids perform better on long contexts.
Data augmentation with paraphrases improves recall.
Abstract
Hybrid models that combine state space models (SSMs) with attention mechanisms have shown strong performance by leveraging the efficiency of SSMs and the high recall ability of attention. However, the architectural design choices behind these hybrid models remain insufficiently understood. In this work, we analyze hybrid architectures through the lens of memory utilization and overall performance, and propose a complementary method to further enhance their effectiveness. We first examine the distinction between sequential and parallel integration of SSM and attention layers. Our analysis reveals several interesting findings, including that sequential hybrids perform better on shorter contexts, whereas parallel hybrids are more effective for longer contexts. We also introduce a data-centric approach of continually training on datasets augmented with paraphrases, which further enhances…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsMachine Learning in Healthcare · Topic Modeling · Personal Information Management and User Behavior
