Personalized Large Language Model Assistant with Evolving Conditional Memory

Ruifeng Yuan, Shichao Sun, Yongqi Li, Zili Wang, Ziqiang Cao +1 more
12/22/2023
cs.CLcs.AI

No confident code implementation found for this paper. 8 possible matches can be shown below.

Abstract

With the rapid development of large language models, AI assistants like ChatGPT have become increasingly integrated into people's works and lives but are limited in personalized services. In this paper, we present a plug-and-play framework that could facilitate personalized large language model assistants with evolving conditional memory. The personalized assistant focuses on intelligently preserving the knowledge and experience from the history dialogue with the user, which can be applied to future tailored responses that better align with the user's preferences. Generally, the assistant generates a set of records from the dialogue dialogue, stores them in a memory bank, and retrieves related memory to improve the quality of the response. For the crucial memory design, we explore different ways of constructing the memory and propose a new memorizing mechanism named conditional memory. We also investigate the retrieval and usage of memory in the generation process. We build the first benchmark to evaluate personalized assistants' ability from three aspects. The experimental results illustrate the effectiveness of our method.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 8 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yuan2023personalized,
  title  = {Personalized Large Language Model Assistant with Evolving Conditional Memory},
  author = {Ruifeng Yuan and Shichao Sun and Yongqi Li and Zili Wang and Ziqiang Cao and Wenjie Li},
  year   = {2023},
  eprint = {2312.17257},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.17257v2}
}

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

Discussion