Accuracy-Delay Trade-Off in LLM Offloading via Token-Level Uncertainty
Preprint
Abstract
Large language models (LLMs) offer significant potential for intelligent mobile services but are computationally intensive for resource-constrained devices. Mobile edge computing (MEC) allows such devices to offload inference tasks to edge servers (ESs), yet introduces latency due to communication and serverside queuing, especially in multi-user environments. In this work, we propose an uncertainty-aware offloading framework that dynamically decides whether to perform inference locally or offload it to the ES, based on token-level uncertainty and resource constraints. We define a margin-based token-level uncertainty metric and demonstrate its correlation with model accuracy. Leveraging this metric, we design a greedy offloading algorithm (GOA) that minimizes delay while maintaining accuracy by prioritizing offloading for highuncertainty queries. Our experiments show that GOA consistently achieves a favorable trade-off, outperforming baseline strategies in both accuracy and latency across varying user densities, and operates with practical computation time. These results establish GOA as a scalable and effective solution for LLM inference in MEC environments.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Serving Long-Context LLMs at the Mobile Edge: Test-Time Reinforcement Learning-Based Model Caching and Inference OffloadingIEEE Transactions on Networking, 2026
- Recursive Offloading for LLM Serving in Multi-Tier NetworksIEEE Transactions on Mobile Computing, 2025
- Adaptive Resource Allocation Optimization Using Large Language Models in Dynamic Wireless EnvironmentsIEEE Transactions on Vehicular Technology, 2025
- Uncertainty-Aware Hybrid Inference with On-Device Small and Remote Large Language Models2025
- Distributed Task Offloading and Resource Allocation for Latency Minimization in Mobile Edge Computing NetworksIEEE Transactions on Mobile Computing, 2024
- Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities2024
- On Multi-Access Edge Computing: A Survey of the Emerging 5G Network Edge Cloud Architecture and OrchestrationIEEE Communications Surveys & Tutorials, 2017
- Mobile Edge Computing: A Survey on Architecture and Computation OffloadingIEEE Communications Surveys & Tutorials, 2017
- Aleatory or epistemic? Does it matter?Structural Safety, 2009