Enhancing Long-term RAG Chatbots with Psychological Models of Memory Importance and Forgetting

Ryuichi Sumida, Koji Inoue, Tatsuya Kawahara
9/19/2024
cs.CLcs.AI

Official code: ryuichi-sumida/LUFY (7 stars, last commit 2025-12-20).

Abstract

While Retrieval-Augmented Generation (RAG) has shown promise in enhancing long-term conversations, the increasing memory load as conversations progress degrades retrieval accuracy. Drawing on psychological insights, we propose LUFY, a simple yet effective method that focuses on emotionally arousing memories and retains less than 10% of the conversation. In the user experiment, participants interacted with three types of RAG chatbots, each for 2 hours over 4 sessions, marking the most extensive assessment of a chatbot's long-term capabilities to date -- more than four times longer than any existing benchmark. The results demonstrate that prioritizing arousing memories while forgetting the majority of the conversation significantly enhances user experience. This study pushes the frontier of long-term conversations and highlights the importance of forgetting unimportant parts of conversations. Code and Dataset: https://github.com/ryuichi-sumida/LUFY, Hugginface Dataset:https://huggingface.co/datasets/RuiSumida/LUFY

View on arXivView PDF

Code Implementations(1)

LUFY: A RAG Chatbot that forgets unimportant conversations

71PythonAug 27, 202410 months ago

Similar Papers

Cite this paper

@article{sumida2024enhancing,
  title  = {Enhancing Long-term RAG Chatbots with Psychological Models of Memory Importance and Forgetting},
  author = {Ryuichi Sumida and Koji Inoue and Tatsuya Kawahara},
  year   = {2024},
  eprint = {2409.12524},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.12524v3}
}

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

Discussion