Scaling Reasoning without Attention

Xueliang Zhao, Wei Wu, Lingpeng KongarXiv 2025 · OpenReview

Large language models (LLMs) have traditionally relied on the Transformer architecture for complex reasoning. However, the linear growth of the Key-Value (KV) cache creates a significant computational bottleneck during long-form generation. PROMPTCOT-MAMBA-7B addresses this by utilizing the attention-free Mamba-2 architecture combined with a novel curriculum fine-tuning strategy, demonstrating that state-space models (SSMs) can match or exceed Transformer performance in high-difficulty domains while maintaining superior efficiency.

Architectural and Data Innovations

The model's efficiency stems from its use of State Space Dual (SSD) layers, which enable constant-time inference and fixed memory usage. Unlike Transformers, this architecture does not require a growing KV cache, making it particularly well-suited for the extensive reasoning chains required in "O1-style" reasoning tasks.

To bridge the reasoning gap often associated with non-attention models, the authors introduced the PROMPTCOT Synthesis paradigm. This two-phase curriculum fine-tuning strategy moves beyond simple problem-answer pairs. Instead, it generates pedagogically structured problems by selecting abstract concepts and building expert-style rationales before formulating the final problem. This approach helps the model internalize deep deductive logic rather than just pattern matching.

Performance Benchmarks

Evaluated against a rigorous battery of math and coding benchmarks, PROMPTCOT-MAMBA-7B consistently outperformed comparable and even significantly larger Transformer-based models.

Accuracy comparison across benchmarks. PROMPTCOT-MAMBA-7B outperforms larger models like Gemma3-27B on several key metrics.

Key highlights include:

  • Superior Reasoning: Surpassing Gemma3-27B (nearly 4x its size) by 2.6% on AIME 24 and 3.0% on LiveCodeBench.
  • Ablation Insights: The PROMPTCOT synthesis proved critical; removing it caused AIME 24 performance to drop from 35.2% to 11.7%, highlighting the importance of structured reasoning data.

Efficiency and Throughput

The primary advantage of the attention-free architecture is its inference speed, especially in memory-constrained environments.

Token generation throughput comparison between PROMPTCOT-MAMBA-7B and s1.1-7B on 72GB and 24GB GPUs.

On a 24GB GPU, PROMPTCOT-MAMBA-7B achieved a 3.66× higher throughput compared to the Transformer-based S1.1-7B. Even on larger 72GB hardware, it maintained a 1.69× advantage. This efficiency allows high-level reasoning agents to operate on more modest hardware without sacrificing performance.

Conclusion and Future Directions

PROMPTCOT-MAMBA-7B establishes a new state-of-the-art for pure Mamba-based architectures in reasoning. While challenges remain—such as the performance trade-offs seen in domain-specific specialization and the need to scale to even larger parameter counts—this work proves that attention is not a prerequisite for elite-level AI reasoning. Future work will likely explore extending these efficient architectures into multi-modal reasoning domains.

Summary updated

BibTeX
@misc{zhao2025scaling,
  author = {Xueliang Zhao and Wei Wu and Lingpeng Kong},
  title = {{Scaling Reasoning without Attention}},
  year = {2025},
  eprint = {2505.22425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.22425},
}
Figure