TransXSSM: A Hybrid Transformer State Space Model with Unified Rotary Position Embedding
Not on the map. Why?
Abstract (arXiv)
Transformers exhibit proficiency in capturing long-range dependencies, whereas State Space Models (SSMs) facilitate linear-time sequence modeling. Notwithstanding their synergistic potential, the integration of these architectures presents a significant challenge, primarily attributable to a fundamental incongr inuity their respective positional encoding mechanisms: Transformers rely on explicit Rotary Position Embeddings (RoPE), while SSMs leverage implicit positional representations via convolutions. This divergence often precipitates discontinuities and suboptimal performance.To address this impediment, we propose a unified rotary position embedding (Unified RoPE) methodology, thereby establishing a consistent positional encoding framework for both self-attention and state-space components. Using this Unified RoPE, we introduce TransXSSM, a hybrid architecture that coherently integrates the Transformer and SSM layers under this unified positional encoding scheme. At a 4 sequenceK length, TransXSSM exhibits training and inference speeds that are 42.3% and 29.5% faster, respectively, relative to standard Transformer models. It also delivers higher accuracy: under comparable settings, it surpasses a Transformer baseline by over 4% on language modeling benchmarks.TransXSSM furthermore scales more effectively: TransXSSM-1.3B gains 7.22% in average accuracy over its 320M version (versus about 6% gains for equivalent Transformers or SSMs). Our results show that unified positional encoding resolves positional incompatibility in hybrid models, enabling efficient, high-performance long-context modeling.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 23 of its 29 references that are in the map. First posted on arXiv 11 Jun 2025.
Builds on
23 of 29 references.
References · 23
- 2017Attention Is All You Needcited by 59,932
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023Mistral 7Bcited by 3,065
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
11 more
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2024An Empirical Study of Mamba-based Language Modelscited by 177
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 104
- 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 88
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
- 2023Diagonal State Space Augmented Transformers for Speech Recognitioncited by 25
- 2023Block-State Transformerscited by 24
- 2023Multi-Head State Space Model for Speech Recognitioncited by 14
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encoding
- 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge
- 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Models
- 2026Learning Rate Transfer for Hybrid Transformer-SSM Architectures
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Survey
- 20232-D SSM: A General Spatial Layer for Visual Transformers
- 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference
- 2025On the locality bias and results in the Long Range Arena