Dynamical Memory Transformer: Selective Recurrent Memories with Constant Cost Attention
Researchers present the Dynamical Memory Transformer (DMT), a hybrid architecture that separates sequence encoding from information reading. Several memory units, each a dynamical system with a complex diagonal recurrent matrix and an input-dependent leak rate, are read by attention without going through token history. The recurrence supports an associative scan with O(T) total work and O(log T) parallel depth, while recurrent states and the convolution cache remain fixed-size during autoregressive inference. Experiments show gains on several cognitive tasks and stronger length extrapolation on selective copy, with language-modeling performance close to Transformer but behind Mamba.
It offers a concrete architectural alternative for constant-cost long-context inference, with candid comparisons against Transformer and Mamba.
Comments & Questions (0)
No comments yet
Be the first to comment!