Compress to Impress: Unleashing the Potential of Compressive Memory in Real-World Long-Term Conversations

Nuo Chen, Hongguang Li, Juhua Huang, Baoyuan Wang, Jia Li
2/19/2024
cs.CL

Official code: nuochenpku/COMEDY (25 stars, last commit 2024-11-18).

Abstract

Existing retrieval-based methods have made significant strides in maintaining long-term conversations. However, these approaches face challenges in memory database management and accurate memory retrieval, hindering their efficacy in dynamic, real-world interactions. This study introduces a novel framework, COmpressive Memory-Enhanced Dialogue sYstems (COMEDY), which eschews traditional retrieval modules and memory databases. Instead, COMEDY adopts a "One-for-All" approach, utilizing a single language model to manage memory generation, compression, and response generation. Central to this framework is the concept of compressive memory, which intergrates session-specific summaries, user-bot dynamics, and past events into a concise memory format. To support COMEDY, we curated a large-scale Chinese instruction-tuning dataset, Dolphin, derived from real user-chatbot interactions. Comparative evaluations demonstrate COMEDY's superiority over traditional retrieval-based methods in producing more nuanced and human-like conversational experiences. Our codes are available at https://github.com/nuochenpku/COMEDY.

View on arXivView PDF

Code Implementations(1)

nuochenpku/COMEDYOfficial100%

This is the official project of paper: Compress to Impress: Unleashing the Potential of Compressive Memory in Real-World Long-Term Conversations

257Shell, PythonFeb 4, 20241 years ago

Similar Papers

Cite this paper

@article{chen2024compress,
  title  = {Compress to Impress: Unleashing the Potential of Compressive Memory in Real-World Long-Term Conversations},
  author = {Nuo Chen and Hongguang Li and Juhua Huang and Baoyuan Wang and Jia Li},
  year   = {2024},
  eprint = {2402.11975},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11975v2}
}

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

Discussion