Transferable Latency Prediction for Fast LLM Screening on Heterogeneous Edge Devices
Xiaolong Tu, Vinod K. Mishra, Venkat R. Dasari, Anu G. Bourgeois, Haoxin Wang
Abstract
Accurate latency prediction is critical for deploying large language models (LLMs) on heterogeneous edge devices, where inference latency is affected by model architecture, prompt behavior, runtime backend, hardware utilization, dynamic voltage and frequency scaling (DVFS), and thermal variation. This paper presents a runtime-aware latency prediction framework for deployment-oriented LLM selection. The framework represents each inference request as a hardware-runtime-model-prompt configuration, separates inference into prefill and decode phases, and adaptively fuses static descriptors with dynamic hardware telemetry through a gated prediction model. We evaluate the framework using Pixel mobile devices and validate the profiling pipeline on Jetson Nano, Orange Pi 5 Pro, and an RTX 3090-class GPU platform. On Pixel 8, the full predictor improves total-latency R-squared from 0.953 to 0.960 and decode-latency R-squared from 0.957 to 0.973 over a static-only baseline. On Pixel 8 Pro, it improves prefill-latency R-squared from -1.383 to 0.966. For cross-device transfer, calibration improves Pixel 8 Pro to Pixel 8 total-latency R-squared from -0.974 to 0.940 and decode-latency R-squared from -1.085 to 0.927. Heterogeneous profiling further shows that latency is highly device- and runtime-dependent: the same SmolLM2 model family reaches 8.42 tokens/s on Orange Pi 5 Pro but 64.38 tokens/s on an RTX 3090-class GPU. These results demonstrate that runtime-aware prediction with lightweight calibration can reduce profiling cost and support latency-aware LLM deployment across heterogeneous edge platforms.
Create a lesson
Related papers
On Utilization of Edge-AI for condition monitoring towards predictive maintenance: A use case in dairy processing using explainable AI
Shared title terminologycs.AIRahul Umesh Mhapsekar, Norah O'Shea, Omer Ali et al.
TransHarness: From Benchmark Overfitting to Transferable Harness Evolution
Shared title terminologycs.AITianze Xia, Zimo Wang, Heng Tong et al.
JOVE ICE: Intent Guided Cloud Edge Device Collaboration for AI Glasses
Shared title terminologycs.AIYuyang Jin, Bingfeng Pi, Jiamei Sun et al.
P-FedSkill: A Personalized Federated Skill Learning Framework under Task Heterogeneity
Shared title terminologycs.AIZehang Lin, Jiayi Ji, Rongrong Ji
When to Think Fast and Slow? AMOR: Adaptive Entropy Gate for Hybrid Models
Shared title terminologycs.AIHaoran Zheng, Chen Shani
EduRiskX: A Neuro-Symbolic Framework with F-Logic Reasoning for Early Academic Risk Prediction
Shared title terminologycs.AIYu Fu, Yongqi Kang, Yong Zhao et al.