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.
PRIME: Large Language Model Personalization with Cognitive Dual-Memory and Personalized Thought Process
Computer Science and Engineering, University of Michigan, Ann Arbor, MI(计算机科学与工程系,密歇根大学,安娜堡分校);Department of Political Science, Northeastern University, Boston, MA(政治学系,东北大学,波士顿分校)
该研究提出融合认知双记忆与个性化慢思考的 PRIME 框架,并构建基于 Reddit CMV 的长上下文个性化数据集,实验证明其可捕捉动态用户偏好。
SuperLocalMemory V3.3: The Living Brain -- Biologically-Inspired Forgetting, Cognitive Quantization, and Multi-Channel Retrieval for Zero-LLM Agent Memory Systems
Learning How to Remember: A Meta-Cognitive Management Method for Structured and Transferable Agent Memory
Institute of Automation, CAS(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Zhongguancun Academy(中关村学院);Zhongguancun Institute of Artificial Intelligence(中关村人工智能研究所);Department of Gastrointestinal Surgery, Fujian Provincial Cancer Hospital(福建省癌症医院胃肠外科);College of Computer and Data Science, Fuzhou University(福州大学计算机与数据科学学院)
Beyond ID Embeddings: Process-Grounded Language Modeling for Cognitive Diagnosis
State Key Laboratory of AI Safety, Institute of Computing Technology, CAS(中国科学院计算技术研究所人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)
Do Large Language Models Mirror Cognitive Language Processing?
College of Intelligence and Computing, Tianjin University(天津大学智能与计算学部);College of Computer and Information Engineering, Tianjin Normal University(天津师范大学计算机与信息工程学院)
PsychoAgent: An Affect-Sensitive Cognitive Architecture for Conflict-Aware Memory in LLM Agents
School of Electrical and Computer Engineering, College of Engineering, University of Tehran(德黑兰大学工程学院电气与计算机工程学院);Sharif University of Technology(谢里夫理工大学);Missouri University of Science and Technology(密苏里科技大学);Tehran Institute for Advanced Studies, Khatam University(哈塔姆大学德黑兰高等研究院)
AI Models Can Predict and Collaboratively Modulate Human Memory Search
Champalimaud Research(尚帕利莫德研究院);Champalimaud Centre for Restorative Neurotechnology(尚帕利莫德修复神经技术中心);New York University Tandon(纽约大学坦登工程学院);Indiana University(印第安纳大学)
Analyzing Cognitive Differences Among Large Language Models through the Lens of Social Worldview
Wangxuan Institute of Computer Technology, Peking University(北京大学计算机技术研究院);Information Management Department, Peking University(北京大学信息管理系);Renmin University of China(中国人民大学)
Cognitive Weave: Synthesizing Abstracted Knowledge with a Spatio-Temporal Resonance Graph
University of Southern California(南加州大学);WorkOnward, Inc(WorkOnward公司);Yeshiva University(耶鲁大学);IEEE Senior Member(IEEE高级会员);Northeastern University(东北大学)
Language-Based Digital Twins for Elderly Cognitive Assistance
Ritchie School of Engineering and Computer Science, University of Denver(丹佛大学里奇工程与计算机科学学院);Department of Neurology, Massachusetts General Hospital, Harvard Medical School(哈佛医学院麻省总医院神经内科)
Individualized Cognitive Simulation in Large Language Models: Evaluating Different Cognitive Representation Methods
Department of Computer Science, University of Southern California(计算机科学系,南加州大学);College of Computing and Data Science, Nanyang Technological University(计算与数据科学学院,南洋理工大学);USC Institute for Creative Technologies(南加州大学创意技术研究所)
Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinking
University of Southern California(南加州大学);University of Pennsylvania(宾夕法尼亚大学);University of Wisconsin Madison(威斯康星大学麦迪逊分校);University of California, Davis(加利福尼亚大学戴维斯分校)