Efficient and Privacy Aware Edge Cloud Collaborative Inference for Large Language Models
Abstract
On-device LLM inference faces a trilemma of response latency, limited hardware resources and user privacy. Full cloud inference delivers strong computing power but exposes user prompts and dialogue data, while standalone on-device inference is unfeasible for most consumer and embedded edge devices. This paper presents a privacy-centric edge-cloud collaborative LLM inference framework built on endpoint-authenticated KV cache. Local endpoints handle input preprocessing, embedding computation, adaptive feature optimization, KV cache authentication, speculative decoding and low-dimensional model head calculation, while the cloud conducts authenticated decoder inference, KV cache management, token verification and high-dimensional vocabulary projection. Endpoints fuse partial outputs, apply language-adaptive masking and sample target tokens. All transmitted data and truncated logits are quantized and AES-GCM encrypted for privacy, with core lightweight modules, draft parameters and cache access policies kept local to avoid leakage. The framework supports heterogeneous devices including CPU-only, GPU-equipped and embedded devices via optimized streaming, batching and quantized ONNX deployment. Evaluations demonstrate that the framework reduces per-token latency by up to 46.1\% and downlink payloads by up to 67.4\% over baseline split inference, retaining comparable performance to full cloud inference.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
Related papers
A Survey of Security, Privacy, and Ethics of Large Language Models in Telecom
Shared title terminologycs.CRJoy Bose, Srinivas Adyapak
ReQOR: Operator-Discrepancy Subspace Repair for Quantization-Conditioned Backdoors in Large Language Models
Shared title terminologycs.CRWonjune Seo, Minkyung Park, Saerom Park
Separating Measurement Failures from Defence Failures in Split Language-Model Privacy
Shared title terminologycs.CRGeorgios Politis, Evangelos Pappas
TurboFHE: An Efficient and Scalable Multi-GPU Framework for Homomorphic LLM Inference
Shared title terminologycs.CRHonghui You, Haoping Yang, Wenzhe Wang et al.
IH-Benchmark: A Conflict-Centered Benchmark for Instruction-Hierarchy Robustness in Large Language Models
Shared title terminologycs.CRConor McCauley, Zeliang Kan, Jason Martin
A Reference-Free Score for Detecting Silent Reasoning Failures in Large Language Models
Shared title terminologycs.CRVivek Shukla, Varun Shukla, Atul et al.