arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.11397cs.CRcs.LG
收藏

最后幸存者:软提示微调、LoRA 与上下文学习的安全与隐私比较分析

Last One Standing: A Comparative Analysis of Security and Privacy of Soft Prompt Tuning, LoRA, and In-Context Learning

CISPA Helmholtz Center for Information Security(亥姆霍兹信息安全中心(CISPA));University of Virginia(弗吉尼亚大学);Azure Research(微软Azure研究院)

Rui Wen, Tianhao Wang, Michael Backes, Yang Zhang, Ahmed Salem

AI总结:

本研究系统比较了LoRA、软提示微调与上下文学习在成员推断、后门和模型窃取攻击下的隐私与安全鲁棒性,发现无万能方案,各技术优劣并存。

摘要:

大型语言模型(LLMs)是自然语言处理的强大工具,能够实现新颖的应用和用户体验。然而,为了达到最佳性能,LLMs 通常需要使用私有数据进行适配,这带来了隐私和安全挑战。目前已提出多种使用私有数据适配 LLMs 的技术,如低秩适配(LoRA)、软提示微调(SPT)和上下文学习(ICL),但它们的隐私和安全属性尚未得到系统性研究。在本工作中,我们填补了这一空白,评估了 LoRA、SPT 和 ICL 对三类公认攻击的鲁棒性:成员推断攻击(暴露数据泄露,涉及隐私)、后门攻击(注入恶意行为,涉及安全)以及模型窃取攻击(可能侵犯知识产权,涉及隐私和安全)。我们的结果表明,在 LLM 适配中不存在隐私和安全的万能解决方案,每种技术都有不同的优缺点。

英文摘要:

Large Language Models (LLMs) are powerful tools for natural language processing, enabling novel applications and user experiences. However, to achieve optimal performance, LLMs often require adaptation with private data, which poses privacy and security challenges. Several techniques have been proposed to adapt LLMs with private data, such as Low-Rank Adaptation (LoRA), Soft Prompt Tuning (SPT), and In-Context Learning (ICL), but their comparative privacy and security properties have not been systematically investigated. In this work, we fill this gap by evaluating the robustness of LoRA, SPT, and ICL against three types of well-established attacks: membership inference, which exposes data leakage (privacy); backdoor, which injects malicious behavior (security); and model stealing, which can violate intellectual property (privacy and security). Our results show that there is no silver bullet for privacy and security in LLM adaptation and each technique has different strengths and weaknesses.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑