UPDF AI

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

Nuo Chen,Hongguang Li,2 Authors,Jia Li

2024 · DOI: 10.48550/arXiv.2402.11975
arXiv.org · 21 Citations

TLDR

Compressive Memory-Enhanced Dialogue sYstems adopts a "One-for-All"approach, utilizing a single language model to manage memory generation, compression, and response generation, demonstrating COMEDY's superiority over traditional retrieval-based methods in producing more nuanced and human-like conversational experiences.

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.