Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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 xLSTM-based 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.

Maximilian Beck, Korbinian P\"oppel, Phillip Lippe, Richard Kurle, Patrick M. Blies, G\"unter Klambauer, Sebastian B\"ock, Sepp Hochreiter• 2025

Related benchmarks

TaskDatasetResultRank
Generative Question AnsweringBolmo Evaluation Suite GenQA 7B
GenQA Average34.8
39
Mathematical ReasoningOlmoBaseEval Math (GSM8k, GSM Symbolic, MATH)
Math Aggregate Score18.3
34
Long-context retrievalRULER
Retrieval Accuracy (8K)20
34
Code GenerationOlmoBaseEval Code BigCodeBench, HumanEval, DeepSeek LeetCode, DS 1000, MBPP, MultiPL
OlmoBaseEval Code Score3.1
34
Multiple Choice Non-STEM Question AnsweringOlmoBaseEval MC Non-STEM (MMLU Humanities/Social Sci, CSQA, PiQA, SocialIQA, CoQA, DROP, Jeopardy, NaturalQs, SQuAD)
Aggregate Score39.9
34
Multiple Choice STEM Question AnsweringOlmoBaseEval MCSTEM
MCSTEM Score36.9
22
General Language Model EvaluationOlmoBaseEval HeldOut (LBPP, BBH, MMLU Pro, etc.)
LBPP Score0.6
10
Showing 7 of 7 rows

Other info

Follow for update