RecallM: An Adaptable Memory Mechanism with Temporal Understanding for Large Language Models

Brandon Kynoch, Hugo Latapie, Dwane van der Sluis
7/6/2023
cs.AIcs.CLcs.SC

No official code found. Best implementation: cisco-open/DeepVision (50 stars, Apache-2.0, last commit 2024-07-08).

Abstract

Large Language Models (LLMs) have made extraordinary progress in the field of Artificial Intelligence and have demonstrated remarkable capabilities across a large variety of tasks and domains. However, as we venture closer to creating Artificial General Intelligence (AGI) systems, we recognize the need to supplement LLMs with long-term memory to overcome the context window limitation and more importantly, to create a foundation for sustained reasoning, cumulative learning and long-term user interaction. In this paper we propose RecallM, a novel architecture for providing LLMs with an adaptable and updatable long-term memory mechanism. Unlike previous methods, the RecallM architecture is particularly effective at belief updating and maintaining a temporal understanding of the knowledge provided to it. We demonstrate through various experiments the effectiveness of this architecture. Furthermore, through our own temporal understanding and belief updating experiments, we show that RecallM is four times more effective than using a vector database for updating knowledge previously stored in long-term memory. We also demonstrate that RecallM shows competitive performance on general question-answering and in-context learning tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
5011Shell, PythonFeb 21, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{kynoch2023recallm,
  title  = {RecallM: An Adaptable Memory Mechanism with Temporal Understanding for Large Language Models},
  author = {Brandon Kynoch and Hugo Latapie and Dwane van der Sluis},
  year   = {2023},
  eprint = {2307.02738},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.02738v3}
}

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/2307.02738.svg)](https://codeofpaper.com/paper/2307.02738)

Discussion