arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.02307cs.LG
收藏

Transformer文本嵌入的微分隐私:非参数变分信息瓶颈

Differential Privacy for Transformer Embeddings of Text with Nonparametric Variational Information Bottleneck

Idiap Research Institute(Idiap研究 institute);EPFL(瑞士联邦理工学院)

Dina El Zein, James Henderson

AI总结:

本文提出非参数变分微分隐私方法,通过在transformer嵌入中注入噪声来保护文本数据隐私,同时保持模型准确性。

摘要:

我们提出了一种保护隐私的方法,通过分享文本数据的噪声版本来共享文本数据。已经证明,深度模型学习的隐藏表示可以编码输入中的敏感信息,使对手能够以相当高的准确性恢复输入数据。在transformer嵌入中,这个问题更加严重,因为它们由多个向量组成,每个token一个。为减轻这种风险,我们提出了非参数变分微分隐私(NVDP),以确保有用的数据共享和强大的隐私保护。我们采用微分隐私(DP)方法,将非参数变分信息瓶颈(NVIB)层整合到transformer架构中,以向其多向量嵌入注入噪声,从而隐藏信息,并使用Rényi散度(RD)及其对应的贝叶斯微分隐私(BDP)保证来衡量隐私保护。训练NVIB层会根据下游任务的实用性校准噪声水平。我们在通用语言理解评估(GLUE)基准上测试NVDP,并显示调整噪声水平可以为我们提供隐私和准确性之间的有用权衡。在较低的噪声水平下,我们的模型在保持高准确率的同时提供强大的隐私保证,有效平衡了隐私和实用性。

英文摘要:

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.

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

↑