mlsanityData to 14 Oct 2026

Characterizing State Space Model and Hybrid Language Model Performance with Long Context

arXiv 2507.12442 ↗First posted 16 Jul 2025cs.AR cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Emerging applications such as AR are driving demands for machine intelligence capable of processing continuous and/or long-context inputs on local devices. However, currently dominant models based on Transformer architecture suffers from the quadratic computational and memory overhead, which hinders applications required to process long contexts. This has spurred a paradigm shift towards new architectures like State Space Models (SSMs) and SSM-Transformer hybrid models, which provide near-linear scaling. The near-linear scaling enabled efficient handling of millions of tokens while delivering high performance in recent studies. Although such works present promising results, their workload characteristics in terms of computational performance and hardware resource requirements are not yet thoroughly explored, which limits our understanding of their implications to the system level optimizations. To address this gap, we present a comprehensive, compara-ive benchmarking of carefully selected Transformers, SSMs, and hybrid models specifically for long-context inference on consumer and embedded GPUs. Our analysis shows that SSMs are well-suited for on-device AI on consumer and embedded GPUs for long context inferences. While Transformers are up to 1.9x faster at short sequences (<8K tokens), SSMs demonstrate a dramatic performance inversion, becoming up to 4x faster at very long contexts (~57K tokens), thanks to their linear computational complexity and ~64% reduced memory footrprint. Our operator-level analysis reveals that custom SSM kernels like selective scan despite being hardware-aware to minimize memory IO, dominate the inference runtime on edge platforms, accounting for over 55% of latency due to their sequential, element-wise nature. SSM-Scope is open-sourced at https://github.com/sapmitra/ssm-scope

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 40 of its 60 references that are in the map. First posted on arXiv 16 Jul 2025.

Builds on

40 of 60 references.

References · 40

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2025Qwen3 Technical Reportcited by 8,820
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2020Scaling Laws for Neural Language Modelscited by 6,586
  9. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  10. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  11. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  12. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
28 more
  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  2. 2020Longformer: The Long-Document Transformercited by 3,413
  3. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  4. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  5. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  6. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  7. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  8. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  9. 2024TinyLlama: An Open-Source Small Language Modelcited by 618
  10. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
  11. 2022Efficiently Scaling Transformer Inferencecited by 539
  12. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  13. 2024Titans: Learning to Memorize at Test Timecited by 328
  14. 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
  15. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
  16. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
  17. 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 204
  18. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  19. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 105
  20. 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 100
  21. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
  22. 2025Seeing Far and Clearly: Mitigating Hallucinations in MLLMs with Attention Causal Decodingcited by 43
  23. 2018Deep Learning Inference in Facebook Data Centers: Characterization, Performance Optimizations and Hardware Implicationscited by 36
  24. 2024The Zamba2 Suite: Technical Reportcited by 21
  25. 2025Quamba2: A Robust and Scalable Post-training Quantization Framework for Selective State Space Modelscited by 16
  26. 2023DeepGEMM: Accelerated Ultra Low-Precision Inference on CPU Architectures using Lookup Tablescited by 8
  27. 2023Exploring the Performance and Efficiency of Transformer Models for NLP on Mobile Devicescited by 4
  28. 2025FlexInfer: Breaking Memory Constraint via Flexible and Efficient Offloading for On-Device LLM Inferencecited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Characterizing the Behavior of Training Mamba-based State Space Models on GPUs
  2. 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
  3. 2026Scaling State-Space Models on Multiple GPUs with Tensor Parallelism
  4. 2024Challenges in Deploying Long-Context Transformers: A Theoretical Peak Performance Analysis
  5. 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference
  6. 2026AI Hardware Accelerators for Large Language Models: Architectures and the Memory Wall ↗
  7. 2024Transformer-Lite: High-efficiency Deployment of Large Language Models on Mobile Phone GPUs
  8. 2023Block-State Transformers