arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.18302cs.CRcs.AIcs.CL
收藏

LoRA-Leak:针对 LoRA 微调语言模型的成员推理攻击

LoRA-Leak: Membership Inference Attacks Against LoRA Fine-tuned Language Models

Tsinghua University(清华大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Delong Ran, Xinlei He, Tianshuo Cong, Anyu Wang, Qi Li, Xiaoyun Wang

AI总结:

本文提出 LoRA-Leak 框架,结合现有与利用预训练模型参考的改进 MIA,系统评估 LoRA 微调语言模型的成员泄露风险,并验证有效防御。

摘要:

语言模型(LM)通常遵循“预训练与微调”范式,即一个通用预训练模型可以经过微调以满足各种专业领域的需求。低秩适配(LoRA)因其轻量级计算开销和出色性能,已成为 LM 微调中使用最广泛的方法。由于 LoRA 调整的参数比例相对较小,可能会产生一种误导性印象,认为 LoRA 微调数据不易受到成员推理攻击(MIA)。然而,我们发现利用预训练模型会引发更多信息泄露,而这一点被现有 MIA 所忽视。因此,我们提出 LoRA-Leak,这是一个针对 LM 微调数据集进行 MIA 的综合评估框架。LoRA-Leak 包含十五种成员推理攻击,其中包括十种现有 MIA,以及五种利用预训练模型作为参考的改进型 MIA。在实验中,我们将 LoRA-Leak 应用于三个先进 LM,覆盖三项流行的自然语言处理任务,结果表明基于 LoRA 的微调 LM 仍然容易受到 MIA 影响(例如,在保守微调设置下 AUC 为 0.775)。我们还将 LoRA-Leak 应用于不同微调设置,以理解由此产生的隐私风险。我们进一步研究了四种防御措施,发现只有 dropout 和在微调期间排除特定 LM 层能够在保持效用的同时有效缓解 MIA 风险。我们强调,在“预训练与微调”范式下,预训练模型的存在使 MIA 成为基于 LoRA 的 LM 面临的更严重风险。我们希望这些发现能够为专业 LM 提供者的数据隐私保护提供指导。

英文摘要:

Language Models (LMs) typically adhere to a "pre-training and fine-tuning" paradigm, where a universal pre-trained model can be fine-tuned to cater to various specialized domains. Low-Rank Adaptation (LoRA) has gained the most widespread use in LM fine-tuning due to its lightweight computational cost and remarkable performance. Because the proportion of parameters tuned by LoRA is relatively small, there might be a misleading impression that the LoRA fine-tuning data is invulnerable to Membership Inference Attacks (MIAs). However, we identify that utilizing the pre-trained model can induce more information leakage, which is neglected by existing MIAs. Therefore, we introduce LoRA-Leak, a holistic evaluation framework for MIAs against the fine-tuning datasets of LMs. LoRA-Leak incorporates fifteen membership inference attacks, including ten existing MIAs, and five improved MIAs that leverage the pre-trained model as a reference. In experiments, we apply LoRA-Leak to three advanced LMs across three popular natural language processing tasks, demonstrating that LoRA-based fine-tuned LMs are still vulnerable to MIAs (e.g., 0.775 AUC under conservative fine-tuning settings). We also applied LoRA-Leak to different fine-tuning settings to understand the resulting privacy risks. We further explore four defenses and find that only dropout and excluding specific LM layers during fine-tuning effectively mitigate MIA risks while maintaining utility. We highlight that under the "pre-training and fine-tuning" paradigm, the existence of the pre-trained model makes MIA a more severe risk for LoRA-based LMs. We hope that our findings can provide guidance on data privacy protection for specialized LM providers.

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

↑