CAIM: Development and Evaluation of a Cognitive AI Memory Framework for Long-Term Interaction with Intelligent Agents
Preprint
Abstract
Large language models (LLMs) have advanced the field of artificial intelligence (AI) and are a powerful enabler for interactive systems. However, they still face challenges in long-term interactions that require adaptation towards the user as well as contextual knowledge and understanding of the ever-changing environment. To overcome these challenges, holistic memory modeling is required to efficiently retrieve and store relevant information across interaction sessions for suitable responses. Cognitive AI, which aims to simulate the human thought process in a computerized model, highlights interesting aspects, such as thoughts, memory mechanisms, and decision-making, that can contribute towards improved memory modeling for LLMs. Inspired by these cognitive AI principles, we propose our memory framework CAIM. CAIM consists of three modules: 1.) The Memory Controller as the central decision unit; 2.) the Memory Retrieval, which filters relevant data for interaction upon request; and 3.) the Post-Thinking, which maintains the memory storage. We compare CAIM against existing approaches, focusing on metrics such as retrieval accuracy, response correctness, contextual coherence, and memory storage. The results demonstrate that CAIM outperforms baseline frameworks across different metrics, highlighting its context-awareness and potential to improve long-term human-AI interactions.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- SCM: Enhancing Large Language Model with Self-Controlled Memory Framework2026
- Large Language Models and Cognitive Science: A Comprehensive Review of Similarities, Differences, and ChallengesBIO Integration, 2026
- User-LLM: Efficient LLM Contextualization with User Embeddings2025
- Hello Again! LLM-powered Personalized Agent for Long-term Dialogue2025
- When large language models meet personalization: perspectives of challenges and opportunitiesWorld Wide Web, 2024
- Insights into LLM Long-Context Failures: When Transformers Know but Don’t Tell2024
- Personalization and Customization of LLM ResponsesInternational Journal of Research Publication and Reviews, 2023
- A Practical Survey on Zero-shot Prompt Design for In-context Learning2023
- Long Time No See! Open-Domain Conversation with Long-Term Persona Memory2022
- Cognitive Computing: Architecture, Technologies and Intelligent ApplicationsIEEE Access, 2018