TensorX
返回文献探索

Paper · arXiv 2406.10996

THEANINE: Revisiting Memory Management in Long-term Conversations with Timeline-augmented Response Generation

Seo Hyun Kim, Kai Tzu-iunn Ong, Taeyoon Kwon, Namyoung Kim, Keummin Ka, SeongHyeon Bae, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo

35 upvotesJune 16, 2024arXiv 预印本
AI 摘要

Theanine enhances LLM response generation by integrating memory timelines, providing contextual cues for better understanding and recall of past events in dialogues.

memory-augmented response generationlarge language modelsLLMsmemory timelinescontextual cuesdialogue systemsTheanineTeaFarmcounterfactual-driven question-answeringTeaBag dataset

Abstract

Large language models (LLMs) are capable of processing lengthy dialogue histories during prolonged interaction with users without additional memory modules; however, their responses tend to overlook or incorrectly recall information from the past. In this paper, we revisit memory-augmented response generation in the era of LLMs. While prior work focuses on getting rid of outdated memories, we argue that such memories can provide contextual cues that help dialogue systems understand the development of past events and, therefore, benefit response generation. We present Theanine, a framework that augments LLMs' response generation with memory timelines -- series of memories that demonstrate the development and causality of relevant past events. Along with Theanine, we introduce TeaFarm, a counterfactual-driven question-answering pipeline addressing the limitation of G-Eval in long-term conversations. Supplementary videos of our methods and the TeaBag dataset for TeaFarm evaluation are in https://theanine-693b0.web.app/.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
THEANINE: Revisiting Memory Management in Long-term Conversations with Timeline-augmented Response Generation | TensorX