用对抗蒸馏训练小模型,让其自研匿名文本且保护隐私。
Self-Refining Language Model Anonymizers via Adversarial Distillation
- 通过大模型与小模型对抗交互收集数据,蒸馏匿名与评估能力。
- 80亿参数小模型隐私保护效果媲美甚至超过GPT-4。
- 适合注重成本与隐私安全的本地化匿名系统部署。
大型语言模型在敏感领域应用日益广泛,其从看似无害的文本中推断个人数据的能力带来了新的隐私风险。尽管已有基于大模型的匿名化方法,但常依赖专有模型(如GPT-4),引发成本与敏感数据泄露的担忧。为此,我们提出SEAL框架,一种无需推理时依赖外部模型的小型语言模型(SLMs)匿名化训练方法。SEAL利用大模型匿名器与推理模型之间的对抗互动,收集匿名文本及其属性推断轨迹,通过监督微调与偏好学习将匿名化与批判能力蒸馏至SLMs。所获模型既能匿名文本,又能评估输出质量,支持通过自提升实现持续优化。在合成个人资料与评论数据集SynthPAI上的实验表明,采用SEAL训练的SLMs显著提升匿名能力;其中80亿参数模型的隐私-效用平衡达到与GPT-4相当水平,经自提升后甚至超越其隐私保护能力。结果验证了该对抗蒸馏框架在训练高效匿名小模型方面的有效性。
原文摘要 · Abstract (English)
Large language models (LLMs) are increasingly used in sensitive domains, where their ability to infer personal data from seemingly benign text introduces emerging privacy risks. While recent LLM-based anonymization methods help mitigate such risks, they often rely on proprietary models (e.g., GPT-4), raising concerns about cost and the potential exposure of sensitive data to untrusted external systems. To address this, we introduce SElf-refining Anonymization with Language model (SEAL), a novel distillation framework for training small language models (SLMs) to perform effective anonymization without relying on external models at inference time. SEAL leverages adversarial interactions between an LLM anonymizer and an inference model to collect trajectories of anonymized texts and inferred attributes, which are then used to distill anonymization and critique capabilities into SLMs through supervised fine-tuning and preference learning. The resulting models learn both to anonymize text and to evaluate their outputs, enabling iterative improvement of anonymization quality via self-refinement. Experiments on SynthPAI, a dataset of synthetic personal profiles and text comments, demonstrate that SLMs trained with SEAL achieve substantial improvements in anonymization capabilities. Notably, 8B models attain a privacy-utility trade-off comparable to that of the GPT-4 anonymizer and, with self-refinement, even surpass it in terms of privacy protection. These results highlight the effectiveness of our adversarial distillation framework for training SLMs as efficient anonymizers.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。