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

多语言语言模型的文本嵌入逆向安全研究

Text Embedding Inversion Security for Multilingual Language Models

Aalborg University(奥尔堡大学)

Yiyi Chen, Heather Lent, Johannes Bjerva

AI总结:

本文首次研究多语言LLM的嵌入逆向攻击,发现多语言模型更易受攻击且英语防御可能失效,并提出一种对单语言和多语言模型均有效的掩码防御方法。

摘要:

在自然语言处理中,文本数据通常以实数嵌入的形式表示,尤其是随着大语言模型(LLMs)和嵌入即服务(EaaS)的普及。然而,将敏感信息存储为嵌入可能容易遭受安全破坏,因为研究表明,即使不了解底层模型,也可以从嵌入中重建文本。虽然已有防御机制被探索,但这些机制仅针对英语,导致其他语言可能暴露于攻击之下。本研究通过多语言嵌入逆向探索LLM安全性。我们定义了黑盒多语言和跨语言逆向攻击问题,并探讨其潜在影响。我们的发现表明,多语言LLM可能更容易受到逆向攻击,部分原因是基于英语的防御可能无效。为缓解这一问题,我们提出了一种简单的掩码防御方法,对单语言和多语言模型均有效。本研究是首个调查多语言逆向攻击的工作,揭示了单语言与多语言场景下攻击与防御的差异。

英文摘要:

Textual data is often represented as real-numbered embeddings in NLP, particularly with the popularity of large language models (LLMs) and Embeddings as a Service (EaaS). However, storing sensitive information as embeddings can be susceptible to security breaches, as research shows that text can be reconstructed from embeddings, even without knowledge of the underlying model. While defence mechanisms have been explored, these are exclusively focused on English, leaving other languages potentially exposed to attacks. This work explores LLM security through multilingual embedding inversion. We define the problem of black-box multilingual and cross-lingual inversion attacks, and explore their potential implications. Our findings suggest that multilingual LLMs may be more vulnerable to inversion attacks, in part because English-based defences may be ineffective. To alleviate this, we propose a simple masking defense effective for both monolingual and multilingual models. This study is the first to investigate multilingual inversion attacks, shedding light on the differences in attacks and defenses across monolingual and multilingual settings.

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

↑