Lune

ASPLOS2025Top-tier venue

ReSBM: Region-based Scale and Minimal-Level Bootstrapping Management for FHE via Min-Cut

Yan Liu, Jianxin Lai, Long Li, Tianxiang Sui, Linjie Xiao, Peng Yuan, Xiaojing Zhang, Qing Zhu, Wenguang Chen, Jingling Xue

Abstract

The RNS-CKKS scheme in Fully Homomorphic Encryption (FHE) supports crucial features for privacy-preserving machine learning, such as fixed-point arithmetic and SIMDstyle 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) bootstrappingguided 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

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption cites DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption cites Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
  • A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption cites EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption cites Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
  • DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption cites EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions cites Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
  • He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption cites Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
  • He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption cites Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
  • He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic Encryption cites EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • Orbit: Optimizing Rescale and Bootstrap Placement with Integer Linear Programming Techniques for Secure Inference cites A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
  • Orbit: Optimizing Rescale and Bootstrap Placement with Integer Linear Programming Techniques for Secure Inference cites DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption
  • Orbit: Optimizing Rescale and Bootstrap Placement with Integer Linear Programming Techniques for Secure Inference cites Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel Convolutions
  • Sok: Private Transformer-based Model Inference cites A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
  • Sok: Private Transformer-based Model Inference cites DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic Encryption
  • Sok: Private Transformer-based Model Inference cites EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computation
  • Libra: Pattern-Scheduling Co-Optimization for Cross-Scheme FHE Code Generation over GPGPU cites Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
  • Libra: Pattern-Scheduling Co-Optimization for Cross-Scheme FHE Code Generation over GPGPU cites A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic Encryption
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. He2: A Communication-Light Heterogeneous Architecture for Efficient Fully Homomorphic EncryptionShangyi Shi, Husheng Han, Zhaoxuan Kan, Yinghao Yang et al.ISCA 2026
  2. Orbit: Optimizing Rescale and Bootstrap Placement with Integer Linear Programming Techniques for Secure InferenceZikai Zhou, William Seo, Edward Chen, Alex Ozdemir et al.USENIX Security 2026
  3. Sok: Private Transformer-based Model InferenceYuntian Chen, Tianpei Lu, Zhanyong Tang, Bingsheng Zhang et al.USENIX Security 2026
  4. Libra: Pattern-Scheduling Co-Optimization for Cross-Scheme FHE Code Generation over GPGPUSong Bian, Yintai Sun, Zian Zhao, Haowen Pan et al.USENIX Security 2026

Builds on7

  1. Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse KeysJean-Philippe Bossuat, Christian Mouchet, Juan Ramón Troncoso-Pastoriza, Jean-Pierre HubauxEUROCRYPT 2021 · 179 citations
  2. Low-Complexity Deep Convolutional Neural Networks on Fully Homomorphic Encryption Using Multiplexed Parallel ConvolutionsEunsang Lee, Joon-Woo Lee, Junghyun Lee, Young-Sik Kim et al.ICML 2022 · 171 citations
  3. EVA: an encrypted vector arithmetic language and compiler for efficient homomorphic computationRoshan Dathathri, Blagovesta Kostova, Olli Saarikivi, Wei Dai et al.PLDI 2020 · 117 citations
  4. DaCapo: Automatic Bootstrapping Management for Efficient Fully Homomorphic EncryptionSeonyoung Cheon, Yongwoo Lee, Dongkwan Kim, Ju Min Lee et al.USENIX Security 2024 · 25 citations
  5. A Tensor Compiler with Automatic Data Packing for Simple and Efficient Fully Homomorphic EncryptionAleksandar Krastev, Nikola Samardzic, Simon Langowski, Srinivas Devadas et al.PLDI 2024 · 23 citations

Related papers

  1. Performance-aware Scale Analysis with Reserve for Homomorphic EncryptionYongwoo Lee, Seonyoung Cheon, Dongkwan Kim, Dongyoon Lee et al.ASPLOS 2024 · 12 citations
  2. ELASM: Error-Latency-Aware Scale Management for Fully Homomorphic EncryptionYongwoo Lee, Seonyoung Cheon, Dongkwan Kim, Dongyoon Lee et al.USENIX Security 2023
  3. High-Precision Bootstrapping of RNS-CKKS Homomorphic Encryption Using Optimal Minimax Polynomial Approximation and Inverse Sine FunctionJoon-Woo Lee, Eunsang Lee, Yongwoo Lee, Young-Sik Kim et al.EUROCRYPT 2021 · 110 citations
  4. HALO: Loop-aware Bootstrapping Management for Fully Homomorphic EncryptionSeonyoung Cheon, Yongwoo Lee, Hoyun Youm, Dongkwan Kim et al.ASPLOS 2025 · 3 citations
  5. MAD: Memory-Aware Design Techniques for Accelerating Fully Homomorphic EncryptionRashmi Agrawal, Leo de Castro, Chiraag Juvekar, Anantha P. Chandrakasan et al.MICRO 2023 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines