mlsanityData to 7 Oct 2026

Structured Memory Mechanisms for Stable Context Representation in Large Language Models

arXiv 2505.22921 ↗First posted 28 May 2025cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

This paper addresses the limitations of large language models in understanding long-term context. It proposes a model architecture equipped with a long-term memory mechanism to improve the retention and retrieval of semantic information across paragraphs and dialogue turns. The model integrates explicit memory units, gated writing mechanisms, and attention-based reading modules. A forgetting function is introduced to enable dynamic updates of memory content, enhancing the model's ability to manage historical information. To further improve the effectiveness of memory operations, the study designs a joint training objective. This combines the main task loss with constraints on memory writing and forgetting. It guides the model to learn better memory strategies during task execution. Systematic evaluation across multiple subtasks shows that the model achieves clear advantages in text generation consistency, stability in multi-turn question answering, and accuracy in cross-context reasoning. In particular, the model demonstrates strong semantic retention and contextual coherence in long-text tasks and complex question answering scenarios. It effectively mitigates the context loss and semantic drift problems commonly faced by traditional language models when handling long-term dependencies. The experiments also include analysis of different memory structures, capacity sizes, and control strategies. These results further confirm the critical role of memory mechanisms in language understanding. They demonstrate the feasibility and effectiveness of the proposed approach in both architectural design and performance outcomes.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 13 of its 20 references that are in the map. First posted on arXiv 28 May 2025.

Builds on

13 of 20 references.

References · 13

  1. 2020Longformer: The Long-Document Transformercited by 3,362
  2. 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
  3. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
  4. 2025A Comprehensive Survey on Long Context Language Modelingcited by 113
  5. 2021Adapting GPT, GPT-2 and BERT Language Models for Speech Recognitioncited by 16
  6. 2024Long Context is Not Long at All: A Prospector of Long-Dependency Data for Large Language Modelscited by 15
  7. 2025LADM: Long-context Training Data Selection with Attention-based Dependency Measurement for LLMscited by 11
  8. 2025LongAttn: Selecting Long-context Training Data via Token-level Attentioncited by 9
  9. 2025Context-Guided Dynamic Retrieval for Improving Generation Quality in RAG Modelscited by 8
  10. 2025Semantic and Contextual Modeling for Malicious Comment Detection with BERT-BiLSTMcited by 5
  11. 2025Graph-Based Spectral Decomposition for Parameter Coordination in Language Model Fine-Tuningcited by 5
  12. 2024GPT vs RETRO: Exploring the Intersection of Retrieval and Parameter-Efficient Fine-Tuningcited by 4
1 more
  1. 2025Towards Robust Few-Shot Text Classification Using Transformer Architectures and Dual Loss Strategiescited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 8; 2026: 1.

9 papers.