mlsanityData to 14 Oct 2026

LoopServe: An Adaptive Dual-phase LLM Inference Acceleration System for Multi-Turn Dialogues

arXiv 2507.13681 ↗First posted 18 Jul 2025cs.CL cs.AIcited by 2

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

Multi-turn dialogues are essential in many real-world applications of large language models, such as chatbots and virtual assistants. As conversation histories become longer, existing large language models face increasing computational and memory challenges, which hinder their ability to provide efficient and responsive interactions. Most current acceleration methods either compress the context or optimize key value caching, but they often rely on fixed or position-based heuristics that do not adapt well to the dynamic and unpredictable patterns found in actual multi-turn conversations. As a result, these models cannot accurately identify and prioritize the most relevant context, leading to degraded response quality. In this paper, we present LoopServe, an adaptive dual-phase inference acceleration framework for large language models in multi-turn dialogues. LoopServe introduces two main innovations. First, it performs online sparsification during the prefilling phase by dynamically selecting the most important parts of the attention matrix for each new input. Second, it uses progressive key value compression during decoding by adaptively maintaining a relevant and efficient cache based on the most recently generated output tokens. We also propose a new benchmark with eleven multi-turn datasets that reflect realistic query positions and conversational dependencies. Extensive experiments demonstrate that LoopServe consistently achieves superior effectiveness compared to existing baselines and significantly accelerates LLM inference across a wide range of long-context dialogue tasks.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 44 of its 76 references that are in the map. First posted on arXiv 18 Jul 2025.

Builds on

44 of 76 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec
  2. 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods13 Dec
  3. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  4. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  5. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference14 Mar
  6. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  7. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun

Other references · 37

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  6. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  7. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  8. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  9. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  10. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  11. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
  12. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
25 more
  1. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
  2. 2023Adapting Large Language Models by Integrating Collaborative Semantics for Recommendationcited by 179
  3. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
  4. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
  5. 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 95
  6. 2024CompAct: Compressing Retrieved Documents Actively for Question Answeringcited by 64
  7. 2023ScienceBenchmark: A Complex Real-World Benchmark for Evaluating Natural Language to SQL Systemscited by 45
  8. 2024PURPLE: Making a Large Language Model a Better SQL Writercited by 34
  9. 2024SysBench: Can Large Language Models Follow System Messages?cited by 28
  10. 2024Automated Data Visualization from Natural Language via Large Language Models: An Exploratory Studycited by 27
  11. 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Modelscited by 23
  12. 2024Are Large Language Models a Good Replacement of Taxonomies?cited by 19
  13. 2025One ruler to measure them all: Benchmarking multilingual long-context language modelscited by 19
  14. 2023ArcheType: A Novel Framework for Open-Source Column Type Annotation using Large Language Modelscited by 15
  15. 2025Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language Modelscited by 14
  16. 2024Automatic Database Configuration Debugging using Retrieval-Augmented Language Modelscited by 12
  17. 2023FormaT5: Abstention and Examples for Conditional Table Formatting with Natural Languagecited by 7
  18. 2024CritiPrefill: A Segment-wise Criticality-based Approach for Prefilling Acceleration in LLMscited by 7
  19. 2025GORAG: Graph-based Online Retrieval Augmented Generation for Dynamic Few-shot Social Media Text Classificationcited by 7
  20. 2025LEAP: LLM-powered End-to-end Automatic Library for Processing Social Science Queries on Unstructured Datacited by 7
  21. 2025Dialogue Benchmark Generation from Knowledge Graphs with Cost-Effective Retrieval-Augmented LLMscited by 7
  22. 2023Automatic Data Repair: Are We Ready to Deploy?cited by 5
  23. 2023Enhancing Quantitative Reasoning Skills of Large Language Models through Dimension Perceptioncited by 4
  24. 2025PLM: Efficient Peripheral Language Models Hardware-Co-Designed for Ubiquitous Computingcited by 4
  25. 2023Saturn: An Optimized Data System for Large Model Deep Learning Workloadscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SOMA: Efficient Multi-turn LLM Serving via Small Language Model
  2. 2025Round Attention: A Novel Round-Level Attention Mechanism to Accelerate LLM Inference
  3. 2025Beyond Single-Turn: A Survey on Multi-Turn Interactions with Large Language Models
  4. 2026Context-Driven Incremental Compression for Multi-Turn Dialogue Generation
  5. 2025A Survey on Multi-Turn Interaction Capabilities of Large Language Models
  6. 2025Krul: Efficient State Restoration for Multi-turn Conversations with Dynamic Cross-layer KV Sharing
  7. 2025Dialogue Without Limits: Constant-Sized KV Caches for Extended Responses in LLMs
  8. 2025MARS-Bench: A Multi-turn Athletic Real-world Scenario Benchmark for Dialogue Evaluation