arXiv · 2503.18565
Distil-xLSTM: Learning Attention Mechanisms through Recurrent Structures
Abstract
The current era of Natural Language Processing (NLP) is dominated by Transformer models. However, novel architectures relying on recurrent mechanisms, such as xLSTM and Mamba, have been proposed as alternatives to attention-based models. Although computation is done differently than with the attention mechanism mechanism, these recurrent models yield good results and sometimes even outperform state-of-the-art attention-based models. In this work, we propose Distil-xLSTM, an xLSTM-based Small Language Model (SLM) trained by distilling knowledge from a Large Language Model (LLM) that shows promising results while being compute and scale efficient. Our Distil-xLSTM focuses on approximating a transformer-based model attention parametrization using its recurrent sequence mixing components and shows good results with minimal training.
Explore related subjects
Keep this discovery
Abdoul Majid O. Thiombiano, Brahim Hnich, Ali Ben Mrad, Mohamed Wiem Mkaouer. 2025-03-24. Distil-xLSTM: Learning Attention Mechanisms through Recurrent Structures. https://arxiv.org/abs/2503.18565
Cite the original work for its findings. Save a collection to share your selection of sources.