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

面向端云协同的隐私保护大语言模型嵌入传输

Privacy-Preserving LLM Embedding Transmission for End-Cloud Collaboration

State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术开发区(滨江)区块链与数据安全研究所)

Shuaifan Jin, Xiaoyi Pang, Zhibo Wang, He Wang, Jiacheng Du, Jiahui Hu, Kui Ren

AI总结:

本文针对端云协同中嵌入反转攻击导致的隐私泄露问题,提出基于熵扰动的EntroGuard方法,可在保护嵌入隐私的同时维持检索性能,且无需修改嵌入模型。

摘要:

近期研究通过端云协同改进设备端语言模型(LM)推理,即端设备从云数据库检索有用信息以增强本地处理,该技术被称为检索增强生成(RAG)。通常,为在保护隐私的同时从云端检索信息,端设备会用本地嵌入模型将原始数据转换为嵌入向量。然而,近年出现的嵌入反转攻击(EIAs)仍可从文本嵌入中恢复原始数据(例如训练恢复模型将嵌入映射回原始文本),对用户隐私构成重大威胁。为应对该风险,本文提出EntroGuard,一种基于熵扰动的嵌入隐私保护方法,可在端云协同中保护文本嵌入隐私的同时保持检索准确率。具体而言,为抵御各类EIAs,我们对嵌入进行扰动以增加基于Transformer的恢复模型通用结构中恢复文本的熵,从而在恢复过程中将嵌入导向无意义文本而非原始敏感文本。为维持云端检索性能,我们将扰动限制在一定范围内,采用在冗余处减少扰动、稀疏处增加扰动的策略。此外,EntroGuard可直接集成到端设备,无需对嵌入模型做任何修改。大量实验结果表明,EntroGuard可将基于学习的EIAs的隐私泄露指标有效降低至接近零,同时以可忽略的检索性能损失缓解基于优化的EIAs。

英文摘要:

Recent studies improve on-device language model (LM) inference through end-cloud collaboration, where the end device retrieves useful information from cloud databases to enhance local processing, known as Retrieval-Augmented Generation (RAG). Typically, to retrieve information from the cloud while safeguarding privacy, the end device transforms original data into embeddings with a local embedding model. However, the recently emerging Embedding Inversion Attacks (EIAs) can still recover the original data from text embeddings (e.g., training a recovery model to map embeddings back to original texts), posing a significant threat to user privacy. To address this risk, we propose EntroGuard, an entropy-driven perturbation-based embedding privacy protection method, which can protect the privacy of text embeddings while maintaining retrieval accuracy during the end-cloud collaboration. Specifically, to defeat various EIAs, we perturb the embeddings to increase the entropy of the recovered text in the common structure of transformer-based recovery models, thus steering the embeddings toward meaningless texts rather than original sensitive texts during the recovery process. To maintain retrieval performance in the cloud, we constrain the perturbations within a bound, applying the strategy of reducing them where redundant and increasing them where sparse. Moreover, EntroGuard can be directly integrated into end devices without requiring any modifications to the embedding model. Extensive experimental results demonstrate that EntroGuard effectively reduces privacy leakage metrics to near-zero levels against learning-based EIAs while also mitigating optimization-based EIAs with negligible loss of retrieval performance.

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

↑