Does Episodic Memory Help Close the Lexical Frequency Gap in Sensitivity to Syntactic Contrasts? A Test Using Retrieval-Augmented Language Models
On the map: Retrieval-augmented generation → RAG robustness and adaptive retrieval
Abstract (arXiv)
Grammatical knowledge and how it is empirically tested are typically considered robust to the frequency of the lexical items in the expressions. However, neural network-based models of grammaticality exhibit high sensitivity to lexical frequency. We draw upon Complementary Learning Systems theory to test the hypothesis that robustness to lexical frequency can arise via a hippocampal episodic memory mechanism, which enables rapid encoding and retrieval of specific experiences and allows learners to leverage them when processing rare patterns. We use retrieval-augmented language models as an instantiation of such an episodic memory mechanism (specifically, k-nearest-neighbor language models that augment parametric models with explicit instance storage), and test whether this augmentation helps close the lexical frequency gap that vanilla language models exhibit in syntactic contrast tests. Using syntactic contrasts with frequency-stratified test items, we find that retrieval augmentation narrows the performance gap between high- and low-frequency items, consistent with episodic memory compensating for weak parametric representations. This benefit is consistent across different syntactic phenomena and across models pretrained on child-realistic and large-scale data. Additionally, we show that structural information is critical for effective retrieval, whereas semantic similarity alone provides little benefit. While these are promising proof-of-concept results supporting our hypothesis, the frequency gap is narrowed rather than fully closed. Based on our analyses, we propose preferential reweighting of retrieved instances, better representations and retrieval strategies for structural information, and flexible configurations of storage and retrieval as promising future directions for improving the implementation of episodic memory in language models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RAG robustness and adaptive retrieval, one of 15 directions in Retrieval-augmented generation. Builds on 21 of its 48 references that are in the map. First posted on arXiv 24 Aug 2026.
Builds on
21 of 48 references.
References · 21
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2018An Empirical Study of Example Forgetting during Deep Neural Network Learningcited by 678
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
- 2022Should You Mask 15% in Masked Language Modeling?cited by 118
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2025Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 88
9 more
- 2021Frequency Effects on Syntactic Rule Learning in Transformerscited by 59
- 2022Transformers generalize differently from information stored in context vs in weightscited by 49
- 2024Findings of the Second BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corporacited by 48
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
- 2025Latent learning: episodic memory complements parametric learning by enabling flexible reuse of experiencescited by 15
- 2024Mitigating Frequency Bias and Anisotropy in Language Model Pre-Training with Syntactic Smoothingcited by 10
- 2021FairyTailor: A Multimodal Generative Framework for Storytellingcited by 9
- 2025Long-Tail Crisis in Nearest Neighbor Language Modelscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models
- 2025GENESIS: A Generative Model of Episodic-Semantic Interaction
- 2026Linguistic properties and model scale in brain encoding: from small to compressed language models
- 2026From Observation to Intervention: Memory in Brains and Large Language Models
- 2025Hierarchical Frequency Tagging Probe (HFTP): A Unified Approach to Investigate Syntactic Structure Representations in Large Language Models and the Human Brain
- 2026Interpreting Brain Responses to Language with Sparse Features from Language Models
- 2026Emerging Human-like Strategies for Semantic Memory Foraging in Large Language Models
- 2024Memory3: Language Modeling with Explicit Memory