Lune

EUROCRYPT2024Top-tier venue

Accelerating BGV Bootstrapping for Large p Using Null Polynomials over Zpe\mathbb {Z}_{p^e}

Shihe Ma, Tairong Huang, Anyu Wang, Xiaoyun Wang

2024Year
16Citations
1Top-tier citations

Abstract

The BGV scheme is one of the most popular FHE schemes for computing homomorphic integer arithmetic. The bootstrapping technique of BGV is necessary to evaluate arbitrarily deep circuits homomorphically. However, the BGV bootstrapping performs poorly for large plaintext prime pp due to its digit removal procedure exhibiting a computational complexity of at least O(p)O(\sqrt{p}). In this paper, we propose optimizations for the digit removal procedure with large pp by leveraging the properties of null polynomials over the ring Zpe\mathbb{Z}_{p^e}. Specifically, we demonstrate that it is possible to construct low-degree null polynomials based on two observations of the input to the digit removal procedure: 1) the support size of the input can be upper-bounded by (2B+1)2(2B+1)^2; 2) the size of the lower digits to be removed can be upper-bounded by BB. Here BB can be controlled within a narrow interval [22,23][22,23] in our parameter selection, making the degree of these null polynomials much smaller than pp for large values of pp. These low-degree null polynomials can significantly reduce the polynomial degrees during homomorphic digit removal, thereby decreasing both running time and capacity consumption. Theoretically, our optimizations reduce the computational cost of extracting a single digit from O(pe)O(\sqrt{pe}) (by Chen and Han) or O(pe4)O(\sqrt{p}\sqrt[4]{e}) (by Geelen et al.) to min⁡(2B+1,⌈e/t⌉(2B+1))\min(2B+1,\sqrt{\lceil e/t\rceil(2B+1)}) for some t≥1t\ge 1. We implement and benchmark our method on HElib with p=17,127,257,8191p=17,127,257,8191 and 6553765537. With our optimized digit removal, we achieve a bootstrapping throughput 1.38∼1511.38\sim151 times that in HElib, with the speedup increasing with the value of pp. For p=65537p=65537, we accelerate the digit removal step by 80 times and reduce the bootstrapping time from more than 12 hours to less than 14 minutes.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get 8de1f40f-1739-4d2c-84a1-ca4f977661d1

Cited by top-tier papers1

Ask how each one uses it

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines