
Diagonal Batching Unlocks Parallelism in Recurrent Memory Transformers for Long Contexts
🤗 Upvotes: 32 | cs.LG, cs.CL
Authors:
Danil Sivtsov, Ivan Rodkin, Gleb Kuzmin, Yuri Kuratov, Ivan Oseledets
Title:
Diagonal Batching Unlocks Parallelism in Recurrent Memory Transformers for Long Contexts
Arxiv:
http://arxiv.org/abs/2506.05229v1
Abstract:
Transformer models struggle with long-context inference due to their quadratic time and linear memory complexity. Recurrent Memory Transformers (RMTs) offer a solution by reducing the asymptotic cost to linear time and constant memory usage. However, their memory update mechanism leads to sequential execution, causing a performance…
The skinny
The skinny isn't ready yet — notes appear once the transcript is processed.