arXiv:2606.10217cs.LGcs.CR2026-06

用对齐方法保护大模型免受属性推断攻击,无需重训练

Alignment Defends LLMs from Property Inference Attacks

  • 通过后训练对齐调整输出分布,不改动原始数据
  • 在多个数据集上实现90%以上攻击防御率,保持模型性能
  • 适合已部署模型的隐私防护,适用于数据不可得场景

大型语言模型(LLMs)在包含敏感信息的领域特定数据集上进行微调时,可能面临属性推断攻击的风险。已有防御方法需修改训练数据分布并重新训练模型,但受限于对原始数据的访问和部署后的适用性。本文提出基于对齐的防御机制,通过后训练阶段的对齐操作,将模型输出分布调整至目标属性比例,而无需修改训练数据。我们采用两种广泛使用的强化学习人类反馈(RLHF)框架——直接偏好优化(DPO)和组相对策略优化(GRPO),分别构建偏好对与定义特定奖励函数。大量实验表明,该方法能有效抵御属性推断攻击,在保持模型性能的同时实现良好的效用-保密权衡。

原文摘要 · Abstract (English)

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.

大模型安全隐私保护对齐防御

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。