Eguard:通过文本互信息优化防御大型语言模型(LLM)嵌入免受逆向攻击
Eguard: Defending LLM Embeddings Against Inversion Attacks via Text Mutual Information Optimization
AI总结:
针对LLM嵌入向量数据库易受逆向攻击导致隐私泄露的问题,提出Eguard防御机制,通过Transformer投影网络和文本互信息优化,在保护超95%标记免受逆向攻击的同时,维持下游任务高性能。
摘要:
嵌入已成为大型语言模型(LLMs)功能的基石,因为它们能够将文本数据转换为捕获语义和句法属性的丰富、密集的数值表示。这些嵌入向量数据库充当LLMs的长期记忆,使LLMs能够高效处理各种自然语言处理任务。然而,嵌入向量数据库在LLMs中的普及也带来了对隐私泄露的重大担忧。嵌入向量数据库特别容易受到嵌入逆向攻击,攻击者可以利用嵌入逆向工程并从原始文本数据中提取敏感信息。现有防御机制存在局限性,往往难以平衡安全性与下游任务的性能。为应对这些挑战,我们提出Eguard,一种旨在缓解嵌入逆向攻击的新型防御机制。Eguard采用基于Transformer的投影网络和文本互信息优化来保护嵌入,同时保留LLMs的效用。我们的方法显著降低了隐私风险,保护超过95%的标记免受逆向攻击,同时在下游任务中保持与原始嵌入一致的高性能。
英文摘要:
Embeddings have become a cornerstone in the functionality of large language models (LLMs) due to their ability to transform text data into rich, dense numerical representations that capture semantic and syntactic properties. These embedding vector databases serve as the long-term memory of LLMs, enabling efficient handling of a wide range of natural language processing tasks. However, the surge in popularity of embedding vector databases in LLMs has been accompanied by significant concerns about privacy leakage. Embedding vector databases are particularly vulnerable to embedding inversion attacks, where adversaries can exploit the embeddings to reverse-engineer and extract sensitive information from the original text data. Existing defense mechanisms have shown limitations, often struggling to balance security with the performance of downstream tasks. To address these challenges, we introduce Eguard, a novel defense mechanism designed to mitigate embedding inversion attacks. Eguard employs a transformer-based projection network and text mutual information optimization to safeguard embeddings while preserving the utility of LLMs. Our approach significantly reduces privacy risks, protecting over 95% of tokens from inversion while maintaining high performance across downstream tasks consistent with original embeddings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。