Asset Details
MbrlCatalogueTitleDetail
Do you wish to reserve the book?
Short window attention enables long-term memorization
by
Jégou, Hervé
, Szilvasy, Gergely
, Lomeli, Maria
, Beck, Maximilian
, Synnaeve, Gabriel
, Cabannes, Loïc
, Douze, Matthijs
, Copet, Jade
, Pierre-Emmanuel Mazaré
in
Attention
/ Recurrent neural networks
/ Sliding
2025
Hey, we have placed the reservation for you!
By the way, why not check out events that you can attend while you pick your title.
You are currently in the queue to collect this book. You will be notified once it is your turn to collect the book.
Oops! Something went wrong.
Looks like we were not able to place the reservation. Kindly try again later.
Are you sure you want to remove the book from the shelf?
Oops! Something went wrong.
While trying to remove the title from your shelf something went wrong :( Kindly try again later!
Do you wish to request the book?
Short window attention enables long-term memorization
by
Jégou, Hervé
, Szilvasy, Gergely
, Lomeli, Maria
, Beck, Maximilian
, Synnaeve, Gabriel
, Cabannes, Loïc
, Douze, Matthijs
, Copet, Jade
, Pierre-Emmanuel Mazaré
in
Attention
/ Recurrent neural networks
/ Sliding
2025
Please be aware that the book you have requested cannot be checked out. If you would like to checkout this book, you can reserve another copy
We have requested the book for you!
Your request is successful and it will be processed during the Library working hours. Please check the status of your request in My Requests.
Oops! Something went wrong.
Looks like we were not able to place your request. Kindly try again later.
Paper
Short window attention enables long-term memorization
2025
Request Book From Autostore
and Choose the Collection Method
Overview
Recent works show that hybrid architectures combining sliding window softmax attention layers with linear recurrent neural network (RNN) layers outperform both of these architectures taken separately. However, the impact of the window length and the interplay between softmax attention and linear RNN layers remain under-studied. In this work, we introduce SWAX, a hybrid architecture consisting of sliding-window attention and xLSTM linear RNN layers. A counter-intuitive finding with SWAX is that larger sliding windows do not improve the long-context performance. In fact, short window attention encourages the model to better train the long-term memory of the xLSTM, by relying less on the softmax attention mechanism for long context-retrieval. The issue with small sliding windows is that they are detrimental for short-context tasks, which could be solved with information from moderately larger sliding windows otherwise. Therefore, we train SWAX by stochastically changing the sliding window size, forcing the model to leverage both a longer context window and the xLSTM memory. SWAX trained with stochastic window sizes significantly outperforms regular window attention both on short and long-context problems.
Publisher
Cornell University Library, arXiv.org
Subject
This website uses cookies to ensure you get the best experience on our website.