AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

Training Language Models with Memory Augmentation

Zexuan Zhong, Tao Lei, Danqi Chen

EMNLP 2022Architectures and efficiency › Attention and transformersapproach: State space and recurrent sequence models170 citations (OpenAlex)

Princeton University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
8improved
3hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train with in-batch local memory objective (TRIME_LM)Transformer 247M · WikiText-103 testperplexity: 18.70 -> 17.76Improved
add continuous cache at test time onlyTransformer 247M · WikiText-103 testperplexity: 18.70 -> 18.26Improved
pack consecutive segments and use long-term memory (TRIME_long)Transformer 150M · WikiText-103 testperplexity: 25.87 -> 22.66Improved
pack consecutive segments and use long-term memory (TRIME_long)Transformer 38M · Enwik8 testbpc: 1.16 -> 1.05Improved
train with BM25-batched in-batch external memory (TRIME_ext)kNN-LM + continuous cache · WikiText-103 testperplexity: 16.23 -> 15.41Improved
use TRIME objective with external memory for translationTransformer enc-dec · IWSLT'14 De-En testBLEU: 32.58 -> 33.73Improved
replace BM25 batching with random batching (ablation)TRIME_ext (7M) · WikiText-103 devperplexity: 41.50 -> 45.71Hurt
remove back-propagation to memory representations (ablation)TRIME_ext (7M) · WikiText-103 devperplexity: 41.50 -> 45.15Hurt
disable local memory with probability p=0.9 in training (ablation)TRIME_ext (7M) · WikiText-103 devperplexity: 54.33 (p=0) -> 41.50 (p=0.9)Improved
drop long-term memory at test time from TRIME_ext (ablation)TRIME_ext · WikiText-103 testperplexity: 15.41 -> 15.55Hurt
train with in-batch local memory (TRIME_LM) at short segment lengthTransformer 150M · WikiText-103 testperplexity: 25.87 -> 25.60 (small gain)Improved
use TRIME_long instead of vanilla training, evaluated with external memory or local only (ablation)models trained with TRIME_long vs TRIME_ext · WikiText-103 dev (247M)perplexity: TRIME_ext 17.99 with M_local only vs TRIME_LM 17.10Mixed

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy