Highly-Scalable Protected Graph Database Search with Oblivious Filter

Jamie Cui, Chaochao Chen, Li Wang

TL;DR

This paper introduces a highly scalable framework for secure graph database searches in a cloud environment. By leveraging Multi-Party Computation (MPC) and a novel cryptographic primitive called the Oblivious Filter (OF), the authors enable complex graph queries (pattern matching and navigation) while keeping the underlying data and query patterns hidden from semi-honest cloud servers.

What Problem Does This Paper Address?

As companies move graph databases to the cloud (Graph Database-as-a-Service or GDaaS), they face significant privacy risks from internal "honest-but-curious" administrators or external hackers. While secure relational database search is well-studied, graph data presents unique challenges:

  1. Structural Complexity: Graphs aren't just rows and columns; they involve complex relationships (edges) and paths.
  2. Communication Bottlenecks: Existing secure graph solutions often require the client to be involved in every step of a multi-step traversal, leading to massive communication overhead, especially for mobile users with limited bandwidth.
  3. Scalability: Many cryptographic approaches use Adjacency Matrices, which grow quadratically ($O(n^2)$) and fail for large-scale real-world graphs.

Methods

The authors propose a two-server system model where graph data is secret-shared between two non-colluding cloud servers ($S_0$ and $S_1$). Their approach includes:

  • Efficient Representation: They use Adjacency Lists (AL) instead of matrices to ensure $O(n+m)$ storage complexity, making the system viable for large graphs.
  • Oblivious Filter (OF): This is the paper's core contribution. OF is a two-party protocol that allows a server to filter a private vector based on a client's choice bits without either party learning which specific elements were selected.
  • Cryptographic Building Blocks: They implement OF using Additive Homomorphic Encryption (Paillier). This allows servers to perform additions on encrypted data, facilitating the "shuffling" and "filtering" of graph nodes and edges without decryption.
  • Multi-Instruction Framework: By using OF, the system can process a sequence of traversal instructions (e.g., "find neighbors of X, then find their neighbors with label Y") without sending intermediate results back to the client. The client only gets involved at the very beginning and the very end.

Datasets

The authors evaluated their system using synthetic graph data of varying sizes to test scalability:

  • Scale: Input data sizes ranged from 100 to 100,000 entries.
  • Focus: The evaluation focused on the running time of the OF-HE (Oblivious Filter via Homomorphic Encryption) protocol across different key sizes (1024-bit and 2048-bit).
  • Note: While specific real-world graph names (like Social Networks or Bio-graphs) aren't cited as the primary benchmark, the tests were designed to simulate the computational load of large-scale graph traversals.

Key Insights and Ideas

  • Removing the Client from the Loop: The "aha moment" is realizing that the client's limited bandwidth is the biggest bottleneck in secure MPC. By introducing the Oblivious Filter, the servers can "obliviously" pass the results of one query step into the next, keeping the communication purely between high-speed data centers.
  • Hybrid Query Support: The framework is designed to handle both Graph Pattern Matching (GPM)—finding specific sub-structures—and Graph Navigation (GN)—traversing paths—within the same secure architecture.
  • Linear Scalability: Unlike many cryptographic protocols that explode in complexity, the evaluation shows that the processing time for the Oblivious Filter grows linearly with the size of the data.

Key Results

  • Performance: For a dataset of 100,000 entries using 1024-bit keys, the total "online" time (the time the user actually waits) was approximately 67 seconds for the server and 127 seconds for the client.
  • Scalability: The experiments confirmed that the evaluation time is linear relative to the data size on both the server and client sides.
  • Security: The authors provided formal proofs showing the protocol is secure against non-adaptive, semi-honest adversaries in the MPC-hybrid model.

Limitations and Future Work

  • Computational Overhead of HE: While communication is optimized, Paillier encryption is still computationally expensive. The "offline" time (pre-computation) for 100,000 entries takes about 400 seconds, which might be a hurdle for real-time dynamic graphs.
  • Semi-Honest Model: The current work assumes servers are "semi-honest" (they follow the rules but try to learn info). It does not protect against "malicious" adversaries who might actively deviate from the protocol to corrupt data or results.
  • Static vs. Dynamic: The paper focuses on searching existing data. Future work could explore how to efficiently and securely update the graph (adding/deleting nodes) without re-sharing the entire database.

Summary updated

BibTeX
@article{cui2020highly,
  author = {Jamie Cui and Chaochao Chen and Li Wang},
  title = {{Highly-Scalable Protected Graph Database Search with Oblivious Filter}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2020},
  url = {https://openreview.net/forum?id=KKrM18T24w},
}
Figure