Saved in:
Bibliographic Details
Main Authors: Xiao, Jie, Huang, Qianyi, Chen, Xu, Tian, Chen
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.03613
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912889085886464
author Xiao, Jie
Huang, Qianyi
Chen, Xu
Tian, Chen
author_facet Xiao, Jie
Huang, Qianyi
Chen, Xu
Tian, Chen
contents As large language models (LLMs) increasingly integrate into every aspect of our work and daily lives, there are growing concerns about user privacy, which push the trend toward local deployment of these models. There are a number of lightweight LLMs (e.g., Gemini Nano, LLAMA2 7B) that can run locally on smartphones, providing users with greater control over their personal data. As a rapidly emerging application, we are concerned about their performance on commercial-off-the-shelf mobile devices. To fully understand the current landscape of LLM deployment on mobile platforms, we conduct a comprehensive measurement study on mobile devices. While user experience is the primary concern for end-users, developers focus more on the underlying implementations. Therefore, we evaluate both user-centric metrics-such as token throughput, latency, and response quality-and developer-critical factors, including resource utilization, OS strategies, battery consumption, and launch time. We also provide comprehensive comparisons across the mobile system-on-chips (SoCs) from major vendors, highlighting their performance differences in handling LLM workloads, which may help developers identify and address bottlenecks for mobile LLM applications. We hope that this study can provide insights for both the development of on-device LLMs and the design for future mobile system architecture.
format Preprint
id arxiv_https___arxiv_org_abs_2410_03613
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Understanding Large Language Models in Your Pockets: Performance Study on COTS Mobile Devices
Xiao, Jie
Huang, Qianyi
Chen, Xu
Tian, Chen
Machine Learning
As large language models (LLMs) increasingly integrate into every aspect of our work and daily lives, there are growing concerns about user privacy, which push the trend toward local deployment of these models. There are a number of lightweight LLMs (e.g., Gemini Nano, LLAMA2 7B) that can run locally on smartphones, providing users with greater control over their personal data. As a rapidly emerging application, we are concerned about their performance on commercial-off-the-shelf mobile devices. To fully understand the current landscape of LLM deployment on mobile platforms, we conduct a comprehensive measurement study on mobile devices. While user experience is the primary concern for end-users, developers focus more on the underlying implementations. Therefore, we evaluate both user-centric metrics-such as token throughput, latency, and response quality-and developer-critical factors, including resource utilization, OS strategies, battery consumption, and launch time. We also provide comprehensive comparisons across the mobile system-on-chips (SoCs) from major vendors, highlighting their performance differences in handling LLM workloads, which may help developers identify and address bottlenecks for mobile LLM applications. We hope that this study can provide insights for both the development of on-device LLMs and the design for future mobile system architecture.
title Understanding Large Language Models in Your Pockets: Performance Study on COTS Mobile Devices
topic Machine Learning
url https://arxiv.org/abs/2410.03613