揭示大语言模型基于拆分的框架中私有微调的脆弱性:双向增强攻击
Unveiling the Vulnerability of Private Fine-Tuning in Split-Based Frameworks for Large Language Models: A Bidirectionally Enhanced Attack
AI总结:
该研究揭示了拆分学习框架下大语言模型私有微调的脆弱性,提出双向半白盒重构攻击方法BiSR,结合双向优化与噪声自适应混合专家模型,在多种主流LLM上实现了最优数据重构效果,且能突破三类典型防御。
摘要:
预训练大语言模型(LLM)的最新进展已对诸多领域产生显著影响。为使这些模型适配特定任务,通常需要使用私有领域专属数据进行微调(FT)。然而,隐私顾虑导致这类数据不会公开,且部署大语言模型的计算需求给资源有限的数据持有者带来了挑战。这一现状引发了人们对拆分学习(SL)的兴趣——拆分学习是一种模型即服务(MaaS)范式,它将大语言模型拆分为更小的分段以进行分布式训练和部署,仅传输中间激活值而非原始数据。由于拆分学习旨在平衡大语言模型私有微调中的用户数据隐私、模型所有权和资源挑战,它在工业界和学术界都获得了大量关注。尽管拆分学习宣称具备隐私保护能力,本文揭示了拆分学习与大语言模型微调结合所产生的重大脆弱性:微调的“不太远”特性以及大语言模型的自回归本质。利用这些脆弱性,我们提出了双向半白盒重构(BiSR)方法,这是首个同时针对拆分学习前向传播和反向传播过程设计的数据重构攻击(DRA)。BiSR利用预训练权重作为先验知识,将基于学习的攻击与基于双向优化的方法相结合,以实现高效的数据重构。此外,该方法还纳入了噪声自适应混合专家(NaMoE)模型,以提升存在扰动时的重构性能。我们在多种主流大语言模型和不同设置下开展了系统性实验,实验结果从经验层面证明了BiSR具备当前最优的性能。我们还深入检验了三种代表性防御机制,证明了我们的方法即使在存在这些防御的情况下仍具备重构私有数据的能力。
英文摘要:
Recent advancements in pre-trained large language models (LLMs) have significantly influenced various domains. Adapting these models for specific tasks often involves fine-tuning (FT) with private, domain-specific data. However, privacy concerns keep this data undisclosed, and the computational demands for deploying LLMs pose challenges for resource-limited data holders. This has sparked interest in split learning (SL), a Model-as-a-Service (MaaS) paradigm that divides LLMs into smaller segments for distributed training and deployment, transmitting only intermediate activations instead of raw data. SL has garnered substantial interest in both industry and academia as it aims to balance user data privacy, model ownership, and resource challenges in the private fine-tuning of LLMs. Despite its privacy claims, this paper reveals significant vulnerabilities arising from the combination of SL and LLM-FT: the Not-too-far property of fine-tuning and the auto-regressive nature of LLMs. Exploiting these vulnerabilities, we propose Bidirectional Semi-white-box Reconstruction (BiSR), the first data reconstruction attack (DRA) designed to target both the forward and backward propagation processes of SL. BiSR utilizes pre-trained weights as prior knowledge, combining a learning-based attack with a bidirectional optimization-based approach for highly effective data reconstruction. Additionally, it incorporates a Noise-adaptive Mixture of Experts (NaMoE) model to enhance reconstruction performance under perturbation. We conducted systematic experiments on various mainstream LLMs and different setups, empirically demonstrating BiSR's state-of-the-art performance. Furthermore, we thoroughly examined three representative defense mechanisms, showcasing our method's capability to reconstruct private data even in the presence of these defenses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。