0

Attention Approximates Sparse Distributed Memory

Attention in Transformer models can be related to Kanerva's Sparse Distributed Memory under certain conditions, offering new interpretations for both computational and biological perspectives.

Year
2021
Venue
NeurIPS 2021 12
Authors
2
Hosting
Abstract onlyARXIV-DEFAULT

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2111.05498v2ARXIV-DEFAULT
TL;DR
Semantic Scholar
Attribution policy →

Abstract

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.

Authors

2