paper-with-me

홈 › Papers

StreamingDialogue: Prolonged Dialogue Learning via Long Context Compression with Minimal Losses

2024-03-13 · Jia-Nan Li, Quan Tu, Cunli Mao, Zhengtao Yu, Ji-Rong Wen, Rui Yan

Standard Large Language Models (LLMs) struggle with handling dialogues with long contexts due to efficiency and consistency issues. According to our observation, dialogue contexts are highly structured, and the special token of \textit{End-of-Utterance} (EoU) in dialogues has the potential to aggregate information. We refer to the EoU tokens as ``conversational attention sinks'' (conv-attn sinks). Accordingly, we introduce StreamingDialogue, which compresses long dialogue history into conv-attn sinks with minimal losses, and thus reduces computational complexity quadratically with the number of sinks (i.e., the number of utterances). Current LLMs already demonstrate the ability to handle long context window, e.g., a window size of 200K or more. To this end, by compressing utterances into EoUs, our method has the potential to handle more than 200K of utterances, resulting in a prolonged dialogue learning. In order to minimize information losses from reconstruction after compression, we design two learning strategies of short-memory reconstruction (SMR) and long-memory reactivation (LMR). Our method outperforms strong baselines in dialogue tasks and achieves a 4 $\times$ speedup while reducing memory usage by 18 $\times$ compared to dense attention recomputation.

📄 PDF Abstract BibTeX arXiv:2403.08312

Code (1)

jinaleejnl/streamingdialogue 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Context-Driven Incremental Compression for Multi-Turn Dialogue Generation

2026-06-10 · Yeongseo Jung, Jaehyeok Kim, Eunseo Jung, Jiachuan Wang 외 arxiv

Modern conversational agents condition on an ever-growing dialogue history at each turn, incurring redundant attention and encoding costs that grow with conversation length. Naive truncation or summarization degrades fid…

Dialogue Generation

How Real Are Synthetic Therapy Conversations? Evaluating Fidelity in Prolonged Exposure Dialogues

2025-04-30 · Suhas BN, Dominik Mattioli, Saeed Abdullah, Rosa I. Arriaga 외

The growing adoption of synthetic data in healthcare is driven by privacy concerns, limited access to real-world data, and the high cost of annotation. This work explores the use of synthetic Prolonged Exposure (PE) ther…

Self-Directed Turing Test for Large Language Models

2024-08-19 · Weiqi Wu, Hongqiu Wu, Hai Zhao

The Turing test examines whether AIs can exhibit human-like behaviour in natural language conversations. Traditional Turing tests adopt a rigid dialogue format where each participant sends only one message each time and …

ACR: Adaptive Context Refactoring via Context Refactoring Operators for Multi-Turn Dialogue

2026-01-09 · Jiawei Shen, Jia Zhu, Hanghui Guo, Weijie Shi 외 arxiv

Large Language Models (LLMs) have shown remarkable performance in multi-turn dialogue. However, in multi-turn dialogue, models still struggle to stay aligned with what has been established earlier, follow dependencies ac…

EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environments

2025-09-22 · Minsoo Kim, Arnav Kundu, Han-Byul Kim, Richa Dixit 외 arxiv

Modern large language models (LLMs) extend context lengths to millions of tokens, enabling coherent, personalized responses grounded in long conversational history. However, the Key-Value (KV) cache grows linearly with t…

Conversational Question Answering