Joint Optimization of Prompt Security and System Performance in Edge-Cloud LLM Systems

接头(建筑物) 云计算 GSM演进的增强数据速率 计算机科学 计算机安全 工程类 操作系统 电信 土木工程
作者
Haiyang Huang,Tianhui Meng,Weijia Jia
出处
期刊:Cornell University - arXiv [Cornell University]
标识
DOI:10.48550/arxiv.2501.18663
摘要

Large language models (LLMs) have significantly facilitated human life, and prompt engineering has improved the efficiency of these models. However, recent years have witnessed a rise in prompt engineering-empowered attacks, leading to issues such as privacy leaks, increased latency, and system resource wastage. Though safety fine-tuning based methods with Reinforcement Learning from Human Feedback (RLHF) are proposed to align the LLMs, existing security mechanisms fail to cope with fickle prompt attacks, highlighting the necessity of performing security detection on prompts. In this paper, we jointly consider prompt security, service latency, and system resource optimization in Edge-Cloud LLM (EC-LLM) systems under various prompt attacks. To enhance prompt security, a vector-database-enabled lightweight attack detector is proposed. We formalize the problem of joint prompt detection, latency, and resource optimization into a multi-stage dynamic Bayesian game model. The equilibrium strategy is determined by predicting the number of malicious tasks and updating beliefs at each stage through Bayesian updates. The proposed scheme is evaluated on a real implemented EC-LLM system, and the results demonstrate that our approach offers enhanced security, reduces the service latency for benign users, and decreases system resource consumption compared to state-of-the-art algorithms.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
433发布了新的文献求助10
刚刚
刚刚
1秒前
沧海一笑完成签到 ,获得积分10
1秒前
HS完成签到,获得积分20
1秒前
1秒前
房晓杰完成签到,获得积分20
1秒前
喝摩卡的摩卡完成签到,获得积分10
1秒前
1秒前
2秒前
yadi完成签到,获得积分10
2秒前
chen完成签到,获得积分20
3秒前
jsy发布了新的文献求助10
4秒前
面包糠发布了新的文献求助10
4秒前
华仔应助Ayumi采纳,获得10
4秒前
4秒前
酷波er应助Zhou采纳,获得10
4秒前
5秒前
5秒前
6秒前
友好的如娆完成签到,获得积分10
6秒前
阿中发布了新的文献求助30
7秒前
GuoyangCao发布了新的文献求助10
7秒前
7秒前
明志发布了新的文献求助10
7秒前
8秒前
8秒前
8秒前
zhaowenjing关注了科研通微信公众号
9秒前
9秒前
科目三应助酷炫小笼包采纳,获得10
10秒前
xiaolin发布了新的文献求助10
11秒前
11秒前
11秒前
zxy完成签到,获得积分10
12秒前
12秒前
12秒前
12秒前
123完成签到,获得积分10
13秒前
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Industrial Hydraulics Manual (7th edition) 800
Physiologic races of the downy mildew fungus on soybeans in North Carolina 800
Rosenblum, Global Change Biology 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7776600
求助须知:如何正确求助?哪些是违规求助? 9317988
关于积分的说明 20361410
捐赠科研通 7363513
什么是DOI,文献DOI怎么找? 3318422
关于科研通互助平台的介绍 2466410
邀请新用户注册赠送积分活动 2333857