用非参数变分信息瓶颈增强文本嵌入的差分隐私保护
Differential Privacy for Transformer Embeddings of Text with Nonparametric Variational Information Bottleneck
- 在Transformer嵌入中引入非参数变分信息瓶颈层注入噪声
- 通过瑞尼散度衡量隐私,实现隐私与下游任务准确率的平衡
- 适用于需共享文本表示又需保护敏感信息的场景
我们提出一种通过共享文本嵌入的噪声版本来实现隐私保护的数据共享方法。研究表明,深度模型学习到的隐藏表示可能包含输入中的敏感信息,使攻击者能以较高准确率恢复原始数据。这一问题在Transformer嵌入中尤为严重,因其由多个词元向量组成。为缓解风险,我们提出非参数变分差分隐私(NVDP),在保证数据共享有用性的同时提供强隐私保护。该方法采用差分隐私(DP)框架,将非参数变分信息瓶颈(NVIB)层融入Transformer架构,向多向量嵌入注入噪声以隐藏信息,并使用瑞尼散度(RD)及其对应的贝叶斯差分隐私(BDP)保证来衡量隐私保护水平。训练过程中,NVIB层会根据下游任务的效用自动校准噪声强度。我们在通用语言理解评估(GLUE)基准上测试了NVDP,结果表明,通过调节噪声水平,可在隐私与准确率之间实现有效权衡。低噪声条件下,模型保持高准确率的同时提供强隐私保障,实现了隐私与实用性的良好平衡。
原文摘要 · Abstract (English)
We propose a privacy-preserving method for sharing text data by sharing noisy versions of their transformer embeddings. It has been shown that hidden representations learned by deep models can encode sensitive information from the input, making it possible for adversaries to recover the input data with considerable accuracy. This problem is exacerbated in transformer embeddings because they consist of multiple vectors, one per token. To mitigate this risk, we propose Nonparametric Variational Differential Privacy (NVDP), which ensures both useful data sharing and strong privacy protection. We take a differential privacy (DP) approach, integrating a nonparametric variational information bottleneck (NVIB) layer into the transformer architecture to inject noise into its multivector embeddings and thereby hide information, and measuring privacy protection with Rényi Divergence (RD) and its corresponding Bayesian Differential Privacy (BDP) guarantee. Training the NVIB layer calibrates the noise level according to the utility of the downstream task. We test NVDP on the General Language Understanding Evaluation (GLUE) benchmark and show that varying the noise level gives us a useful trade-off between privacy and accuracy. With lower noise levels, our model maintains high accuracy while offering strong privacy guarantees, effectively balancing privacy and utility.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。