StreamingDialogue: Prolonged Dialogue Learning via Long Context Compression with Minimal Losses
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
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 textitEnd-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 × speedup while reducing memory usage by 18 × compared to dense attention recomputation.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Prompt and context compression, one of 12 directions in Efficient LLM inference and serving. Builds on 42 of its 59 references that are in the map. First posted on arXiv 13 Mar 2024.
Builds on
42 of 59 references.
References · 42
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023Qwen Technical Reportcited by 3,344
- 2023Mistral 7Bcited by 3,164
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
30 more
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2023PaLM 2 Technical Reportcited by 1,162
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,077
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
- 2018Personalizing Dialogue Agents: I have a dog, do you have pets too?cited by 828
- 2018MultiWOZ -- A Large-Scale Multi-Domain Wizard-of-Oz Dataset for Task-Oriented Dialogue Modellingcited by 766
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2023Baichuan 2: Open Large-scale Language Modelscited by 670
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2021Beyond Goldfish Memory: Long-Term Open-Domain Conversationcited by 267
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
- 2016A Hierarchical Latent Variable Encoder-Decoder Model for Generating Dialoguescited by 174
- 2023Scaling Laws of RoPE-based Extrapolationcited by 125
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117
- 2021Dialogue State Tracking with a Language Model using Schema-Driven Promptingcited by 94
- 2023Topical-Chat: Towards Knowledge-Grounded Open-Domain Conversationscited by 89
- 2022MISC: A MIxed Strategy-Aware Model Integrating COMET for Emotional Support Conversationcited by 85
- 2019Personalizing Dialogue Agents via Meta-Learningcited by 83
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2015A Hierarchical Recurrent Encoder-Decoder For Generative Context-Aware Query Suggestioncited by 68
- 2020Deconstruct to Reconstruct a Configurable Evaluation Metric for Open-Domain Dialogue Systemscited by 47
- 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
- 2023Fortify the Shortest Stave in Attention: Enhancing Context Awareness of Large Language Models for Effective Tool Usecited by 27
- 2023DialoGPS: Dialogue Path Sampling in Continuous Semantic Space for Data Augmentation in Multi-Turn Conversationscited by 9
- 2023Span-Selective Linear Attention Transformers for Effective and Robust Schema-Guided Dialogue State Trackingcited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 3.
9 papers.
- 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoningcited by 97
- 2025ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decodingcited by 18
- 2024Mixture of In-Context Experts Enhance LLMs' Long Context Awarenesscited by 17
- 2025A Survey on Transformer Context Extension: Approaches and Evaluationcited by 11
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Evictioncited by 4
- 2026From Static Inference to Dynamic Interaction: A Survey of Streaming Large Language Modelscited by 3
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing preventioncited by 1
- 2025ResFormer: All-Time Reservoir Memory for Long Sequence Classificationcited by 0
- 2026Conversational Human Audio-visual Talking Dialogue Generationcited by 0
- 2026Conversational Human Audio-visual Talking Dialogue Generation2 Jul 2026
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention8 May 2026
- 2026From Static Inference to Dynamic Interaction: A Survey of Streaming Large Language Models4 Mar 2026
- 2025ReFusion: A Diffusion Large Language Model with Parallel Autoregressive Decoding15 Dec 2025
- 2025ResFormer: All-Time Reservoir Memory for Long Sequence Classification28 Sep 2025
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction13 Sep 2025
- 2025A Survey on Transformer Context Extension: Approaches and Evaluation17 Mar 2025
- 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct 2024
- 2024Mixture of In-Context Experts Enhance LLMs' Long Context Awareness28 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2026Context-Driven Incremental Compression for Multi-Turn Dialogue Generation
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactions
- 2025CCF: A Context Compression Framework for Efficient Long-Sequence Language Modeling
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2026ZipL-Dialog: Memory-Efficient Long-Form Spoken Dialog Synthesis via Latent Flow Matching
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference
- 2026G-Long: Graph-Enhanced Memory Management for Efficient Long-Term Dialogue Agents
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents