Lune

ICML2025Top-tier venue

xLSTM 7B: A Recurrent LLM for Fast and Efficient Inference

Maximilian Beck, Korbinian Pöppel, Phillip Lippe, Richard Kurle, Patrick M. Blies, Günter Klambauer, Sebastian Böck, Sepp Hochreiter

Abstract

Recent breakthroughs in solving reasoning, math and coding problems with Large Language Models (LLMs) have been enabled by investing substantial computation budgets at inference time. Therefore, inference speed is one of the most critical properties of LLM architectures, and there is a growing need for LLMs that are efficient and fast at inference. Recently, LLMs built on the xLSTM architecture have emerged as a powerful alternative to Transformers, offering linear compute scaling with sequence length and constant memory usage, both highly desirable properties for efficient inference. However, such xLSTMbased LLMs have yet to be scaled to larger models and assessed and compared with respect to inference speed and efficiency. In this work, we introduce xLSTM 7B, a 7-billion-parameter LLM that combines xLSTM's architectural benefits with targeted optimizations for fast and efficient inference. Our experiments demonstrate that xLSTM 7B achieves performance on downstream tasks comparable to other similar-sized LLMs, while providing significantly faster inference speeds and greater efficiency compared to Llama-and Mamba-based LLMs. These results establish xLSTM 7B as the fastest and most efficient 7B LLM, offering a solution for tasks that require large amounts of test-time computation. Our work highlights xLSTM's potential as a foundational architecture for methods building on heavy use of LLM inference. Our model weights, model code and training code are open-source.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generation cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generation cites Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generation cites On Layer Normalization in the Transformer Architecture
  • Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels cites Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels cites On Layer Normalization in the Transformer Architecture
  • FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Log-Linear Attention cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Log-Linear Attention cites Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels
  • Log-Linear Attention cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Log-Linear Attention cites Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Short Window Attention Enables Long-Term Memorization cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Short Window Attention Enables Long-Term Memorization cites Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Log-Linear AttentionHan Guo, Songlin Yang, Tarushii Goel, Eric P. Xing et al.ICLR 2026 · 41 citations
  2. Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM KernelsMaximilian Beck, Korbinian Pöppel, Phillip Lippe, Sepp HochreiterNeurIPS 2025 · 17 citations
  3. Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long GenerationLiliang Ren, Congcong Chen, Haoran Xu, Young Jin Kim et al.NeurIPS 2025 · 12 citations
  4. Short Window Attention Enables Long-Term MemorizationLoïc Cabannes, Maximilian Beck, Maria Lomeli, Gergely Szilvasy et al.ICLR 2026 · 11 citations
  5. gLSTM: Mitigating Over-Squashing by Increasing Storage CapacityHugh Blayney, Alvaro Arroyo, Xiaowen Dong, Michael M. BronsteinICLR 2026 · 4 citations

Builds on19

  1. Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran et al.NeurIPS 2023 · 5,068 citations
  2. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 citations
  3. FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 citations
  4. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 citations
  5. On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng et al.ICML 2020 · 1,388 citations

Related papers

  1. xLSTM Scaling Laws: Competitive Performance with Linear Time-ComplexityMaximilian Beck, Kajetan Schweighofer, Sebastian Böck, Sebastian Lehner et al.ICLR 2026 · 3 citations
  2. A Large Recurrent Action Model: xLSTM enables Fast Inference for Robotics TasksThomas Schmied, Thomas Adler, Vihang Prakash Patil, Maximilian Beck et al.ICML 2025
  3. Linear-Time and Constant-Memory Text Embeddings Based on Recurrent Language ModelsTobias Grantner, Emanuel Sallinger, Martin FlechlACL 2026
  4. Cobra: Extending Mamba to Multi-Modal Large Language Model for Efficient InferenceHan Zhao, Min Zhang, Wei Zhao, Pengxiang Ding et al.AAAI 2025 · 125 citations
  5. Mamba-3: Improved Sequence Modeling using State Space PrinciplesAakash Sunil Lahoti, Kevin Y. Li, Berlin Chen, Caitlin Wang et al.ICLR 2026 · 96 citations
Dusk over the sea between two cliffs drawn in fine vertical lines