paper-with-me

Papers

CaMDN: Enhancing Cache Efficiency for Multi-tenant DNNs on Integrated NPUs

2025-05-10 · Tianhao Cai, Liang Wang, Limin Xiao, Meng Han, Zeyu Wang, Lin Sun, Xiaojian Liao

With the rapid development of DNN applications, multi-tenant execution, where multiple DNNs are co-located on a single SoC, is becoming a prevailing trend. Although many methods are proposed in prior works to improve multi-tenant performance, the impact of shared cache is not well studied. This paper proposes CaMDN, an architecture-scheduling co-design to enhance cache efficiency for multi-tenant DNNs on integrated NPUs. Specifically, a lightweight architecture is proposed to support model-exclusive, NPU-controlled regions inside shared cache to eliminate unexpected cache contention. Moreover, a cache scheduling method is proposed to improve shared cache utilization. In particular, it includes a cache-aware mapping method for adaptability to the varying available cache capacity and a dynamic allocation algorithm to adjust the usage among co-located DNNs at runtime. Compared to prior works, CaMDN reduces the memory access by 33.4% on average and achieves a model speedup of up to 2.56$\times$ (1.88$\times$ on average).

📄 PDF Abstract BibTeX arXiv:2505.06625

Code (0)

등록된 구현이 없습니다.

Tasks

Scheduling

Similar Papers 제목 키워드 기반

Selective KV-Cache Sharing to Mitigate Timing Side-Channels in LLM Inference

2025-08-11 · Kexin Chu, Zecheng Lin, Dawei Xiang, Zixu Shen 외 arxiv

Global KV-cache sharing is an effective optimization for accelerating large language model (LLM) inference, yet it introduces an API-visible timing side channel that lets adversaries infer sensitive user inputs from shar…

KVShare: An LLM Service System with Efficient and Effective Multi-Tenant KV Cache Reuse

2025-03-17 · Huan Yang, Renji Zhang, Mingzhe Huang, Weijun Wang 외

Recent advances in long-text understanding have pushed the context length of large language models (LLMs) up to one million tokens. It boosts LLMs's accuracy and reasoning capacity but causes exorbitant computational cos…

DiversityLanguage ModelingLanguage ModellingLarge Language Model+2

PrefixWall: Mitigating Prefix Caching Side Channels in Shared LLM Systems

2026-03-11 · Panagiotis Georgios Pennas, Konstantinos Papaioannou, Marco Guarnieri, Thaleia Dimitra Doudali arxiv

Large Language Models (LLMs) rely on optimizations like Automatic Prefix Caching (APC) to accelerate inference. APC works by reusing previously computed states for the beginning part of a request (prefix), when another r…

OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Services

2026-02-24 · Longxiang Wang, Xiang Zheng, Xuhao Zhang, Yao Zhang 외 arxiv

Multi-tenant LLM serving frameworks widely adopt shared Key-Value caches to enhance efficiency. However, this creates side-channel vulnerabilities enabling prompt leakage attacks. Prior studies identified these attack su…

Reinforcement Learning

Punica: Multi-Tenant LoRA Serving

2023-10-28 · Lequn Chen, Zihao Ye, Yongji Wu, Danyang Zhuo 외

Low-rank adaptation (LoRA) has become an important and popular method to adapt pre-trained models to specific domains. We present Punica, a system to serve multiple LoRA models in a shared GPU cluster. Punica contains a …

GPU