scimeatlas

Research map / Large language models / Retrieval and knowledge

Great Memory, Shallow Reasoning: Limits of kNN-LMs

Shangyi Geng, Wenting Zhao, Alexander M Rush

NAACL 2025Large language models › Retrieval and knowledgeapproach: Long-context and personalized retrievalopen problems in this approach6 citations (OpenAlex)

Cornell University

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

11measured effects
4improved
1no clear effect
5hurt
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
add Wiki datastore via kNN-LMLlama2-7b · Wikitext perplexityperplexity: 10.63 -> 9.74Improved
use datastore from a different domain (Wiki on math test set) (ablation)Llama2-7b kNN-LM · Math textbooks perplexityperplexity: 7.90 -> 8.75Hurt
add kNN-LM datastore on memory-intensive classification tasksLlama2-7B, Llama3-8B, Mistral-7B · sentiment, entailment and topic classification (9 datasets)accuracy: e.g. CR 74.55 -> 76.95 (Llama2-7B + Wiki)Improved
add Wiki kNN-LM datastoreLlama2-7B · Natural QuestionsF1: 23.18 -> 22.53Hurt
add kNN-LM datastore on knowledge-intensive reasoning tasksLlama2-7B, Llama3-8B, Mistral-7B · NQ, HotpotQA, ARC, OBQA, MMLUaccuracy / F1: e.g. Llama2-7B Arc-Challenge 41.81 -> 38.31Hurt
add kNN-LM datastore on GSM8KLlama2-7B · GSM8Kaccuracy: 14.83 -> 12.05 (Wiki), 13.48 (Math)Hurt
add kNN-LM datastore on commonsense and math reasoningLlama2-7B, Llama3-8B, Mistral · Winogrande, HellaSwag, DROP, GSM8K, BBHaccuracyHurt
retrieve from Math datastore instead of Wiki (ablation)kNN-LM · GSM8K and DROPaccuracy / F1: Llama2-7B GSM8K 12.05 -> 13.48Improved
tune lambda on downstream task examples (ablation)kNN-LM with Wiki · OpenbookQA and HotpotQAlog probability loss: minimum loss when lambda is close to 0No clear effect
oracle retrieval including correct answer among the k neighbors (ablation)kNN-LM · OBQAaccuracy: 55.80 -> 95.60Improved
oracle retrieval including correct answer among the k neighbors (ablation)kNN-LM · HotpotQAaccuracy: 25.14 -> 49.85Mixed

Open problems in long-context and personalized retrieval

How can long-term memory for LLM assistants work beyond text-only, English, synthetic and costly multi-call setups?

All 5 open problems and what was already tried →

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