Dynamic Quality-Latency Aware Routing for LLM Inference in Wireless Edge-Device Networks

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bao, Rui, Xue, Nan, Sun, Yaping, Chen, Zhiyong
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912539208581120
author Bao, Rui
Xue, Nan
Sun, Yaping
Chen, Zhiyong
author_facet Bao, Rui
Xue, Nan
Sun, Yaping
Chen, Zhiyong
contents The integration of wireless communications and Large Language Models (LLMs) is poised to unlock ubiquitous intelligent services, yet deploying them in wireless edge-device collaborative environments presents a critical trade-off between inference quality and end-to-end latency. A fundamental mismatch exists between task complexity and resource allocation: offloading simple queries invites prohibitive latency, while on-device models lack the capacity for demanding computations. To address this challenge, we propose a dynamic, quality-latency aware routing framework that orchestrates inference between a lightweight model on the mobile device and a powerful model on the edge server. Our framework employs two distinct cost models: for single-turn queries, it fuses a BERT-predicted semantic score with communication and computation overheads; for multi-turn dialogues, it further quantifies context-aware costs arising from model switching and KV-cache management. While maintaining full inference quality, extensive experiments demonstrate that our framework cuts average response latency by 5-15% and reduces large model invocations by 10-20% against competitive baselines on MMLU, GSM8K, and MT-Bench-101 benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2508_11291
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Dynamic Quality-Latency Aware Routing for LLM Inference in Wireless Edge-Device Networks
Bao, Rui
Xue, Nan
Sun, Yaping
Chen, Zhiyong
Information Theory
Artificial Intelligence
Machine Learning
The integration of wireless communications and Large Language Models (LLMs) is poised to unlock ubiquitous intelligent services, yet deploying them in wireless edge-device collaborative environments presents a critical trade-off between inference quality and end-to-end latency. A fundamental mismatch exists between task complexity and resource allocation: offloading simple queries invites prohibitive latency, while on-device models lack the capacity for demanding computations. To address this challenge, we propose a dynamic, quality-latency aware routing framework that orchestrates inference between a lightweight model on the mobile device and a powerful model on the edge server. Our framework employs two distinct cost models: for single-turn queries, it fuses a BERT-predicted semantic score with communication and computation overheads; for multi-turn dialogues, it further quantifies context-aware costs arising from model switching and KV-cache management. While maintaining full inference quality, extensive experiments demonstrate that our framework cuts average response latency by 5-15% and reduces large model invocations by 10-20% against competitive baselines on MMLU, GSM8K, and MT-Bench-101 benchmarks.
title Dynamic Quality-Latency Aware Routing for LLM Inference in Wireless Edge-Device Networks
topic Information Theory
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2508.11291