paper-with-me

홈 › Papers

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

2025-07-18 · Haoyang Li, Zhanchao Xu, Yiming Li, Xuejia Chen, Darian Li, Anxin Tian, Qingfa Xiao, Cheng Deng, Jun Wang, Qing Li, Lei Chen, Mingxuan Yuan

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. 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 \href{https://huggingface.co/datasets/TreeAILab/Multi-turn_Long-context_Benchmark_for_LLMs}{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.

📄 PDF Abstract BibTeX arXiv:2507.13681

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Orchestrating Dual-Boundaries: An Arithmetic Intensity Inspired Acceleration Framework for Diffusion Language Models

2025-11-24 · Linye Wei, Wenjue Chen, Pingzhi Tang, Xiaotian Guo 외 arxiv

Diffusion-based large language models (dLLMs) have recently gained significant attention for their exceptional performance and inherent potential for parallel decoding. Existing frameworks further enhance its inference e…

Adaptive Visual Autoregressive Acceleration via Dual-Linkage Entropy Analysis

2026-02-01 · Yu Zhang, Jingyi Liu, Feng Liu, Duoqian Miao 외 arxiv

Visual AutoRegressive modeling (VAR) suffers from substantial computational cost due to the massive token count involved. Failing to account for the continuous evolution of modeling dynamics, existing VAR token reduction…

A-IO: Adaptive Inference Orchestration for Memory-Bound NPUs

2026-04-10 · Chen Zhang, Yan Ding, Haotian Wang, Chubo Liu 외 arxiv

During the deployment of Large Language Models (LLMs), the autoregressive decoding phase on heterogeneous NPU platforms (e.g., Ascend 910B) faces severe memory-bound challenges. This study reveals the ``Model Scaling Par…

Lossless Acceleration of Large Language Model via Adaptive N-gram Parallel Decoding

2024-04-10 · Jie Ou, Yueming Chen, Wenhong Tian

While Large Language Models (LLMs) have shown remarkable abilities, they are hindered by significant resource consumption and considerable latency due to autoregressive processing. In this study, we introduce Adaptive N-…

GPULanguage ModelingLanguage ModellingLarge Language Model

EXAQ: Exponent Aware Quantization For LLMs Acceleration

2024-10-04 · Moran Shkolnik, Maxim Fishman, Brian Chmiel, Hilla Ben-Yaacov 외

Quantization has established itself as the primary approach for decreasing the computational and storage expenses associated with Large Language Models (LLMs) inference. The majority of current research emphasizes quanti…

QuantizationQuestion Answering