Research map / Large language models / Language, safety and interpretability
Long-Tail Crisis in Nearest Neighbor Language Models
Yuto Nishida, Makoto Morishita, Hiroyuki Deguchi, Hidetaka Kamigaito, Taro Watanabe
Nara Institute of Science and Technology · Future Corporation
Read the paperPlace an idea next to itCheck your own paper ↗
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add kNN interpolation to base LM | GPT2-XL · WikiText-103 original test | perplexity: 14.37 -> 10.74 | Improved |
| add kNN interpolation to base LM | GPT2-XL · WikiText-103 resplit test | perplexity: 17.30 -> 15.68 | Improved |
| add kNN probability to LM for low-frequency target tokens | GPT2-XL kNN-LM · tokens with datastore frequency <= 10^3 | probability of target token: intoxicated .518 -> .137 (kNN prob.) | Hurt |
| add kNN probability to LM for high-frequency target tokens | GPT2-XL kNN-LM · token 'song' (frequency about 10^5) | probability of target token: .421 -> .525 (LM -> kNN) | Improved |
| increase number of neighbors k | kNN-LM · low-frequency tokens | kNN hit rate | Improved |
| vary k or temperature tau to fix low-frequency tokens | kNN-LM · low-frequency tokens | kNN probability vs LM | No clear effect |
| increase context n-gram frequency | kNN-LM · resplit test | correlation with target-token frequency: -0.12 ... -0.012 | No clear effect |
| larger PQ reconstruction error | kNN-LM · per token type | prediction gain: Pearson -0.20, Spearman -0.16 | Hurt |
Open problems in LLM pruning and scaling data
Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?
- Experiments are small and larger models or corpora are untested. · 34 papers state it
- The method adds training or compute overhead over the baseline. · 20 papers state it
- Most evaluation uses English or a few high-resource languages. · 13 papers state it
Closest papers by meaning
- Great Memory, Shallow Reasoning: Limits of kNN-LMs (NAACL 2025 · similarity 0.91)
- Scaling Retrieval-Based Language Models with a Trillion-Token Datastore (NeurIPS 2024 · similarity 0.89)
- Inference Scaling for Long-Context Retrieval Augmented Generation (ICLR 2025 · similarity 0.88)
- RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding (ICML 2025 · similarity 0.87)
- Nearest Neighbor Speculative Decoding for LLM Generation and Attribution (NeurIPS 2024 · similarity 0.87)
- Test-Time Training on Nearest Neighbors for Large Language Models (ICLR 2024 · similarity 0.87)
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.