2023

Birth of a Transformer: A Memory Viewpoint

Bietti, Alberto, Cabannes, Vivien, Bouchacourt, Diane et al.

Understand

Large language models based on transformers have achieved great empirical successes.

  • However, as they are deployed more widely, there is a growing need to better understand their internal mechanisms in order to make them more reliable.
  • These models appear to store vast amounts of knowledge from their training data, and to adapt quickly to new information provided in their context or prompt.
  • We study how transformers balance these two types of knowledge by considering a synthetic setup where tokens are generated from either global or context-specific bigram distributions.

Reading the bibliography…