Benchmarking the Computational and Representational Efficiency of State Space Models against Transformers on Long-Context Dyadic Sessions
Not on the map. Why?
Abstract (arXiv)
State Space Models (SSMs) have emerged as a promising alternative to Transformers for long-context sequence modeling, offering linear O(N) computational complexity compared to the Transformer's quadratic O(N2) scaling. This paper presents a comprehensive benchmarking study comparing the Mamba SSM against the LLaMA Transformer on long-context sequences, using dyadic therapy sessions as a representative test case. We evaluate both architectures across two dimensions: (1) computational efficiency, where we measure memory usage and inference speed from 512 to 8,192 tokens, and (2) representational efficiency, where we analyze hidden state dynamics and attention patterns. Our findings provide actionable insights for practitioners working with long-context applications, establishing precise conditions under which SSMs offer advantages over Transformers.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 18 references that are in the map. First posted on arXiv 3 Jan 2026.
Builds on
15 of 18 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2021Automated Quality Assessment of Cognitive Behavioral Therapy Sessions Through Highly Contextualized Language Representationscited by 13
3 more
- 2024COMPASS: Computational Mapping of Patient-Therapist Alliance Strategies with Language Modelingcited by 8
- 2025A Comparative Analysis of Contextual Representation Flow in State-Space and Transformer Architecturescited by 3
- 2025Characterizing State Space Model and Hybrid Language Model Performance with Long Contextcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Interpreting and Steering State-Space Models via Activation Subspace Bottlenecks
- 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles
- 2025LISM: Long-range Integrative State space Models via Input-Latent State Interactions
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspective
- 2024Enhanced Structured State Space Models via Grouped FIR Filtering and Attention Sink Mechanisms
- 2024An Empirical Study of Mamba-based Language Models