arXiv:2604.18655cs.DCcs.AI2026-04ACL被引 1

让手机端大模型支持多任务动态切换,速度提升6倍

Unlocking the Edge deployment and ondevice acceleration of multi-LoRA enabled one-for-all foundational LLM

论文配图:Unlocking the Edge deployment and ondevice acceleration of multi-LoRA enabled one-for-all foundational LLM
图 1 · 摘自论文原文
  • 用LoRA实现单图灵推理,无需重编译即可切换任务
  • 单次前向传播生成多种风格回复,延迟降低6倍
  • 适合移动端生成式AI开发与边缘计算场景

在智能手机上部署大语言模型面临内存、延迟和运行灵活性的严苛限制。本文提出一种面向硬件的高效推理框架,可在三星Galaxy S24(SM8650)和S25(SM8750)设备上运行基于LLaMA的多语言基础模型,支持多种应用场景。通过将应用特定的LoRAs作为运行时输入注入单一冻结的推理图,实现无重编译、无内存开销的任务动态切换。进一步引入多流解码机制,在一次前向传播中并行生成正式、礼貌、幽默等不同风格回应,最高降低6倍延迟。为加速标记生成,采用无需草稿模型的动态自推测解码(DS2D),树状策略实现高达2.3倍的解码速度提升。结合INT4量化与架构级优化,系统在保持9种语言、8项任务准确率的前提下,实现内存与延迟4-6倍的整体改善。结果表明,该方案可切实部署多用途大模型于边缘设备,推动生成式AI在移动平台的商业化落地。

原文摘要 · Abstract (English)

Deploying large language models (LLMs) on smartphones poses significant engineering challenges due to stringent constraints on memory, latency, and runtime flexibility. In this work, we present a hardware-aware framework for efficient on-device inference of a LLaMA-based multilingual foundation model supporting multiple use cases on Samsung Galaxy S24 and S25 devices with SM8650 and SM8750 Qualcomm chipsets respectively. Our approach integrates application-specific LoRAs as runtime inputs to a single frozen inference graph, enabling dynamic task switching without recompilation or memory overhead. We further introduce a multi-stream decoding mechanism that concurrently generates stylistic variations - such as formal, polite, or jovial responses - within a single forward pass, reducing latency by up to 6x. To accelerate token generation, we apply Dynamic Self-Speculative Decoding (DS2D), a tree-based strategy that predicts future tokens without requiring a draft model, yielding up to 2.3x speedup in decode time. Combined with quantization to INT4 and architecture-level optimizations, our system achieves 4-6x overall improvements in memory and latency while maintaining accuracy across 9 languages and 8 tasks. These results demonstrate practical feasibility of deploying multi-use-case LLMs on edge devices, advancing the commercial viability of Generative AI in mobile platforms.

边缘计算LoRA手机AI生成式AI

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。