paper-with-me

홈 › Papers

Do Large Language Models Need a Content Delivery Network?

2024-09-16 · Yihua Cheng, Kuntai Du, Jiayi Yao, Junchen Jiang

As the use of large language models (LLMs) expands rapidly, so does the range of knowledge needed to supplement various LLM queries. Thus, enabling flexible and efficient injection of new knowledge in LLM inference is critical. Three high-level options exist: (i) embedding the knowledge in LLM's weights (i.e., fine-tuning), (ii) including the knowledge as a part of LLM's text input (i.e., in-context learning), or (iii) injecting the KV caches of the new knowledge to LLM during prefill. This paper argues that, although fine-tuning and in-context learning are popular, using KV caches as the medium of knowledge could simultaneously enable more modular management of knowledge injection and more efficient LLM serving with low cost and fast response. To realize these benefits, we envision a Knowledge Delivery Network (KDN), a new system component in LLM services that dynamically optimizes the storage, transfer, and composition of KV cache across LLM engines and other compute and storage resources. We believe that, just like content delivery networks (CDNs), such as Akamai, enabled the success of the Internet ecosystem through their efficient data delivery, KDNs will be critical to the success of LLM applications through their efficient knowledge delivery. We have open-sourced a KDN prototype at https://github.com/LMCache/LMCache.

📄 PDF Abstract BibTeX arXiv:2409.13761

Code (1)

lmcache/lmcache 공식 구현 pytorch

Tasks

In-Context Learning

Similar Papers 제목 키워드 기반

DeCode: Decoupling Content and Delivery for Medical QA

2026-01-05 · Po-Jen Ko, Chen-Han Tsai, Yu-Shao Peng arxiv

Large language models (LLMs) exhibit strong medical knowledge and can generate factually accurate responses. However, existing models often fail to account for individual patient contexts, producing answers that are clin…

Question Answering

Learning to Code: Coded Caching via Deep Reinforcement Learning

2019-12-09 · Navid Naderializadeh, Seyed Mohammad Asghari

We consider a system comprising a file library and a network with a server and multiple users equipped with cache memories. The system operates in two phases: a prefetching phase, where users load their caches with parts…

Deep Reinforcement Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Joint Distributed Link Scheduling and Power Allocation for Content Delivery in Wireless Caching Networks

2019-11-29

In wireless caching networks, the design of the content delivery method must consider random user requests, caching states, network topology, and interference management. In this paper, we establish a general framework f…

ManagementScheduling

Cache-Enabled Coordinated Mobile Edge Network: Opportunities and Challenges

2019-12-25

Cache-enabled coordinated mobile edge network is an emerging network architecture, wherein serving nodes located at the network edge have the capabilities of baseband signal processing and caching files at their local ca…

AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Delivery

2025-05-27 · Haowei Wang, Junjie Wang, Xiaojun Jia, Rupeng Zhang 외

Vision-Language Model (VLM) based Web Agents represent a significant step towards automating complex tasks by simulating human-like interaction with websites. However, their deployment in uncontrolled web environments in…