arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.10217cs.LGcs.CR
收藏

对齐防御LLM免受属性推断攻击

Alignment Defends LLMs from Property Inference Attacks

University of California, San Diego(加州大学圣地亚哥分校);Carnegie Mellon University(卡内基梅隆大学);Simons Institute, UC Berkeley(伯克利大学Simons研究所)

Pengrun Huang, Chhavi Yadav, Ruihan Wu, Kamalika Chaudhuri

AI总结:

提出基于对齐的防御方法,通过后训练调整模型输出分布,在不修改训练数据的情况下缓解属性推断攻击,并保持效用与机密性的平衡。

摘要:

大型语言模型(LLMs)越来越多地在包含敏感数据集级属性的领域特定数据集上进行微调。最近的研究表明,此类数据集级信息可以通过属性推断攻击有效提取,构成机密性风险。现有的防御措施主要通过修改训练数据分布来运作,因此需要访问原始数据并重新训练模型,限制了其在数据不可用或模型已部署场景中的适用性。在这项工作中,我们提出了基于对齐的防御方法,用于缓解LLMs中的属性推断攻击。我们的方法通过后训练对齐将模型的输出分布重塑为目标属性比率,而无需修改训练数据。具体而言,我们通过构建偏好对和定义特定奖励函数,分别适配两种广泛使用的RLHF框架——直接偏好优化(DPO)和组相对策略优化(GRPO)——作为我们的防御方法。通过全面的实验,我们展示了基于对齐的防御方法有效缓解了属性推断攻击,同时保持了良好的效用-机密性权衡。

英文摘要:

Large language models (LLMs) are increasingly fine-tuned on domain-specific datasets that may contain sensitive, dataset-level properties. Recent work has shown that such dataset-level information can be effectively extracted through property inference attacks, posing a confidentiality risk. Existing defenses against these attacks primarily operate by modifying the training data distribution and hence require access to the original data and retraining the model, limiting their applicability to settings where data is unavailable or models are already deployed. In this work, we propose alignment-based defenses for mitigating property inference attacks in LLMs. Our approach reshapes the model's output distribution towards a target property ratio via post-training alignment, without modifying the training data. In particular, we adapt two widely used RLHF frameworks--Direct Preference Optimization (DPO) and Group Relative Policy Optimization (GRPO)--as our defenses by constructing preference pairs and defining a specific reward function respectively. Through comprehensive experiments, we show that our alignment based defenses effectively mitigate property inference attacks while maintaining a strong utility confidentiality tradeoff.

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

↑