Privacy-Preserved Neural Graph Databases

Qi Hu, Haoran Li, Jiaxin Bai, Zihao Wang, Yangqiu Song
12/25/2023
5 citations
cs.DBcs.CRcs.LG
rag

Official code: HKUST-KnowComp/PrivateNGDB (2 stars, Python, MIT, last commit 2024-06-14).

Abstract

In the era of large language models (LLMs), efficient and accurate data retrieval has become increasingly crucial for the use of domain-specific or private data in the retrieval augmented generation (RAG). Neural graph databases (NGDBs) have emerged as a powerful paradigm that combines the strengths of graph databases (GDBs) and neural networks to enable efficient storage, retrieval, and analysis of graph-structured data which can be adaptively trained with LLMs.

Show full abstract

The usage of neural embedding storage and Complex neural logical Query Answering (CQA) provides NGDBs with generalization ability. When the graph is incomplete, by extracting latent patterns and representations, neural graph databases can fill gaps in the graph structure, revealing hidden relationships and enabling accurate query answering. Nevertheless, this capability comes with inherent trade-offs, as it introduces additional privacy risks to the domain-specific or private databases. Malicious attackers can infer more sensitive information in the database using well-designed queries such as from the answer sets of where Turing Award winners born before 1950 and after 1940 lived, the living places of Turing Award winner Hinton are probably exposed, although the living places may have been deleted in the training stage due to the privacy concerns. In this work, we propose a privacy-preserved neural graph database (P-NGDB) framework to alleviate the risks of privacy leakage in NGDBs. We introduce adversarial training techniques in the training stage to enforce the NGDBs to generate indistinguishable answers when queried with private information, enhancing the difficulty of inferring sensitive information through combinations of multiple innocuous queries.

View on arXivView PDF

Code Implementations(1)

MIT
20Python, ShellJun 13, 20242 years agoMIT

Similar Papers

Cite this paper

@article{hu2023privacypreserved,
  title  = {Privacy-Preserved Neural Graph Databases},
  author = {Qi Hu and Haoran Li and Jiaxin Bai and Zihao Wang and Yangqiu Song},
  year   = {2023},
  eprint = {2312.15591},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.15591v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.15591.svg)](https://codeofpaper.com/paper/2312.15591)

Discussion