Search papers, labs, and topics across Lattice.
This paper introduces LMEdge, a QoS-aware orchestration service designed to optimize the inference of large language models (LLMs) on heterogeneous edge devices. By formulating the orchestration problem as a binary integer linear programming (BILP) optimization, LMEdge minimizes response time while adhering to constraints related to accuracy, network, and resource usage. Evaluation results demonstrate that LMEdge significantly reduces latency and improves resource utilization compared to existing baselines, making it a valuable solution for low-latency and privacy-preserving AI services on edge infrastructure.
LMEdge slashes latency while ensuring accuracy and resource efficiency in LLM inference across diverse edge devices.
Large language model (LLM) services increasingly operate on edge infrastructure, enabling low-latency and privacy-preserving AI services. However, efficiently serving LLM requests across heterogeneous and resource-constrained edge devices require orchestration mechanisms that jointly determine model configuration (family, size, and quantization level) and execution placement while satisfying user- and system-level quality of service (QoS) requirements. This paper introduces LMEdge, a QoS-aware orchestration service that dynamically makes these decisions across heterogeneous edge devices. We formulate the problem as a binary integer linear programming (BILP) optimization that minimizes response time under accuracy, network, and resource constraints. To enable scalable online scheduling, we employ five lightweight machine learning (ML) models to predict query-specific latency, accuracy, resource usage, and response size for each model-size-quantization-device combination, and design a lightweight heuristic that approximates the BILP solution. We collect a comprehensive benchmarking dataset of over 59000 rows to train models and support reproducibility. Evaluation on a Kubernetes-based edge testbed with 57 instances and diverse query categories shows that LMEdge reduces latency, preserves accuracy, improves resource utilization, and increases serving ratio compared to two baselines.