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

通用零样本嵌入反转

Universal Zero-shot Embedding Inversion

Cornell University(康奈尔大学)

Collin Zhang, John X. Morris, Vitaly Shmatikov

AI总结:

本文提出了一种基于对抗解码技术的零样本嵌入反转方法ZSInvert,无需为每个嵌入训练专门模型即可高效重构文本,并验证了其在恢复语义信息方面的有效性。

摘要:

嵌入反转(embedding inversion),即在给定嵌入且仅有嵌入编码器黑盒访问权限的情况下重构文本,是NLP和安全领域的一个基础问题。从NLP角度看,它有助于确定输入的多少语义信息被保留在嵌入中。从安全角度看,它衡量了向量数据库和基于嵌入的检索系统泄露了多少信息。现有的最先进嵌入反转方法(如vec2text)准确率高,但需要(a)为每个嵌入训练单独的模型,以及(b)对相应编码器进行大量查询。我们设计、实现并评估了ZSInvert,这是一种基于近期提出的对抗解码技术的零样本反转方法。ZSInvert速度快、查询效率高,可用于任意文本嵌入而无需训练针对特定嵌入的反转模型。我们在多个嵌入上测量了ZSInvert的有效性,并证明它能恢复对应文本的关键语义信息。

英文摘要:

Embedding inversion, i.e., reconstructing text given its embedding and black-box access to the embedding encoder, is a fundamental problem in both NLP and security. From the NLP perspective, it helps determine how much semantic information about the input is retained in the embedding. From the security perspective, it measures how much information is leaked by vector databases and embedding-based retrieval systems. State-of-the-art methods for embedding inversion, such as vec2text, have high accuracy but require (a) training a separate model for each embedding, and (b) a large number of queries to the corresponding encoder. We design, implement, and evaluate ZSInvert, a zero-shot inversion method based on the recently proposed adversarial decoding technique. ZSInvert is fast, query-efficient, and can be used for any text embedding without training an embedding-specific inversion model. We measure the effectiveness of ZSInvert on several embeddings and demonstrate that it recovers key semantic information about the corresponding texts.

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

↑