Paper 2024/2012

GraSS: Graph-based Similarity Search on Encrypted Query

Duhyeong Kim, Intel (United States)
Yujin Nam, University of California, San Diego
Wen Wang, Intel (United States)
Huijing Gong, Intel (United States)
Ishwar Bhati, Intel (United States)
Rosario Cammarota, Intel (United States)
Tajana S. Rosing, University of California, San Diego
Mariano Tepper, Intel (United States)
Theodore L. Willke, Intel (United States)
Abstract

Similarity search, i.e., retrieving vectors in a database that are similar to a query, is the backbone of many applications. Especially, graph-based methods show state-of-the-art performance. For sensitive applications, it is critical to ensure the privacy of the query and the dataset. In this work, we introduce GraSS, a secure protocol between client (query owner) and server (dataset owner) for graph-based similarity search based on fully homomorphic encryption (FHE). Both the client-input privacy against the server and the server-input privacy against the client are achievable based on underlying security assumptions on FHE. We first propose an FHE-friendly graph structure with a novel index encoding method that makes our protocol highly scalable in terms of data size, reducing the computational complexity of neighborhood retrieval process from $O(n^2)$ to $\tilde{O}(n)$ for the total number of nodes $n$. We also propose several core FHE algorithms to perform graph operations under the new graph structure. Finally, we introduce GraSS, an end-to-end solution of secure graph-based similarity search based on FHE. To the best of our knowledge, it is the first FHE-based solution for secure graph-based database search. We implemented GraSS with an open-source FHE library and estimated the performance on a million-scale dataset. GraSS identifies (approximate) top-16 in about $83$ hours achieving search accuracy of $0.918$, making it over $28\times$ faster than the previous best-known FHE-based solution.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
Fully homomorphic encryptionsimilarity searchgraph-based methodprotocol
Contact author(s)
duhyeong kim @ intel com
yujinnam @ ucsd edu
wen wang @ intel com
huijing gong @ intel com
ishwar s bhati @ intel com
rosario cammarota @ intel com
tajana @ ucsd edu
marianotepper @ gmail com
ted willke @ intel com
History
2024-12-13: approved
2024-12-13: received
See all versions
Short URL
https://ia.cr/2024/2012
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/2012,
      author = {Duhyeong Kim and Yujin Nam and Wen Wang and Huijing Gong and Ishwar Bhati and Rosario Cammarota and Tajana S. Rosing and Mariano Tepper and Theodore L. Willke},
      title = {{GraSS}: Graph-based Similarity Search on Encrypted Query},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/2012},
      year = {2024},
      url = {https://eprint.iacr.org/2024/2012}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.