MemoryBank: Enhancing Large Language Models with Long-Term Memory
Large Language Models (LLMs) have drastically reshaped our interactions with artificial intelligence (AI) systems, showcasing impressive performance across an extensive array of tasks. Despite this, a notable hindrance remains—the deficiency of a long-term memory mechanism within these models. This shortfall becomes increasingly evident in situations demanding sustained interaction, such as personal companion systems, psychological counseling, and secretarial assistance. Recognizing the necessity for long-term memory, we propose MemoryBank, a novel memory mechanism tailored for LLMs. MemoryBank enables the models to summon relevant memories, continually evolve through continuous memory updates, comprehend, and adapt to a user's personality over time by synthesizing information from previous interactions. To mimic anthropomorphic behaviors and selectively preserve memory, MemoryBank incorporates a memory updating mechanism, inspired by the Ebbinghaus Forgetting Curve theory. This mechanism permits the AI to forget and reinforce memory based on time elapsed and the relative significance of the memory, thereby offering a more human-like memory mechanism and enriched user experience. MemoryBank is versatile in accommodating both closed-source models like ChatGPT and open-source models such as ChatGLM. To validate MemoryBank's effectiveness, we exemplify its application through the creation of an LLM-based chatbot named SiliconFriend in a long-term AI Companion scenario. Further tuned with psychological dialog data, SiliconFriend displays heightened empathy and discernment in its interactions. Experiment involves both qualitative analysis with real-world user dialogs and quantitative analysis with simulated dialogs. In the latter, ChatGPT acts as multiple users with diverse characteristics and generates long-term dialog contexts covering a wide array of topics. The results of our analysis reveal that SiliconFriend, equipped with MemoryBank, exhibits a strong capability for long-term companionship as it can provide emphatic response, recall relevant memories and understand user personality.
Топ-30
Журналы
|
1
2
3
4
5
6
|
|
|
Lecture Notes in Computer Science
6 публикаций, 5.71%
|
|
|
Information Fusion
3 публикации, 2.86%
|
|
|
IEEE International Conference on Robotics and Automation (ICRA)
2 публикации, 1.9%
|
|
|
Frontiers in Psychiatry
2 публикации, 1.9%
|
|
|
Electronics (Switzerland)
2 публикации, 1.9%
|
|
|
ACM Computing Surveys
2 публикации, 1.9%
|
|
|
Proceedings of the ACM on Interactive Mobile Wearable and Ubiquitous Technologies
1 публикация, 0.95%
|
|
|
Medicine Plus
1 публикация, 0.95%
|
|
|
Vicinagearth
1 публикация, 0.95%
|
|
|
Cell
1 публикация, 0.95%
|
|
|
TechTrends
1 публикация, 0.95%
|
|
|
Information (Switzerland)
1 публикация, 0.95%
|
|
|
Communications in Computer and Information Science
1 публикация, 0.95%
|
|
|
Frontiers in Psychology
1 публикация, 0.95%
|
|
|
IEEE Transactions on Information Forensics and Security
1 публикация, 0.95%
|
|
|
Pattern Recognition Letters
1 публикация, 0.95%
|
|
|
Automated Software Engineering
1 публикация, 0.95%
|
|
|
Geoscientific Model Development
1 публикация, 0.95%
|
|
|
Lecture Notes in Networks and Systems
1 публикация, 0.95%
|
|
|
Proceedings of the ACM on Human-Computer Interaction
1 публикация, 0.95%
|
|
|
Applied Sciences (Switzerland)
1 публикация, 0.95%
|
|
|
IEEE Transactions on Network Science and Engineering
1 публикация, 0.95%
|
|
|
ACM Transactions on Autonomous and Adaptive Systems
1 публикация, 0.95%
|
|
|
IEEE International Joint Conference on Neural Networks (IJCNN)
1 публикация, 0.95%
|
|
|
CCF Transactions on Pervasive Computing and Interaction
1 публикация, 0.95%
|
|
|
HIV Medicine
1 публикация, 0.95%
|
|
|
Science and Engineering Ethics
1 публикация, 0.95%
|
|
|
Briefings in Bioinformatics
1 публикация, 0.95%
|
|
|
IEEE Transactions on Visualization and Computer Graphics
1 публикация, 0.95%
|
|
|
1
2
3
4
5
6
|
Издатели
|
5
10
15
20
25
30
35
|
|
|
Institute of Electrical and Electronics Engineers (IEEE)
34 публикации, 32.38%
|
|
|
Association for Computing Machinery (ACM)
31 публикация, 29.52%
|
|
|
Springer Nature
15 публикаций, 14.29%
|
|
|
Elsevier
13 публикаций, 12.38%
|
|
|
MDPI
5 публикаций, 4.76%
|
|
|
Frontiers Media S.A.
3 публикации, 2.86%
|
|
|
Copernicus
1 публикация, 0.95%
|
|
|
Wiley
1 публикация, 0.95%
|
|
|
Oxford University Press
1 публикация, 0.95%
|
|
|
SAGE
1 публикация, 0.95%
|
|
|
5
10
15
20
25
30
35
|
- Мы не учитываем публикации, у которых нет DOI.
- Статистика публикаций обновляется еженедельно.