Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generation
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
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2016Layer Normalizationcited by 5,669
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
38 more
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2020GLU Variants Improve Transformercited by 1,804
- 2020Reformer: The Efficient Transformercited by 1,668
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024OpenAI o1 System Cardcited by 1,244
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2024DeepSeek-V3 Technical Reportcited by 811
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2017Deep Learning Scaling is Predictable, Empiricallycited by 582
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 500
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 288
- 2018An Empirical Model of Large-Batch Trainingcited by 281
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2024The Illusion of State in State-Space Modelscited by 187
- 2024An Empirical Study of Mamba-based Language Modelscited by 186
- 2022Mega: Moving Average Equipped Gated Attentioncited by 179
- 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
- 2024How to Train Long-Context Language Models (Effectively)cited by 146
- 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 131
- 2024DeepSpeed-FastGen: High-throughput Text Generation for LLMs via MII and DeepSpeed-Inferencecited by 106
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 64
- 2024SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Modelscited by 44
- 2025Phi-4-Mini-Reasoning: Exploring the Limits of Small Reasoning Language Models in Mathcited by 44
- 2024How to set AdamW's weight decay as you scale model and dataset sizecited by 43
- 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
- 2025Predictable Scale: Part I, Step Law -- Optimal Hyperparameter Scaling Law in Large Language Model Pretrainingcited by 34
- 2024Scaling Law for Language Models Training Considering Batch Sizecited by 22
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
- 2024GoldFinch: High Performance RWKV/Transformer Hybrid with Linear Pre-Fill and Extreme KV-Cache Compressioncited by 18
- 2025xLSTM 7B: A Recurrent LLM for Fast and Efficient Inferencecited by 18
- 2024Differential Transformercited by 13
Built on by
Citing papers per year: 2025: 6; 2026: 5.
11 papers.
- 2025NorMuon: Making Muon more efficient and scalablecited by 84
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distributioncited by 74
- 2026Toto 2.0: Time Series Forecasting Enters the Scaling Eracited by 30
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insightscited by 14
- 2025Benchmarking the Thinking Mode of Multimodal Large Language Models in Clinical Taskscited by 2
- 2026You Only Index Once: Cross-Layer Sparse Attention with Shared Routingcited by 2
- 2025Diagnosing Shoulder Disorders Using Multimodal Large Language Models and Consumer-Grade Camerascited by 1
- 2026Cubit: Token Mixer with Kernel Ridge Regressioncited by 0
- 2026NOVA: Technology-Architecture Co-Design of Near-Memory Processing for Attention-SSM-MoE Hybrid LLM Inferencecited by 0
- 2026Orthros: Phase-Aware Heterogeneous Attention for Efficient Transformerscited by 0
- 2026Orthros: Phase-Aware Heterogeneous Attention for Efficient Transformers9 Oct 2026
- 2026NOVA: Technology-Architecture Co-Design of Near-Memory Processing for Attention-SSM-MoE Hybrid LLM Inference23 Aug 2026
- 2026You Only Index Once: Cross-Layer Sparse Attention with Shared Routing4 Jun 2026
- 2026Toto 2.0: Time Series Forecasting Enters the Scaling Era19 May 2026
- 2026Cubit: Token Mixer with Kernel Ridge Regression7 May 2026
- 2025Benchmarking the Thinking Mode of Multimodal Large Language Models in Clinical Tasks5 Nov 2025
- 2025Diagnosing Shoulder Disorders Using Multimodal Large Language Models and Consumer-Grade Cameras10 Oct 2025
- 2025NorMuon: Making Muon more efficient and scalable7 Oct 2025
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insights6 Oct 2025
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution1 Oct 2025
- 2025Efficient Attention Mechanisms for Large Language Models: A Survey25 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Return of the Encoder: Maximizing Parameter Efficiency for SLMs
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling
- 2026Component-Aware Self-Speculative Decoding in Hybrid Language Models
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Models
- 2026Memory Decoder at Scale: A Pretrained, Parametric Long-Term Memory
- 2025Characterizing State Space Model and Hybrid Language Model Performance with Long Context
- 2025Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling
- 2026GSM: Efficient Language Modeling with Shared Global State