Research map / Large language models / Language, safety and interpretability
Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Context
Urvashi Khandelwal, He He, Peng Qi, Dan Jurafsky
Stanford University
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
5improved
3no clear effect
2hurt
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 |
|---|---|---|---|
| provide more than ~150-250 context tokens (ablation) | LSTM LM · PTB / WikiText-2 dev | perplexity: 1% increase beyond 150 (PTB) / 250 (Wiki) tokens | No clear effect |
| change dropout, model size or BPTT length (ablation) | LSTM LM · PTB / WikiText-2 dev | effective context size | No clear effect |
| shuffle or reverse word order beyond the most recent 50 tokens (ablation) | LSTM LM · WikiText-2 dev | loss | No clear effect |
| replace distant words with random words instead of shuffling (ablation) | LSTM LM · WikiText-2 dev | loss | Hurt |
| keep content words (not dropped) within nearby context (ablation) | LSTM LM · PTB dev | perplexity: dropping content words +65% vs random +17% | Improved |
| keep function words in nearby context (ablation) | LSTM LM · PTB dev | perplexity: +15% when dropped | Improved |
| keep target word occurrences in nearby context (ablation) | LSTM LM · PTB dev, Cnear | perplexity: drop target +9% vs drop distant context +3.5% | Improved |
| keep distant context for words only copyable from far away (ablation) | LSTM LM · PTB dev, Cfar | perplexity: drop distant context +12% vs drop target +2% | Improved |
| add a neural cache | LSTM LM · PTB / WikiText-2, Cfar words | perplexity: without cache +28% PTB, +53% Wiki (Cnear: +22%, +32%) | Improved |
| add a neural cache | LSTM LM · PTB / WikiText-2, Cnone words | perplexity: hurts about 36% of words in PTB and 20% in Wiki | 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
- Putting Words in Context: LSTM Language Models and Lexical Ambiguity (ACL 2019 · similarity 0.89)
- How much do contextualized representations encode long-range context? (NAACL 2025 · similarity 0.89)
- Using LMs to Model the Effects of Context and Coreference during Sentence Comprehension (EMNLP 2026 · similarity 0.88)
- An Explanation of In-context Learning as Implicit Bayesian Inference (ICLR 2022 · similarity 0.88)
- Mogrifier LSTM (ICLR 2020 · similarity 0.88)
- Less is More: Local Intrinsic Dimensions of Contextual Language Models (NeurIPS 2025 · 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.