The University of Texas at Austin
From lattices to tensor cores : accelerating communication-efficient private information retrieval
Abstract
dc:description.abstractPrivate information retrieval (PIR) lets a client fetch a record from a server-held database without revealing which record was accessed. Modern lattice-based PIR reduces each query to a database matrix–vector product under linearly homomorphic encryption with preprocessing, producing a large query-independent hint that the client uses for decryption. At deployment-scale workloads, cross-client batching turns the database scan into a general matrix multiplication (GEMM)—a natural target for GPU acceleration. Recent schemes compress the hint into the response via additional homomorphic computation at a throughput cost. The only prior GPU-accelerated lattice-PIR targeted memory bandwidth; however, a roofline analysis shows that batched PIR is compute-bound, scaling linearly to maximum throughput at the ridge point with only sub-linear growth in latency. Tensor cores, the specialized matrix-multiply units that deliver peak throughput in modern GPUs, were not used due to a mismatch between their precision and PIR moduli. That work was also unable to map the compression arithmetic to high-throughput GPU kernels, offloading it to a separate CPU cluster. Our goal is to accelerate communication-efficient PIR end-to-end—high online throughput, low online latency, fast offline preprocessing. We present SandwichPIR: a cryptographic construction that enables hardware-aware algorithmic design for accelerated, communication-efficient lattice-PIR. SandwichPIR leverages a sequence of modulus-switching operations—a sandwich between a polynomial ring and the integer ring—so that each stage of PIR processing uses the required form of modular arithmetic for minimizing client latency and maximizing server throughput. Three algorithmic moves realize this: (i) client encryption, decryption, and GPU offline preprocessing run in the polynomial ring rather than the integer ring, an asymptotic speedup; (ii) the database scan in the integer ring becomes a byte-decomposed INT8 tensor-core GEMM; and (iii) response compression in the polynomial ring is redesigned as a second byte-decomposed INT8 tensor-core GEMM, eliminating the CPU cluster required by prior work. The result is the first single-GPU PIR pipeline to achieve high throughput, low latency, and small communication. On an NVIDIA L4 GPU ($0.80/hr on AWS), SandwichPIR's online throughput is 4× higher than prior GPU lattice-PIR implementations at 15× better performance per dollar, and 10× higher than a CPU-cluster baseline at 30× better performance per dollar; our numbers include response compression on the GPU. Prior work excludes compression from its throughput, offloading it to a CPU cluster that accounts for over 99% of compute time and 95% of per-query cost when measured; without compression, clients fall back to downloading the full hint. On the offline path, our GPU hint kernel delivers a 20× throughput improvement and 76× better performance per dollar over prior work's GPU matmul baseline; column-sharded across multiple GPUs, we observe near-linear speedup for both the online and offline paths. We deploy SandwichPIR on the full English Wikipedia (6.4 M articles, 8 GiB) with a browser WebAssembly client; a single L4 serves >900 queries per second at under half a second end-to-end latency with a 320 KiB query, 160 KiB response, and a 288 KiB reusable hint replacing the 1 GiB hint download.
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Computer Science
- Level thesis:degree_level
- MASTERS
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Sabhnani, Sidaarth
- Advisor dc:contributor.advisor
-
- Wu, David J.
- Committee member dc:contributor.committeemember
-
- Rossbach, Christopher
Subjects
dc:subject × 5Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/137525