atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Generalization through Memorization: Nearest Neighbor Language Models

ICLR 2020 · Label-efficient and robust learning › Recognition and long-tail · approach: Multilingual language representation pretraining · 53 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's title only (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add kNN retrieval over the training set datastore (kNN-LM interpolation)Baevski & Auli (2019) Transformer LM · WIKITEXT-103test perplexity: 18.65 -> 16.12Helped
add continuous cache on top of kNN-LMkNN-LM · WIKITEXT-103test perplexity: 16.12 -> 15.79Helped
add continuous cache aloneBaevski & Auli (2019) LM · WIKITEXT-103test perplexity: 18.65 -> 18.27Helped
add kNN retrieval over BOOKS training data as datastoreBOOKS LM · BOOKStest perplexity: 11.89 -> 10.89Helped
use a 3B-token datastore with a 100M-token trained LM instead of training on 3B tokensWIKI-100M LM · WIKI-3Btest perplexity: 19.59 -> 13.73 (vanilla 3B-trained LM: 15.17)Helped
add in-domain BOOKS datastore to WIKI-3B-trained model (domain adaptation)WIKI-3B LM · BOOKS domain adaptationtest perplexity: 34.84 -> 20.47Helped
use FFN input after layer norm (final layer) as key representation instead of model output (ablation)kNN-LM · WIKITEXT-103 validationdev perplexity: 17.07 -> 16.06Helped
use normalized (post layer norm) representations as keys (ablation)kNN-LM · WIKITEXT-103 validationdev perplexity: 17.06 (before LN) -> 16.06 (after LN) for FFN inputHelped
increase number of retrieved neighbors k from 1 to 1024 (ablation)kNN-LM · WIKITEXT-103 validationperplexity: monotonic improvement; k=8 already reaches state of the artHelped
compute squared L2 distances with full-precision keys instead of quantized FAISS distances (ablation)kNN-LM · WIKITEXT-103perplexity: 16.5 -> 16.06Helped
interpolate with n-gram LM instead of kNN retrieval (ablation)Transformer LM · WIKITEXT-103 validationperplexity: about 0.2 improvement only, versus 1.9 for kNN-LMHurt
train LM with no dropout to memorize training data and interpolate it with original LM (ablation)Transformer LM · WIKITEXT-103 validationperplexity: best validation 28.59 alone; interpolation improves only by 0.1Hurt

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