paper-with-me

홈 › Papers

FlowKV: Enhancing Multi-Turn Conversational Coherence in LLMs via Isolated Key-Value Cache Management

2025-05-21 · Xiang Liu, Hong Chen, Xuming Hu, Xiaowen Chu

Large Language Models (LLMs) are increasingly deployed in multi-turn conversational applications, where the management of the Key-Value (KV) Cache presents a significant bottleneck. The linear growth of the KV Cache with dialogue history imposes substantial computational costs, and existing eviction strategies often degrade performance by repeatedly compressing early conversational context, leading to information loss and context forgetting. This paper introduces FlowKV, a novel \textbf{multi-turn isolation mechanism} for KV Cache management, which can be applied to any KV Cache compression method without training. FlowKV's core innovation is a multi-turn isolation mechanism that preserves the accumulated compressed KV cache from past turns. Compression is then strategically applied only to the newly generated KV pairs of the latest completed turn, effectively preventing the re-compression of older context and thereby mitigating catastrophic forgetting. Our results demonstrate that FlowKV consistently and significantly outperforms baseline strategies in maintaining instruction-following accuracy and user preference retention from 10.90\% to 75.40\%, particularly in later conversational turns.

📄 PDF Abstract BibTeX arXiv:2505.15347

Code (0)

등록된 구현이 없습니다.

Tasks

Instruction FollowingManagement

Similar Papers 제목 키워드 기반

Review-Instruct: A Review-Driven Multi-Turn Conversations Generation Method for Large Language Models

2025-05-16 · Jiangxu Wu, Cong Wang, Tianhuang Su, Jun Yang 외

The effectiveness of large language models (LLMs) in conversational AI is hindered by their reliance on single-turn supervised fine-tuning (SFT) data, which limits contextual coherence in multi-turn dialogues. Existing m…

DiversityMMLU

FlowKV: A Disaggregated Inference Framework with Low-Latency KV Cache Transfer and Load-Aware Scheduling

2025-04-03 · Weiqing Li, Guochao Jiang, Xiangyong Ding, Zhangcheng Tao 외

Disaggregated inference has become an essential framework that separates the prefill (P) and decode (D) stages in large language model inference to improve throughput. However, the KV cache transfer faces significant del…

Language ModelingLanguage ModellingLarge Language ModelScheduling

Facilitating Multi-turn Emotional Support Conversation with Positive Emotion Elicitation: A Reinforcement Learning Approach

2023-07-16 · Jinfeng Zhou, Zhuang Chen, Bo wang, Minlie Huang

Emotional support conversation (ESC) aims to provide emotional support (ES) to improve one's mental state. Existing works stay at fitting grounded responses and responding strategies (e.g., question), which ignore the ef…

DH-RAG: A Dynamic Historical Context-Powered Retrieval-Augmented Generation Method for Multi-Turn Dialogue

2025-02-19 · Feiyuan Zhang, Dezhi Zhu, James Ming, Yilun Jin 외

Retrieval-Augmented Generation (RAG) systems have shown substantial benefits in applications such as question answering and multi-turn dialogue \citep{lewis2020retrieval}. However, traditional RAG methods, while leveragi…

Question AnsweringRAGRetrievalRetrieval-augmented Generation

MTSQL-R1: Towards Long-Horizon Multi-Turn Text-to-SQL via Agentic Training

2025-10-12 · Taicheng Guo, Hai Wang, ChaoChun Liu, Mohsen Golalikhani 외 arxiv

Multi-turn Text-to-SQL aims to translate a user's conversational utterances into executable SQL while preserving dialogue coherence and grounding to the target schema. However, most existing systems only regard this task…

Semantic Parsing