arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.04696cs.CRcs.AR
收藏

GPIR: 通过GPU实现实用的隐私信息检索

GPIR: Enabling Practical Private Information Retrieval with GPUs

Seoul National University(首尔大学);NVIDIA(英伟达);Cornell University(康奈尔大学)

Hyesung Ji, Hyunah Yu, Jongmin Kim, Wonseok Choi, G. Edward Suh, Jung Ho Ahn

AI总结:

GPIR通过重新设计内核、数据布局和执行调度,利用GPU加速隐私信息检索,解决多客户端批处理带来的内存瓶颈问题,提升吞吐量达305.7倍。

摘要:

隐私信息检索(PIR)允许对私有数据库进行查询,但受限于服务器端计算和内存流量。现代基于格的PIR协议通常包括三个阶段:ExpandQuery(将查询扩展为加密索引)、RowSel(加密行选择)和ColTor(递归'列锦标赛'最终选择)。ExpandQuery和ColTor主要执行数论变换(NTTs),而RowSel减少为大规模独立矩阵-矩阵乘法(GEMMs)。GPU理论上是这些任务的理想选择,前提是使用多客户端批处理以实现高吞吐量。然而,批处理从根本上改变了性能瓶颈;虽然它摊薄了数据库访问成本,但扩展了工作集超出L2缓存容量,导致内存行为差异和过多DRAM流量。我们提出GPIR,一种GPU加速的PIR系统,重新思考内核设计、数据布局和执行调度。我们引入一种阶段感知的混合执行模型,动态切换操作级内核和阶段级内核。操作级内核单独执行每个基本操作,而阶段级内核将协议阶段内的所有操作融合为单个内核以最大化芯片内数据重用。对于RowSel,我们识别出由NTT驱动的数据布局与 tiled GEMM 访问模式之间的结构性不匹配,这在多客户端批处理下更加严重。我们通过转置布局的GEMM设计和细粒度流水线解决这一问题。最后,我们将GPIR扩展到多GPU系统,通过最小的通信开销扩展查询吞吐量和数据库容量。GPIR的吞吐量比最先进的GPU实现PIRonGPU高305.7倍。

英文摘要:

Private information retrieval (PIR) allows private database queries but is hindered by intense server-side computation and memory traffic. Modern lattice-based PIR protocols typically involve three phases: ExpandQuery (expanding a query into encrypted indices), RowSel (encrypted row selection), and ColTor (recursive "column tournament" for final selection). ExpandQuery and ColTor primarily perform number-theoretic transforms (NTTs), whereas RowSel reduces to large-scale independent matrix-matrix multiplications (GEMMs). GPUs are theoretically ideal for these tasks, provided multi-client batching is used to achieve high throughput. However, batching fundamentally reshapes performance bottlenecks; while it amortizes database access costs, it expands working sets beyond the L2 cache capacity, causing divergent memory behaviors and excessive DRAM traffic. We present GPIR, a GPU-accelerated PIR system that rethinks kernel design, data layout, and execution scheduling. We introduce a stage-aware hybrid execution model that dynamically switches between operation-level kernels, which execute each primitive operation separately, and stage-level kernels, which fuse all operations within a protocol stage into a single kernel to maximize on-chip data reuse. For RowSel, we identify a performance gap caused by a structural mismatch between NTT-driven data layouts and tiled GEMM access patterns, which is exacerbated by multi-client batching. We resolve this through a transposed-layout GEMM design and fine-grained pipelining. Finally, we extend GPIR to multi-GPU systems, scaling both query throughput and database capacity with negligible communication overhead. GPIR achieves up to 305.7x higher throughput than PIRonGPU, the state-of-the-art GPU implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑