paper-with-me

Papers

ELMS: Elasticized Large Language Models On Mobile Devices

2024-09-08 · Wangsong Yin, Rongjie Yi, Daliang Xu, Gang Huang, Mengwei Xu, Xuanzhe Liu

On-device Large Language Models (LLMs) are revolutionizing mobile AI, enabling applications such as UI automation while addressing privacy concerns. Currently, the standard approach involves deploying a single, robust LLM as a universal solution for various applications, often referred to as LLM-as-a-Service (LLMaaS). However, this approach faces a significant system challenge: existing LLMs lack the flexibility to accommodate the diverse Service-Level Objectives (SLOs) regarding inference latency across different applications. To address this issue, we introduce ELMS, an on-device LLM service designed to provide elasticity in both the model and prompt dimensions of an LLMaaS. This system includes: A one-time neuron reordering technique, which utilizes the inherent permutation consistency within transformer models to create high-quality, elastic sub-models with minimal runtime switching costs. A dual-head compact language model, which efficiently refines prompts and coordinates the elastic adaptation between the model and the prompt. We have implemented this elastic on-device LLM service on several off-the-shelf (COTS) smartphones and evaluate ELMS using both standalone NLP/mobile-agent datasets and synthesized end-to-end traces. Across a range of SLOs, ELMS surpasses four strong baselines by up to 16.83% and 11.04% in absolute accuracy on average, with less than 1% Time-To-First-Token (TTFT) switching overhead, comparable memory usage, and fewer than 100 offline GPU hours.

📄 PDF Abstract BibTeX arXiv:2409.09071

Code (0)

등록된 구현이 없습니다.

Tasks

GPULanguage Modelling

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

Cross-Architecture Distillation Using Bidirectional CMOW Embeddings

2021-09-29 · Lukas Paul Achatius Galke, Isabelle Cuber, Christoph Meyer, Henrik Ferdinand Nölscher 외

Large pretrained language models (PreLMs) are revolutionizing natural language processing across all benchmarks. However, their sheer size is prohibitive for small laboratories or deployment on mobile devices. Approaches…

Linguistic AcceptabilityQQPRTESentence

General Cross-Architecture Distillation of Pretrained Language Models into Matrix Embeddings

2021-09-17 · Lukas Galke, Isabelle Cuber, Christoph Meyer, Henrik Ferdinand Nölscher 외

Large pretrained language models (PreLMs) are revolutionizing natural language processing across all benchmarks. However, their sheer size is prohibitive for small laboratories or for deployment on mobile devices. Approa…

CoLALinguistic AcceptabilityNatural Language InferenceQuestion Similarity+4

Exploring Energy-based Language Models with Different Architectures and Training Methods for Speech Recognition

2023-05-22 · Hong Liu, Zhaobiao Lv, Zhijian Ou, Wenbo Zhao 외

Energy-based language models (ELMs) parameterize an unnormalized distribution for natural sentences and are radically different from popular autoregressive language models (ALMs). As an important application, ELMs have b…

Sentencespeech-recognitionSpeech Recognition

Retrieval-Augmented Generation for Electrocardiogram-Language Models

2025-09-30 · Xiaoyu Song, William Han, Tony Chen, Chaojing Duan 외 arxiv

Interest in generative Electrocardiogram-Language Models (ELMs) is growing, as they can produce textual responses conditioned on ECG signals and textual queries. Unlike traditional classifiers that output label probabili…

Fine-Tuning Code Language Models to Detect Cross-Language Bugs

2025-07-29 · Zengyang Li, Yimeng Li, Binbin Huang, Peng Liang 외 arxiv

Multilingual programming, which involves using multiple programming languages (PLs) in a single project, is increasingly common due to its benefits. However, it introduces cross-language bugs (CLBs), which arise from int…