Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devices

GSM演进的增强数据速率 资源(消歧) 业务 计算机科学 电信 计算机网络
作者
Ruiyang Qin,Dancheng Liu,Zheyu Yan,Zhaoxuan Tan,Zixuan Pan,Zhenge Jia,Meng Jiang,Ahmed Abbasi,Jinjun Xiong,Yiyu Shi
出处
期刊:Cornell University - arXiv
标识
DOI:10.48550/arxiv.2406.03777
摘要

The scaling laws have become the de facto guidelines for designing large language models (LLMs), but they were studied under the assumption of unlimited computing resources for both training and inference. As LLMs are increasingly used as personalized intelligent assistants, their customization (i.e., learning through fine-tuning) and deployment onto resource-constrained edge devices will become more and more prevalent. An urging but open question is how a resource-constrained computing environment would affect the design choices for a personalized LLM. We study this problem empirically in this work. In particular, we consider the tradeoffs among a number of key design factors and their intertwined impacts on learning efficiency and accuracy. The factors include the learning methods for LLM customization, the amount of personalized data used for learning customization, the types and sizes of LLMs, the compression methods of LLMs, the amount of time afforded to learn, and the difficulty levels of the target use cases. Through extensive experimentation and benchmarking, we draw a number of surprisingly insightful guidelines for deploying LLMs onto resource-constrained devices. For example, an optimal choice between parameter learning and RAG may vary depending on the difficulty of the downstream task, the longer fine-tuning time does not necessarily help the model, and a compressed LLM may be a better choice than an uncompressed LLM to learn from limited personalized data.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
罗兴鲜发布了新的文献求助10
1秒前
4秒前
曾经的朝雪完成签到 ,获得积分10
5秒前
6秒前
6秒前
科研启动发布了新的文献求助30
7秒前
GXL完成签到,获得积分10
8秒前
8秒前
Liang完成签到,获得积分10
8秒前
缄默完成签到,获得积分10
9秒前
a7662888完成签到,获得积分0
9秒前
ZJM完成签到,获得积分10
10秒前
inzaghi完成签到,获得积分10
10秒前
11秒前
chen发布了新的文献求助10
11秒前
13秒前
英姑应助顺利凡松采纳,获得10
15秒前
自信咖啡发布了新的文献求助10
16秒前
16秒前
科研通AI2S应助Pt-SACs采纳,获得10
16秒前
18秒前
时尚灵枫完成签到,获得积分10
18秒前
18秒前
19秒前
19秒前
mozo发布了新的文献求助10
20秒前
20秒前
时尚灵枫发布了新的文献求助10
21秒前
oookkay发布了新的文献求助10
22秒前
22秒前
jjj完成签到,获得积分10
22秒前
23秒前
23秒前
CipherSage应助不会做科研采纳,获得10
24秒前
24秒前
鳗鱼店员发布了新的文献求助10
25秒前
英姑应助科研通管家采纳,获得10
26秒前
Twonej应助科研通管家采纳,获得30
26秒前
香蕉觅云应助科研通管家采纳,获得10
26秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Organometallic Chemistry of the Transition Metals 800
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
全相对论原子结构与含时波包动力学的理论研究--清华大学 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6439776
求助须知:如何正确求助?哪些是违规求助? 8253678
关于积分的说明 17567573
捐赠科研通 5497874
什么是DOI,文献DOI怎么找? 2899438
邀请新用户注册赠送积分活动 1876241
关于科研通互助平台的介绍 1716650