Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Lee, Hyunji, Yu, Wenhao, Zhang, Hongming, Ma, Kaixin, Kim, Jiyeon, Yu, Dong, Seo, Minjoon
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2510.26912
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908621209600000
author Lee, Hyunji
Yu, Wenhao
Zhang, Hongming
Ma, Kaixin
Kim, Jiyeon
Yu, Dong
Seo, Minjoon
author_facet Lee, Hyunji
Yu, Wenhao
Zhang, Hongming
Ma, Kaixin
Kim, Jiyeon
Yu, Dong
Seo, Minjoon
contents 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 recall while preserving other capabilities. It generalizes well across different base models and outperforms architectural modifications aimed at enhancing recall. Our findings provide a deeper understanding of hybrid SSM-attention models and offer practical guidance for designing architectures tailored to various use cases. Our findings provide a deeper understanding of hybrid SSM-attention models and offer practical guidance for designing architectures tailored to various use cases.
format Preprint
id arxiv_https___arxiv_org_abs_2510_26912
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
Lee, Hyunji
Yu, Wenhao
Zhang, Hongming
Ma, Kaixin
Kim, Jiyeon
Yu, Dong
Seo, Minjoon
Computation and Language
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 recall while preserving other capabilities. It generalizes well across different base models and outperforms architectural modifications aimed at enhancing recall. Our findings provide a deeper understanding of hybrid SSM-attention models and offer practical guidance for designing architectures tailored to various use cases. Our findings provide a deeper understanding of hybrid SSM-attention models and offer practical guidance for designing architectures tailored to various use cases.
title Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
topic Computation and Language
url https://arxiv.org/abs/2510.26912