arXiv:2409.15868cs.CLcs.LG2024-09EMNLP被引 6

构建NLP模型隐私风险评估基准,系统分析攻击与防御策略。

Privacy Evaluation Benchmarks for NLP Models

  • 设计支持多种模型、数据集的标准化隐私评估框架。
  • 发现跨领域辅助数据能增强攻击效果,提出基于知识蒸馏的改进方法。
  • 提出链式攻击框架,可组合多步攻击提升破坏力,适合安全研究者使用。

通过对NLP模型实施隐私攻击,攻击者可获取训练数据、模型参数等敏感信息。尽管已有研究深入探讨了多种NLP隐私攻击,但缺乏系统性分析,对攻击影响的全面理解仍不足。例如,需明确不同攻击适用场景、影响攻击性能的共性因素、各类攻击间的关联性,以及数据集和模型对攻击效果的影响。为此,本文提出一个NLP隐私攻击与防御评估基准,涵盖传统小模型与大语言模型(LLMs)。该基准支持多种模型、数据集与协议,提供标准化模块以全面评估攻击与防御策略。基于此框架,我们研究了不同领域辅助数据与隐私攻击强度之间的关联,并借助知识蒸馏(Knowledge Distillation, KD)提出一种改进攻击方法。此外,提出一种链式隐私攻击框架,允许从业者串联多个攻击以实现更高阶目标。基于该框架,我们还提供了若干防御与增强攻击策略。实验代码可在 https://github.com/user2311717757/nlp_doctor 获取。

原文摘要 · Abstract (English)

By inducing privacy attacks on NLP models, attackers can obtain sensitive information such as training data and model parameters, etc. Although researchers have studied, in-depth, several kinds of attacks in NLP models, they are non-systematic analyses. It lacks a comprehensive understanding of the impact caused by the attacks. For example, we must consider which scenarios can apply to which attacks, what the common factors are that affect the performance of different attacks, the nature of the relationships between different attacks, and the influence of various datasets and models on the effectiveness of the attacks, etc. Therefore, we need a benchmark to holistically assess the privacy risks faced by NLP models. In this paper, we present a privacy attack and defense evaluation benchmark in the field of NLP, which includes the conventional/small models and large language models (LLMs). This benchmark supports a variety of models, datasets, and protocols, along with standardized modules for comprehensive evaluation of attacks and defense strategies. Based on the above framework, we present a study on the association between auxiliary data from different domains and the strength of privacy attacks. And we provide an improved attack method in this scenario with the help of Knowledge Distillation (KD). Furthermore, we propose a chained framework for privacy attacks. Allowing a practitioner to chain multiple attacks to achieve a higher-level attack objective. Based on this, we provide some defense and enhanced attack strategies. The code for reproducing the results can be found at https://github.com/user2311717757/nlp_doctor.

隐私评估攻击链知识蒸馏

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