CRLGMay 21

Encrypted Neural Networks without Overflows

arXiv:2605.230965.3
Predicted impact top 61% in CR · last 90 daysOriginality Incremental advance
AI Analysis

For users and developers of privacy-preserving machine learning using FHE, this work addresses a critical security and reliability issue that could otherwise compromise inference results.

The paper identifies overflow attacks in CKKS-based encrypted neural networks, where inputs cause polynomial approximations to exceed tolerances, leading to corrupt outputs. The proposed formal verification technique eliminates all observed overflows, reducing failure rates from up to 47% to 0% across benchmarks.

Fully homomorphic encryption (FHE) enables private inference by evaluating neural networks on encrypted data. In this way, we can delegate the computation to a third party server without ever revealing the user's data. Currently, the CKKS scheme is the backbone of most efficient FHE implementations, but it only supports addition, multiplication, and array rotation operations, thus requiring all activation functions of the neural network to be approximated by polynomials within a certain interval, imposing strict design tolerances. In this paper, we demonstrate for the first time that this scheme is vulnerable to overflow attacks, i.e., seemingly benign inputs that can exceed such tolerances of the FHE circuit, thereby causing corrupt and unusable outputs. To avoid them, we propose a formal verification technique that computes certified bounds on the ranges of all neurons in the network. By construction, our method eliminates overflows and, in our experiments, removed observed overflows on all benchmarks, reducing failure rates from up to 47% to 0%. Moreover, our overflow-free solution is compatible with most CKKS-based frameworks, as it allows to simply substitute standard polynomials by polynomials with rigorously designed ranges.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes