Paper 2024/2012 Original: eprint.iacr.org/2024/2012 ↗

GraSS: Graph-based Similarity Search on Encrypted Query

Duhyeong Kim
Yujin Nam
Wen Wang
Huijing Gong
Ishwar Bhati
Rosario Cammarota
Tajana S. Rosing
Mariano Tepper
Theodore L. Willke
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.
History
2024-12-13: last updated
2024-12-13: published
Short URL
https://ia.cr/2024/2012
License
https://creativecommons.org/licenses/by/4.0/

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, this archive does not use cookies or embedded third party content.