mlsanityData to 14 Oct 2026

Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generation

arXiv 2507.06607 ↗First posted 9 Jul 2025cs.CL cs.LGcited by 11

On the map: LLM reasoning → Test-time compute and efficient thinking

Abstract (arXiv)

Recent advances in language modeling have demonstrated the effectiveness of State Space Models (SSMs) for efficient sequence modeling. While hybrid architectures such as Samba and the decoder-decoder architecture, YOCO, have shown promising performance gains over Transformers, prior works have not investigated the efficiency potential of representation sharing between SSM layers. In this paper, we introduce the Gated Memory Unit (GMU), a simple yet effective mechanism for efficient memory sharing across layers. We apply it to create SambaY, a decoder-hybrid-decoder architecture that incorporates GMUs in the cross-decoder to share memory readout states from a Samba-based self-decoder. SambaY significantly enhances decoding efficiency, preserves linear pre-filling time complexity, and boosts long-context performance, all while eliminating the need for explicit positional encoding. Through extensive scaling experiments, we demonstrate that our model exhibits a significantly lower irreducible loss compared to a strong YOCO baseline, indicating superior performance scalability under large-scale compute regimes. Our largest model enhanced with Differential Attention, Phi4-mini-Flash-Reasoning, achieves significantly better performance than Phi4-mini-Reasoning on reasoning tasks such as Math500, AIME24/25, and GPQA Diamond without any reinforcement learning, while delivering up to 10x higher decoding throughput on 2K-length prompts with 32K generation length under the vLLM inference framework. We release our training codebase on open-source data at https://github.com/microsoft/ArchScale.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 50 of its 109 references that are in the map. First posted on arXiv 9 Jul 2025.

Builds on

50 of 109 references.

References · 50

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  5. 2016Layer Normalizationcited by 5,669
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  9. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  10. 2021Program Synthesis with Large Language Modelscited by 3,637
  11. 2016Pointer Sentinel Mixture Modelscited by 3,096
  12. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
38 more
  1. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  2. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
  3. 2020GLU Variants Improve Transformercited by 1,804
  4. 2020Reformer: The Efficient Transformercited by 1,668
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  6. 2024OpenAI o1 System Cardcited by 1,244
  7. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  8. 2024DeepSeek-V3 Technical Reportcited by 811
  9. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  10. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  11. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  12. 2017Deep Learning Scaling is Predictable, Empiricallycited by 582
  13. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  14. 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 500
  15. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  16. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
  17. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 288
  18. 2018An Empirical Model of Large-Batch Trainingcited by 281
  19. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  20. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  21. 2024The Illusion of State in State-Space Modelscited by 187
  22. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  23. 2022Mega: Moving Average Equipped Gated Attentioncited by 179
  24. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
  25. 2024How to Train Long-Context Language Models (Effectively)cited by 146
  26. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 131
  27. 2024DeepSpeed-FastGen: High-throughput Text Generation for LLMs via MII and DeepSpeed-Inferencecited by 106
  28. 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 64
  29. 2024SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Modelscited by 44
  30. 2025Phi-4-Mini-Reasoning: Exploring the Limits of Small Reasoning Language Models in Mathcited by 44
  31. 2024How to set AdamW's weight decay as you scale model and dataset sizecited by 43
  32. 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
  33. 2025Predictable Scale: Part I, Step Law -- Optimal Hyperparameter Scaling Law in Large Language Model Pretrainingcited by 34
  34. 2024Scaling Law for Language Models Training Considering Batch Sizecited by 22
  35. 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
  36. 2024GoldFinch: High Performance RWKV/Transformer Hybrid with Linear Pre-Fill and Extreme KV-Cache Compressioncited by 18
  37. 2025xLSTM 7B: A Recurrent LLM for Fast and Efficient Inferencecited by 18
  38. 2024Differential Transformercited by 13

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 5.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Return of the Encoder: Maximizing Parameter Efficiency for SLMs
  2. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling
  3. 2026Component-Aware Self-Speculative Decoding in Hybrid Language Models
  4. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Models
  5. 2026Memory Decoder at Scale: A Pretrained, Parametric Long-Term Memory
  6. 2025Characterizing State Space Model and Hybrid Language Model Performance with Long Context
  7. 2025Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling
  8. 2026GSM: Efficient Language Modeling with Shared Global State