Introduction
In the era of big data, privacy concerns extend beyond data breaches to the privacy of the queries themselves. When a user queries a medical database for the "average hospital stay for patients with Condition X," the database host can infer sensitive information about the user's interests or health status. Private Information Retrieval (PIR) protocols aim to solve this by allowing users to retrieve data without the server learning which item was accessed.
However, traditional PIR has significant limitations. Most protocols require the user to know the exact physical row index of the desired item, making them unsuitable for SQL-like queries (e.g., SUM(likes) WHERE user_id = 'Joe'). Furthermore, existing "expressive" PIR schemes often suffer from high communication overhead or lack support for the mathematical aggregations essential for data science. This paper introduces a high-performance framework that bridges this gap, enabling complex statistical queries in a single round of interaction.
Methodology
The proposed framework builds upon Information-Theoretic PIR (IT-PIR), which utilizes multiple non-colluding servers to ensure query privacy. The core innovation lies in transforming contextual queries into linear operations that can be performed efficiently across these servers.
Key components of the architecture include:
- Standard Aggregate Vectors: Unlike standard PIR, which uses a "one-hot" vector to select a single row, this framework employs vectors that select sets of records for component-wise aggregation.
- Indexes of Aggregate Queries (IAQ): These sparse, matrix-like auxiliary structures translate high-level conditions (like keywords) into record selections without revealing the condition to the server.
- Polynomial Batch Coding: To hide which specific index a user is querying, multiple indexes are batched using polynomial techniques based on Shamir’s Secret Sharing. This ensures a uniform interaction pattern regardless of the user's intent.
- GPU Acceleration: The framework leverages the parallel nature of matrix-vector multiplication, implementing core operations on GPUs to process millions of records in milliseconds.
Evaluation and Results
The framework was evaluated using diverse datasets, including the MIMIC-3 clinical database (~4 million records), a Twitter/X dataset (~1 million tweets), and Yelp reviews.
The results demonstrate significant performance gains:
- Latency: On a database of 1 million tweets, the protocol generates results in just 14 milliseconds.
- Throughput: The GPU-accelerated implementation can serve up to 4,000 PIR clients per second on a 16-million-row database.
- Efficiency: Compared to the baseline Goldberg IT-PIR, the system achieved a 141x improvement in server response time for filtered queries.
- Storage: The overhead for IAQ structures is minimal (e.g., ~34 MB for large clinical queries), making it feasible for real-world deployment.
Discussion and Future Work
A key insight of this work is that linearity is "free": because both PIR and basic aggregations (SUM, COUNT) are linear, they can be combined mathematically without significant overhead. By moving from positional to contextual queries via IAQ matrices, the protocol achieves high expressiveness with low latency.
Despite these advances, some limitations remain. The security model relies on the non-collusion of servers. Additionally, while database updates are manageable for daily refreshes, high-frequency streaming data presents a challenge for maintaining IAQ matrices. Future research will focus on extending the framework to support complex SQL operations like private JOINs.
Summary updated