Knowledge Graph Enhanced Memory-Augmented Retrieval for Long Context Modeling
Not on the map. Why?
Abstract (arXiv)
Long-context language modeling requires not only extending context windows but maintaining coherent understanding of entity states and relationships across thousands of tokens -- a challenge that semantic similarity alone cannot address. KGERMAR addresses this by constructing dynamic, context-specific knowledge graphs from input text during inference, enabling domain-adaptive retrieval that leverages both semantic similarity and explicit entity relationships. The framework performs real-time entity and relation extraction to build contextual knowledge graphs, then integrates graph-structural embeddings with textual semantics through a multi-component memory architecture. Three memory banks -- contextual, semantic, and structural -- are maintained with retrieval signals fused via learned weights to capture both surface-level semantics and deeper relational patterns. Evaluated on SlimPajama (84.7K training examples), WikiText-103 (4,358 examples), PG-19 (100 examples), and Proof-pile (46.3K examples), KGERMAR achieves up to 8.5% lower perplexity and 2--2.5x better memory efficiency than memory-augmented baselines across context lengths from 1K to 32K tokens, with superior in-context learning performance across five NLU tasks. The dynamic knowledge graph construction approach advances memory-augmented language modeling by enabling domain-specific knowledge representation that adapts to input contexts rather than relying on fixed knowledge bases.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 35 of its 46 references that are in the map. First posted on arXiv 12 Jun 2026.
Builds on
35 of 46 references.
References · 35
- 2017Attention Is All You Needcited by 59,932
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
23 more
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
- 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 386
- 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
- 2019K-BERT: Enabling Language Representation with Knowledge Graphcited by 303
- 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
- 2019Knowledge Enhanced Contextual Word Representationscited by 294
- 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 265
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
- 2019PullNet: Open Domain Question Answering with Iterative Retrieval on Knowledge Bases and Textcited by 182
- 2022GreaseLM: Graph REASoning Enhanced Language Models for Question Answeringcited by 170
- 2017Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learningcited by 161
- 2022Deep Bidirectional Language-Knowledge Graph Pretrainingcited by 156
- 2017Know-Evolve: Deep Temporal Reasoning for Dynamic Knowledge Graphscited by 149
- 2021GraphFormers: GNN-nested Transformers for Representation Learning on Textual Graphcited by 143
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2019Entity-Relation Extraction as Multi-Turn Question Answeringcited by 96
- 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
- 2019Dynamically Fused Graph Network for Multi-hop Reasoningcited by 63
- 2024MemLong: Memory-Augmented Retrieval for Long Text Modelingcited by 11
- 2025Long Context Modeling with Ranked Memory-Augmented Retrievalcited by 2
Built on by
Not cited yet.