STORY · FORSKNING_
You could have invented transformers from memory
The article explains how linear layers, MLPs and self-attention can be understood as different types of memory stores. The author uses a ratio between interference and signal to measure how many memories each layer can store and retrieve. With 64-dimensional keys, capacity increases from around 64 memories for a linear layer to over a million for self-attention.
WHY IT MATTERS
The explanation gives an intuitive understanding of why language models can remember so much information, and how the capacity of different layer types are related.
SOURCES
MACHINE-GENERATED SUMMARY This summary is written by machine from the sources below. We sort and explain — but we are a way into the field, not the final word. Check the source when something matters to you.