Memory-Augmented Architecture for Long-Term Context Handling in Large Language Models

Haseeb Ullah Khan Shinwari, Muhammad Usama
6/23/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Large Language Models face significant challenges in maintaining coherent interactions over extended dialogues due to their limited contextual memory. This limitation often leads to fragmented exchanges and reduced relevance in responses, diminishing user experience.

Show full abstract

To address these issues, we propose a memory-augmented architecture that dynamically retrieves, updates, and prunes relevant information from past interactions, ensuring effective long-term context handling. Experimental results demonstrate that our solution significantly improves contextual coherence, reduces memory overhead, and enhances response quality, showcasing its potential for real-time applications in interactive systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shinwari2025memoryaugmented,
  title  = {Memory-Augmented Architecture for Long-Term Context Handling in Large Language Models},
  author = {Haseeb Ullah Khan Shinwari and Muhammad Usama},
  year   = {2025},
  eprint = {2506.18271},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.18271v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.18271.svg)](https://codeofpaper.com/paper/2506.18271)

Discussion