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

面向大规模数据集的隐私保护产品量化近邻搜索框架:通过全同态加密和可信执行环境的混合方案

Privacy-Preserving Product-Quantized Approximate Nearest Neighbor Search Framework for Large-scale Datasets via A Hybrid of Fully Homomorphic Encryption and Trusted Execution Environment

Shozo Saeki, Minoru Kawahara, Hirohisa Aman

AI总结:

本文提出PPPQ-ANN框架,结合全同态加密和可信执行环境,优化大规模数据集的隐私保护近邻搜索,实现快速数据库生成和高吞吐量检索。

摘要:

最近邻框架是各种涉及大型语言模型(LLMs)和视觉语言模型(VLMs)的应用的基本工具。用于最近邻搜索的向量包含更丰富的信息用于相似性搜索。这种信息导致安全风险,如嵌入反向和成员攻击。因此,隐私保护近邻(PP-ANN)方法对于高度机密数据是必要的。然而,基于可信执行环境(TEE)或全同态加密(FHE)的传统PP-ANN方法无法实现实际的安全性和性能。此外,传统方法侧重于搜索过程而非最近邻数据库生成。为了解决这些问题,我们提出了一种隐私保护产品量化近邻(PPPQ-ANN)框架。PPPQ-ANN基于FHE和TEE的混合方案,为向量提供多层安全结构。此外,PPPQ-ANN通过将产品量化(PQ)与优化的数据打包结合,最小化FHE密文计算。我们在百万级数据集上展示了PPPQ-ANN的性能。结果表明,PPPQ-ANN在不到2小时内完成数据库生成,并在顺序搜索中实现超过50 QPS的同时保持隐私。因此,PPPQ-ANN通过利用FHE和TEE的混合方案,优化了安全性和性能之间的权衡,实现了在保护隐私的同时获得实际性能。

英文摘要:

A nearest-neighbor framework is a fundamental tool for various applications involving Large Language Models (LLMs) and Visual Language Models (VLMs). Vectors used for nearest-neighbor searches have richer information for similarity searches. This information leads to security risks, such as embedding inversion and membership attacks. Therefore, Privacy-Preserving Approximate Nearest-Neighbor (PP-ANN) approaches are necessary for highly confidential data. However, conventional PP-ANN approaches based on a Trusted Execution Environment (TEE) or Fully Homomorphic Encryption (FHE) do not achieve practical security or performance. Additionally, conventional approaches focus on the search process rather than database generation for nearest-neighbor. To address these issues, we propose a Privacy-Preserving Product-Quantization Approximate Nearest Neighbor (PPPQ-ANN) framework. PPPQ-ANN provides a multi-layered security structure for vectors based on a hybrid of FHE and TEE. Additionally, PPPQ-ANN minimizes FHE ciphertext computations by combining Product-Quantization (PQ) with optimized data packing. We demonstrate the performance of PPPQ-ANN on million-scale datasets. As a result, PPPQ-ANN achieves database generation in less than 2 hours and more than 50 QPS in a sequential search while preserving privacy. Therefore, PPPQ-ANN optimizes the trade-off between security and performance by utilizing a hybrid of FHE and TEE, achieving practical performance while preserving privacy.

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

↑