Joint Caching and Inference for Large Language Models in Wireless Networks
To reduce the serving delay of large language model (LLM)-based applications, the edge-based LLM serving mechanism offers a promising solution by caching LLMs at the edge to provide LLM inference services closer to users. Motivated by this, we propose an edge-based LLM caching and inference framework to support low-delay LLM-based services. Based on the framework, we formulate a joint LLM caching, inference task scheduling, and computation resource allocation optimization problem to minimize LLM serving delay, where time-varying LLM popularity is considered. Given an LLM caching policy, we first obtain the optimal solution for the computation resource allocation and task scheduling by using traditional optimization methods. Then, we propose an improved double deep Q-network (IDDQN) algorithm that effectively learns the optimal LLM caching strategy under unknown LLM popularity. The IDDQN algorithm integrates a state coding and action aggregation (SCAA) mechanism in the deep neural network structure, enabling it to efficiently capture users' preferences for LLMs and mitigate the slow convergence issues due to the large action space. Simulation results indicate that the proposed scheme achieves both lower average user delay and faster convergence than other benchmarks.
Authors
- Arumugam Nallanathan (ORCID: https://orcid.org/0000-0001-8337-5884)
- Hyundong Shin (ORCID: https://orcid.org/0000-0003-3364-8084)
- Liqiang Zhao (ORCID: https://orcid.org/0000-0002-3374-6066)
- Zhixiong Chen (ORCID: https://orcid.org/0000-0003-4228-0023)
- Bingjie Zhu (ORCID: https://orcid.org/0009-0003-6232-6057)
Institutions
- Xidian University (CN)
- Queen Mary University of London (GB)
- Kyung Hee University (KR)
Publication Details
- Published
- 2025-06-08
- DOI
- https://doi.org/10.1109/icc52391.2025.11161094
- Primary Topic
- Caching and Content Delivery
- Type
- article
- Field-Weighted Citation Impact
- 0.00