LGAINov 10, 2021

Attention Approximates Sparse Distributed Memory

arXiv:2111.05498v236 citations
Originality Incremental advance
AI Analysis

This work offers a theoretical insight into why Attention works well, potentially benefiting researchers in deep learning and neuroscience.

The paper shows that Transformer Attention can be closely related to Sparse Distributed Memory under certain data conditions, which are confirmed in pre-trained GPT2 models, providing new computational and biological interpretations.

While Attention has come to be an important mechanism in deep learning, there remains limited intuition for why it works so well. Here, we show that Transformer Attention can be closely related under certain data conditions to Kanerva's Sparse Distributed Memory (SDM), a biologically plausible associative memory model. We confirm that these conditions are satisfied in pre-trained GPT2 Transformer models. We discuss the implications of the Attention-SDM map and provide new computational and biological interpretations of Attention.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes