Adaptive Contextual Caching for Mobile Edge Large Language Model Service

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Liu, Guangyuan, Liu, Yinqiu, Wang, Jiacheng, Du, Hongyang, Niyato, Dusit, Kang, Jiawen, Xiong, Zehui
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909457718444032
author Liu, Guangyuan
Liu, Yinqiu
Wang, Jiacheng
Du, Hongyang
Niyato, Dusit
Kang, Jiawen
Xiong, Zehui
author_facet Liu, Guangyuan
Liu, Yinqiu
Wang, Jiacheng
Du, Hongyang
Niyato, Dusit
Kang, Jiawen
Xiong, Zehui
contents Mobile edge Large Language Model (LLM) deployments face inherent constraints, such as limited computational resources and network bandwidth. Although Retrieval-Augmented Generation (RAG) mitigates some challenges by integrating external knowledge bases, inefficient cache management can still result in high retrieval latency and frequent cache updates. To address these issues, we propose an Adaptive Contextual Caching (ACC) framework that anticipates user needs by proactively caching semantically relevant data for mobile-edge LLMs. ACC utilizes a deep reinforcement learning (DRL) module to refine cache replacement policies, balancing user context, document similarity, and the overhead associated with cache misses. Experimental results demonstrate that ACC increases cache hit rates to over 80\% after only 11 training episodes, outperforming FIFO, LRU, and semantic-only caching while reducing retrieval latency by up to 40\%. In particular, ACC also reduces local caching overhead (i.e., the cost of updating the cache when a miss occurs) by as much as 55\%, enabling scalable, low-latency LLM services in resource-constrained edge environments.
format Preprint
id arxiv_https___arxiv_org_abs_2501_09383
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Contextual Caching for Mobile Edge Large Language Model Service
Liu, Guangyuan
Liu, Yinqiu
Wang, Jiacheng
Du, Hongyang
Niyato, Dusit
Kang, Jiawen
Xiong, Zehui
Networking and Internet Architecture
Mobile edge Large Language Model (LLM) deployments face inherent constraints, such as limited computational resources and network bandwidth. Although Retrieval-Augmented Generation (RAG) mitigates some challenges by integrating external knowledge bases, inefficient cache management can still result in high retrieval latency and frequent cache updates. To address these issues, we propose an Adaptive Contextual Caching (ACC) framework that anticipates user needs by proactively caching semantically relevant data for mobile-edge LLMs. ACC utilizes a deep reinforcement learning (DRL) module to refine cache replacement policies, balancing user context, document similarity, and the overhead associated with cache misses. Experimental results demonstrate that ACC increases cache hit rates to over 80\% after only 11 training episodes, outperforming FIFO, LRU, and semantic-only caching while reducing retrieval latency by up to 40\%. In particular, ACC also reduces local caching overhead (i.e., the cost of updating the cache when a miss occurs) by as much as 55\%, enabling scalable, low-latency LLM services in resource-constrained edge environments.
title Adaptive Contextual Caching for Mobile Edge Large Language Model Service
topic Networking and Internet Architecture
url https://arxiv.org/abs/2501.09383