paper-with-me

홈 › Papers

FlexServe: A Fast and Secure LLM Serving System for Mobile Devices with Flexible Resource Isolation

2026-03-10 · Yinpeng Wu, Yitong Chen, Lixiang Wang, Jinyu Gu, Zhichao Hua, Yubin Xia arxiv

Device-side Large Language Models (LLMs) have witnessed explosive growth, offering higher privacy and availability compared to cloud-side LLMs. During LLM inference, both model weights and user data are valuable, and attackers may even compromise the OS kernel to steal them. ARM TrustZone is the de facto hardware-based isolation technology on mobile devices, used to protect sensitive applications from a compromised OS. However, protecting LLM inference with TrustZone incurs significant overhead due to its inflexible isolation of memory and the NPU. To address these challenges, this paper introduces FlexServe, a fast and secure LLM serving system for mobile devices. It first introduces a Flexible Resource Isolation mechanism to construct Flexible Secure Memory (Flex-Mem) and Flexible Secure NPU (Flex-NPU). Both memory pages and the NPU can be efficiently switched between unprotected and protected modes. Based on these mechanisms, FlexServe designs a fast and secure LLM inference framework within TrustZone's secure world. The LLM-Aware Memory Management and Secure Inference Pipeline are introduced to accelerate inference. A Multi-Model Scheduler is proposed to optimize multi-model workflows. We implement a prototype of FlexServe and compare it with two TrustZone-based strawman designs. The results show that FlexServe achieves an average $10.05\times$ speedup in Time to First Token (TTFT) compared to the strawman, and an average $2.44\times$ TTFT speedup compared to an optimized strawman with pipeline and secure NPU enabled. For multi-model agent workflows, the end-to-end speedup is up to $24.30\times$ and $4.05\times$ compared to the strawman and optimized strawman, respectively.

📄 PDF Abstract BibTeX arXiv:2603.09046

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

FlexServe: A Fast and Secure LLM Serving System for Mobile Devices with Flexible Resource Isolation

2026-06-22 · Yinpeng Wu, Yitong Chen, Lixiang Wang, Jinyu Gu 외 arxiv

Device-side Large Language Models (LLMs) have grown explosively, offering stronger privacy and higher availability than their cloud-side counterparts. During LLM inference, both the model weights and the user data are va…

FlexServe: Deployment of PyTorch Models as Flexible REST Endpoints

2020-02-29 · Edward Verenich, Alvaro Velasquez, M. G. Sarwar Murshed, Faraz Hussain

The integration of artificial intelligence capabilities into modern software systems is increasingly being simplified through the use of cloud-based machine learning services and representational state transfer architect…

SoK: Attack and Defense Landscape of Mobile On-device AI Systems

2026-07-01 · Yujin Huang, Xin Zheng, Xingliang Yuan, Kwok-Yan Lam arxiv

Mobile on-device AI (MoAI) systems that integrate locally deployed AI models with conventional mobile software components are emerging as a key paradigm for delivering intelligent functionality directly on end-user devic…

Cloud-based Federated Boosting for Mobile Crowdsensing

2020-05-09 · Zhuzhu Wang, Yilong Yang, Yang Liu, Ximeng Liu 외

The application of federated extreme gradient boosting to mobile crowdsensing apps brings several benefits, in particular high performance on efficiency and classification. However, it also brings a new challenge for dat…

Federated LearningGeneral ClassificationGenerative Adversarial NetworkPrivacy Preserving+1

FastPFRec: A Fast Personalized Federated Recommendation with Secure Sharing

2026-03-18 · Zhenxing Yan, Jidong Yuan, Yongqi Sun, Haiyang Liu 외 arxiv

Graph neural network (GNN)-based federated recommendation systems effectively capture user-item relationships while preserving data privacy. However, existing methods often face slow convergence on graph data and privacy…

Recommendation SystemsGraph Neural Network