Recurrent Transformer improves recall with a fixed-size attention cache
In a November 26 arXiv preprint, Ivan Anokhin and colleagues described a recurrent Transformer that learns which entries in its fixed-size attention cache to update based on incoming content. The approach gives up the requirement that training run in parallel across sequence positions. On FineWeb, the authors report lower validation loss than recurrent Transformers that evict the oldest entry first, for tested caches of up to 128 entries. The model also learned faster on an associative recall task and retrieved information in needle-in-a-haystack tests where the baseline failed.
Why it matters
The experiments show that the cache update rule can affect how much information a recurrent Transformer retrieves under the same memory budget.
Sources
- PrimaryarXiv · Machine LearningSource date ·
Written by AIToolMaps from the source above and checked against it sentence by sentence.