pith. machine review for the scientific record. sign in

arxiv: 1805.04623 · v1 · submitted 2018-05-12 · 💻 cs.CL

Recognition: unknown

Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Context

Authors on Pith no claims yet
classification 💻 cs.CL
keywords contextneuraldistantmodelmodelsrecenttokenswords
0
0 comments X
read the original abstract

We know very little about how neural language models (LM) use prior linguistic context. In this paper, we investigate the role of context in an LSTM LM, through ablation studies. Specifically, we analyze the increase in perplexity when prior context words are shuffled, replaced, or dropped. On two standard datasets, Penn Treebank and WikiText-2, we find that the model is capable of using about 200 tokens of context on average, but sharply distinguishes nearby context (recent 50 tokens) from the distant history. The model is highly sensitive to the order of words within the most recent sentence, but ignores word order in the long-range context (beyond 50 tokens), suggesting the distant past is modeled only as a rough semantic field or topic. We further find that the neural caching model (Grave et al., 2017b) especially helps the LSTM to copy words from within this distant context. Overall, our analysis not only provides a better understanding of how neural LMs use their context, but also sheds light on recent success from cache-based models.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. HAGE: Harnessing Agentic Memory via RL-Driven Weighted Graph Evolution

    cs.AI 2026-05 unverdicted novelty 6.0

    HAGE proposes a trainable weighted graph memory framework with LLM intent classification, dynamic edge modulation, and RL optimization that improves long-horizon reasoning accuracy in agentic LLMs over static baselines.

  2. Symmetric Equilibrium Propagation for Thermodynamic Diffusion Training

    cs.LG 2026-04 unverdicted novelty 6.0

    Symmetric Equilibrium Propagation provides a local, readout-only training rule for bilinear thermodynamic diffusion models that is unbiased at zero nudge, reduces bias to O(β²) with symmetric nudging, and projects 10³...