← Lab /AI/ML

FlexServe speeds mobile LLM inference up to 10× faster than prior TrustZone designs

FlexServe achieves average TTFT speedups of 10.05× over a basic TrustZone design and 2.44× over an optimized design

AI/ML arXiv 22 Jun 2026 Method Prototype evidence Threat model

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

Why it matters

Enables fast, confidential LLM inference on mobile devices without noticeably degrading other apps, opening the door for privacy-preserving AI assistants on phones.

Summary

FlexServe speeds up LLM inference on mobile devices by 10.05× versus a basic TrustZone strawman and 2.44× versus an optimized strawman, while keeping normal-world applications at 97.2% of baseline performance. It achieves this by decoupling access and management permissions through a Recallable Resource Isolation mechanism that provides Flex-Mem and Flex-NPU, letting the normal-world OS allocate and reclaim secure resources efficiently. The prototype on a NanoPCT6 board shows up to 24.30× end-to-end speedup for multi-model agent workflows. Evidence comes from a single-device implementation compared against two strawman baselines; no large-scale deployment or user study is reported.

What they found 2

  1. FlexServe achieves average TTFT speedups of 10.05× over a basic TrustZone strawman and 2.44× over an optimized strawman.

    “FlexServe achieves average TTFT speedups of 10.05× over the strawman and 2.44× over an optimized strawman.”

  2. Normal-world applications retain 97.2% of their performance compared to a non-inference baseline.

    “FlexServe keeps normal-world applications with relative performance of 97.2% compared with the non-inference baseline.”

Caveats 1

  • Normal-world applications experience a 2.8% slowdown (97.2% of baseline performance), qualifying the headline speedup claim.

What’s new here 4

  • Recallable Resource Isolation that separates access permission from management permission for secure resources.
  • Flex-Mem, a page-granular secure memory abstraction that can be allocated and reclaimed by the normal-world OS.
  • Flex-NPU, a recallable secure NPU abstraction enabling secure NPU use without a separate driver.
  • Cooperative secure memory management with LLM-aware caching, dynamic reclamation, and on-demand protection.

Threat model stated by the source

Adversaryattacker with kernel privileges
Capabilitycan read/write arbitrary memory pages and peripherals in the normal world
Assumesinitial kernel code is benign; secure boot protects integrity of boot components; secure-world components and Flex-Monitor are trusted; side-channel, physical, and DoS attacks are out of scope