atlas

Research map / Architectures and efficiency / Attention and transformers

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

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Gated Memory Unit (GMU) for cross-layer memory sharing and the SambaY decoder-hybrid-decoder architecture, scales it with a μP++ hyperparameter scheme, and builds Phi4-mini-Flash(-Reasoning) for efficient long-generation reasoning.

Problem

Decoding efficiency of hybrid SSM/attention LLMs degrades on long generations because cross-attention layers in decoder-decoder models like YOCO still incur linear KV-cache memory I/O during decoding.

Approach

A Gated Memory Unit reuses the SSM mixed-token representation from a earlier self-decoder layer through cheap element-wise gating, replacing half of YOCO's cross-attention layers; this gives constant-size memory reads during decoding while keeping linear pre-filling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GMUs to replace half of the cross-attention layers (SambaY vs Samba+YOCO)SambaY · RULER 32KAvg. accuracy: 37.2 -> 42.9Helped
Add Differential Attention to SambaYSambaY · RULER 32KAvg. accuracy: 42.9 -> 47.6Helped
Add Differential Attention to SambaYSambaY · short-context tasks, 1B zero-shotAvg. accuracy: 52.17 -> 52.17No clear effect
Replace Phi4-mini with Phi4-mini-Flash architecturePhi4-mini · QasperF1: 40.4 -> 40.2Hurt
Use Phi4-mini-Flash-Reasoning rather than Phi4-mini-ReasoningPhi4-mini-Reasoning · AIME24Pass@1: 48.13 -> 52.29Helped
Use Phi4-mini-Flash-Reasoning rather than Phi4-mini-ReasoningPhi4-mini-Reasoning · AIME25Pass@1: 31.77 -> 33.59Helped
Use Phi4-mini-Flash-Reasoning rather than Phi4-mini-ReasoningPhi4-mini-Reasoning · Math500Pass@1: 91.20 -> 92.45Helped
Use Phi4-mini-Flash-Reasoning rather than Phi4-mini-ReasoningPhi4-mini-Reasoning · GPQA DiamondPass@1: 44.51 -> 45.08Helped
Replace Mamba self-decoder layers with Mamba-2 (ablation)SambaY · Phonebook 32Kaccuracy: 78.13 -> 40.63Hurt
Remove SWA layers from the self-decoder except the full attention layer (ablation)SambaY · Phonebook 32Kaccuracy: 78.13 -> 12.50Hurt
Replace Mamba layers with Gated DeltaNet and normalize after the output gate (ablation)SambaY · Phonebook 32Kaccuracy: 78.13 -> 83.59Helped
Replace Mamba layers with Gated DeltaNet (ablation)SambaY · Phonebook 32Kaccuracy: 78.13 -> 89.84Helped

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama ProLong-64K Phi4-mini data corpus Phi4-mini-Reasoning distillation data

Benchmarks: Phonebook RULER Wikitext LAMBADA ARC-c ARC-e HellaSwag PIQA WinoGrande MMLU MMLU-Pro Arena Hard

Metrics: accuracy perplexity irreducible loss pass@1 throughput (MTPS / tokens per second) ROUGE-L F1 win rate

Baselines: Transformer++ Samba+YOCO SWA+YOCO TransformerLS Phi4-mini Phi4-mini-Reasoning DeepSeek-R1-Distill-Qwen-7B DeepSeek-R1-Distill-Llama-8B OpenThinker-7B Bespoke-Stratos-7B

Builds on: YOCO Samba Mamba Differential Attention Phi4-mini-Reasoning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy