paperbot · PL 论文追踪

全部论文 待读 收藏

P2 <scp>ReSBM:</scp> Region-based Scale and Minimal-Level Bootstrapping Management for FHE via Min-Cut

ReSBM:通过最小割实现 FHE 中基于区域的尺度与最小层级自举管理
ASPLOS Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 12025匹配度 2/10 · 这篇论文聚焦 RNS-CKKS 同态加密编译优化,属于安全隐私与编译器方向,虽然涉及程序数据流图和编译期优化,但既不涉及 LLM/Agent 与静态分析的交叉,也不属于浮点程序分析、贝叶斯程序分析或面向 Agentic 程序的静态分析。其固定点算术和 FHE 推理优化与研究画像的核心问题距离较远。引用 17 inbox
Yan Liu, Jianxin Lai, Long Li, Tianxiang Sui, Linjie Xiao, Peng Yuan, Xiaojing Zhang, Qing Zhu, Wenguang Chen, Jingling Xue
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 ReSBM 编译器,用区域划分与最小割联合优化 RNS-CKKS 同态加密推理中的尺度管理和自举放置。

RNS-CKKS 全同态加密支持定点运算与 SIMD,但同态乘法引发的尺度升级与容量溢出,以及编译期尺度管理与自举放置,给加密推理带来挑战。本文提出 ReSBM 编译器:将程序数据流图划分为乘法深度为一的区域,使尺度管理操作与自举只影响区域延迟,而不改变活跃输出密文的尺度与层级;随后用分层策略求解 NP 难的最优自举放置,包括区域内最小割优化、跨区域的自举引导重缩放区域识别与终端试探自举,以及全局最小层级自举放置。CPU 上多种复杂模型评估显示,ReSBM 编译更快,加密推理效率较领先方法平均提升 12.1%。

问题
RNS-CKKS 中同态乘法导致密文尺度升级和容量溢出,而尺度管理操作与自举放置需在编译期高效协同,以保证快速加密推理。
方法
ReSBM 将数据流图划分为乘法深度为一的区域,利用最小割等分层策略优化区域内 SMO 与自举,并在跨区域和全局层面进行最小层级自举放置。
评估
在 CPU 上用多种复杂模型进行验证,ReSBM 编译速度快于领先方法,且加密推理效率较另一领先方法平均提升 12.1%。
原文摘要(Abstract)

The RNS-CKKS scheme in Fully Homomorphic Encryption (FHE) supports crucial features for privacy-preserving machine learning, such as fixed-point arithmetic and SIMD-style vectorization. Yet, managing the escalation of ciphertext scales from homomorphic multiplications, which risks capacity overflow, along with bootstrapping, presents significant challenges. These complexities are exacerbated by the need to efficiently handle scale and bootstrapping at compile time while ensuring rapid encrypted inference. In this paper, we present ReSBM, a novel compiler technique that simultaneously optimizes scale and bootstrapping for encrypted inference under RNS-CKKS. By partitioning a program's data flow graph (DFG) into regions with a uniform multiplicative depth of one, RESBM ensures that placements of Scale Management Operations (SMOs) and bootstraps affect only the latency of a region, not the scales and levels of its live-out ciphertexts. Our region-based approach tackles the NP-hard challenge of optimal bootstrapping placement with hierarchical strategies: (1) optimal intra-region SMO and bootstrapping placement using min-cut, (2) bootstrapping-guided rescaling region identification across a sequence of regions, culminating in tentative bootstrapping at two terminal regions, and (3) minimal-level bootstrap placement across the DFG, elevating ciphertexts only to the necessary minimal level. Validation across a variety of complex models on CPUs shows that ReSBM not only compiles these models more rapidly than a leading method but also boosts encrypted inference efficiency by an average of 12.1% when compared to another leading method. Consequently, ReSBM substantially improves the practical deployment of large models for encrypted inference, surpassing existing methods in terms of both compilation speed and inference performance.

链接与引用

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

BibTeX
@inproceedings{LiuLLSXYZZCX25,
  title = {<scp>ReSBM:</scp>
                    Region-based Scale and Minimal-Level Bootstrapping Management for FHE via Min-Cut},
  author = {Yan Liu and Jianxin Lai and Long Li and Tianxiang Sui and Linjie Xiao and Peng Yuan and Xiaojing Zhang and Qing Zhu and Wenguang Chen and Jingling Xue},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3669940.3707276}
}