PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 19, 20250 citationsOpen Access

Cognitive Memory in Large Language Models

View Full Paper
LSLianlei ShanSLShixian LuoZZZ. G. Zhu

Key Points

  • Cognitive memory in LLMs improves efficiency in generating context-aware responses, minimizing errors.
  • Short-term memory is crucial for processing immediate context, while long-term memory utilizes external databases for retention.
  • The paper categorizes memory mechanisms into various types, highlighting their roles in managing and utilizing information efficiently.
  • Parameter-based and hidden-state memory techniques enhance the performance of LLMs, particularly for long-text processing.

Abstract

This paper examines memory mechanisms in Large Language Models (LLMs), emphasizing their importance for context-rich responses, reduced hallucinations, and improved efficiency. It categorizes memory into sensory, short-term, and long-term, with sensory memory corresponding to input prompts, short-term memory processing immediate context, and long-term memory implemented via external databases or structures. The text-based memory section covers acquisition (selection and summarization), management (updating, accessing, storing, and resolving conflicts), and utilization (full-text search, SQL queries, semantic search). The KV cache-based memory section discusses selection methods (regularity-based summarization, score-based approaches, special token embeddings) and compression techniques (low-rank compression, KV merging, multimodal compression), along with management strategies like offloading and shared attention mechanisms. Parameter-based memory methods (LoRA, TTT, MoE) transform memories into model parameters to enhance efficiency, while hidden-state-based memory approaches (chunk mechanisms, recurrent transformers, Mamba model) improve long-text processing by combining RNN hidden states with current methods. Overall, the paper offers a comprehensive analysis of LLM memory mechanisms, highlighting their significance and future research directions.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Shan et al. (2025) studied this question.

synapsesocial.com/papers/68f43f09854d1061a58aca49https://doi.org/10.48550/arxiv.2504.02441
Ask AI
Helpful
Bookmark
Share
View Full Paper