paper-with-me

Papers

EchoLM: Accelerating LLM Serving with Real-time Knowledge Distillation

2025-01-22 · Yifan Yu, Yu Gan, Lillian Tsai, Nikhil Sarda, Jiaming Shen, Yanqi Zhou, Arvind Krishnamurthy, Fan Lai, Henry M. Levy, David Culler

Large language models (LLMs) have excelled in various applications, yet serving them at scale is challenging due to their substantial resource demands and high latency. Our real-world studies reveal that over 60% of user requests to LLMs have semantically similar counterparts, suggesting the potential for knowledge sharing among requests. However, naively caching and reusing past responses leads to large quality degradation. In this paper, we introduce EchoLM, an in-context caching system that leverages historical requests as examples to guide response generation, enabling selective offloading of requests to more efficient LLMs. However, enabling this real-time knowledge transfer leads to intricate tradeoffs between response quality, latency, and system throughput at scale. For a new request, EchoLM identifies similar, high-utility examples and efficiently prepends them to the input for better response. At scale, EchoLM adaptively routes requests to LLMs of varying capabilities, accounting for response quality and serving loads. EchoLM employs a cost-aware cache replay mechanism to improve example quality and coverage offline, maximizing cache utility and runtime efficiency. Evaluations on millions of open-source requests demonstrate that EchoLM has a throughput improvement of 1.4-5.9x while reducing latency by 28-71% without hurting response quality on average.

📄 PDF Abstract BibTeX arXiv:2501.12689

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationResponse GenerationTransfer Learning

Similar Papers 제목 키워드 기반

Accelerating Diffusion Models with One-to-Many Knowledge Distillation

2024-10-05 · Linfeng Zhang, Kaisheng Ma

Significant advancements in image generation have been made with diffusion models. Nevertheless, when contrasted with previous generative models, diffusion models face substantial computational overhead, leading to failu…

Image GenerationKnowledge Distillation

Accelerate Support Vector Clustering via Spectrum-Preserving Data Compression

2023-04-19 · Yuxuan Song, Yongyu Wang

This paper proposes a novel framework for accelerating support vector clustering. The proposed method first computes much smaller compressed data sets while preserving the key cluster properties of the original data sets…

ClusteringData Compression

ALISE: Accelerating Large Language Model Serving with Speculative Scheduling

2024-10-31 · Youpeng Zhao, Jun Wang

Large Language Models (LLMs) represent a revolutionary advancement in the contemporary landscape of artificial general intelligence (AGI). As exemplified by ChatGPT, LLM-based applications necessitate minimal response la…

BlockingLanguage ModelingLanguage ModellingLarge Language Model+2

Net2Net: Accelerating Learning via Knowledge Transfer

2015-11-18 · Tianqi Chen, Ian Goodfellow, Jonathon Shlens

We introduce techniques for rapidly transferring the information stored in one neural net into another neural net. The main purpose is to accelerate the training of a significantly larger neural net. During real-world wo…

Transfer Learning

MapKD: Unlocking Prior Knowledge with Cross-Modal Distillation for Efficient Online HD Map Construction

2025-08-21 · Ziyang Yan, Ruikai Li, Zhiyong Cui, Bohan Li 외 arxiv

Online HD map construction is a fundamental task in autonomous driving systems, aiming to acquire semantic information of map elements around the ego vehicle based on real-time sensor inputs. Recently, several approaches…

Knowledge DistillationAutonomous Driving