mlsanityData to 7 Oct 2026

TransXSSM: A Hybrid Transformer State Space Model with Unified Rotary Position Embedding

arXiv 2506.09507 ↗First posted 11 Jun 2025cs.CL cs.AIcited by 3

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  7. 2023Mistral 7Bcited by 3,065
  8. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  9. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  10. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  11. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  12. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
11 more
  1. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  2. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
  3. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  4. 2024An Empirical Study of Mamba-based Language Modelscited by 177
  5. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 104
  6. 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 88
  7. 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
  8. 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
  9. 2023Diagonal State Space Augmented Transformers for Speech Recognitioncited by 25
  10. 2023Block-State Transformerscited by 24
  11. 2023Multi-Head State Space Model for Speech Recognitioncited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encoding
  2. 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge
  3. 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Models
  4. 2026Learning Rate Transfer for Hybrid Transformer-SSM Architectures
  5. 2024State Space Model for New-Generation Network Alternative to Transformers: A Survey
  6. 20232-D SSM: A General Spatial Layer for Visual Transformers
  7. 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference
  8. 2025On the locality bias and results in the Long Range Arena