paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Affinity-based Optimizations for TFHE on Processing-in-DRAM

DRAM 内处理中基于亲和性的 TFHE 优化
ASPLOS Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22025匹配度 1/10 · 该论文研究的是 TFHE 在 Processing-in-DRAM 上的体系结构与硬件加速优化,属于密码学与体系结构交叉方向,与用户关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析没有直接关系。引用 5 inbox
Kevin Nam, Heonhui Jung, Hyunyoung Oh, Yunheung Paek
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:通过分析 TFHE 子任务亲和性并离线调度,减少 PIM 中的远程数据访问,实现显著加速。

全同态加密 TFHE 计算密集,内存内处理(PIM)虽具高内部带宽,但已有 TFHE 加速器主要挖掘并行性而忽视数据亲和性,导致过多远程数据访问(RDA),在 PIM 上性能下降。本文提出面向 PIM 的基于亲和性的优化方法:对 TFHE 进行算法级优化以利用 PIM 内部带宽,分析其子任务的亲和性模式,并设计离线调度器,在保持足够并行度的同时最小化 RDA。为验证实用性,作者在现有 PIM-HBM 设备上做最小硬件修改,构建 FPGA 原型 PIM 系统并评估。实验表明,在真实基准上相比已有 TFHE 加速器取得 4.24–209× 加速。

问题
如何在真实 PIM 系统上高效加速 TFHE,避免因忽视数据亲和性造成过多远程数据访问而损失 PIM 的高带宽优势。
方法
分析 TFHE 子任务的亲和性模式,结合算法级优化,设计离线调度器以在最小化 RDA 的同时维持足够并行度,并在 PIM-HBM 上做最小硬件改动。
评估
在 FPGA 实现的 PIM 系统上使用真实基准测试,与已有 TFHE 加速器对比,获得 4.24–209× 加速。
原文摘要(Abstract)

Processing-in-memory (PIM) architectures are promising for accelerating intensive workloads due to their high internal bandwidth. This paper introduces a technique for accelerating Fully Homomorphic Encryption over the Torus (TFHE), a promising yet intensive application, on a realistic PIM system. Existing TFHE accelerators focus on exploiting parallelism, often overlooking data affinity, which leads to performance degradation in PIM due to excessive remote data accesses (RDAs). To address this, we present an affinity-based approach that optimizes the computation of TFHE on PIM. We apply algorithmic optimizations to TFHE, enabling PIM to effectively leverage its high internal bandwidth. We analyze the affinity patterns in the sub-tasks of TFHE and develop an offline scheduler that exploits our analysis to find optimal scheduling, minimizing RDAs while maintaining sufficient parallelism. To demonstrate the practicality of our work, we design a variant of an existing PIM-HBM device with minimal hardware modifications, and perform evaluations over a real FPGA-based PIM system. Our experiments demonstrate that our affinity-based optimizations outperform prior TFHE accelerators by 4.24-209× for real-world benchmarks.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{NamJOP25,
  title = {Affinity-based Optimizations for TFHE on Processing-in-DRAM},
  author = {Kevin Nam and Heonhui Jung and Hyunyoung Oh and Yunheung Paek},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3676641.3716246}
}