Abstract: Encrypted dynamic controllers that operate for an unlimited time have been a challenging subject of research. The fundamental difficulty is the accumulation of errors and scaling factors in the internal state during operation. Bootstrapping, a technique commonly employed in fully homomorphic cryptosystems, can be used to avoid overflows in the controller state but can potentially introduce significant numerical errors. In this paper, we analyze dynamic encrypted control with explicit consideration of bootstrapping. By recognizing the bootstrapping errors occurring in the controller's state as an uncertainty in the robust control framework, we can provide stability and performance guarantees for the whole encrypted control system. Further, the conservatism of the stability and performance test is reduced by using a lifted version of the control system.
Introduction
Encrypted control allows a plant (like a factory robot) to send its data to a cloud server, have the server calculate the control logic on encrypted data, and send back an encrypted command—all without the server ever "seeing" the raw data.
However, modern homomorphic encryption schemes (like CKKS) have a "noise budget." Every time you perform a multiplication, the noise and scaling factors in the ciphertext grow. In a dynamic controller, which performs recursive calculations forever, this eventually leads to an overflow, making the data unreadable. To fix this, cryptographers use bootstrapping—a process that "refreshes" the ciphertext. The catch? Bootstrapping is computationally expensive and introduces numerical approximation errors because it uses polynomials to estimate a non-polynomial modulo function. Until now, control engineers didn't have a rigorous way to guarantee that these small, repeated errors wouldn't eventually cause a physical system to fail.
System Architecture and Modeling
The authors bridge the gap between cryptography and control theory by treating the bootstrapping process as an integral part of the control loop. The core insight is realizing that the complex cryptographic process of bootstrapping can be abstracted into a simple uncertainty channel in a control block diagram.
The authors utilize three key techniques to provide formal guarantees:
- Sector-Bounded Uncertainty: They model the bootstrapping error not as random noise, but as a "static sector nonlinearity." Essentially, they define a mathematical "envelope" (a sector) that the error is guaranteed to stay within.
- Robust Control Framework: By treating the bootstrapping error as a system uncertainty, they can apply standard robust control tools (like Linear Matrix Inequalities or LMIs) to test for stability and $\ell_2$-gain performance.
- System Lifting: Bootstrapping doesn't happen at every single time step; it happens periodically. To avoid being overly "conservative" (pessimistic) in their analysis, the authors use a "lifted" system model that specifically accounts for this periodicity, leading to much tighter performance bounds.
Key Insights
- Relative Error is Key: While cryptographers often focus on minimizing absolute error, the authors argue that relative error is what matters for control stability. They propose using tailored bootstrapping polynomials that satisfy a relative error bound.
- Unified Theory: Their framework is powerful enough to analyze not just bootstrapping, but also older "reset" and "FIR filter" methods for encrypted control. By setting the error parameter $\gamma = 1$, these older methods become special cases of their new theory.
- The Precision-Complexity Trade-off: There is a direct link between the degree of the bootstrapping polynomial (how long it takes to compute) and the performance of the controller. Lower-degree polynomials are faster but "noisier," and this paper provides the tools to determine exactly how much noise a specific system can tolerate.
Results and Empirical Validation
The proposed theorems were evaluated using a numerical simulation of a discrete-time, linear time-invariant (LTI) system (a 2nd-order plant with an LQG-like controller) encrypted using the CKKS scheme with a degree-25 bootstrapping polynomial.
- Reduced Conservatism: In their numerical example, the basic stability test (Theorem 1) predicted a performance bound ($\ell_2$-gain) of 5.13. The "lifted" version (Theorem 2), which accounts for the periodic nature of bootstrapping, improved this bound to 3.97.
- Empirical Validation: A simulation over 10,000 time steps showed an empirical lower bound of 1.88, proving that the theoretical guarantees are safe (they over-estimate the error) but reasonably close to reality.
- Stability Proof: The paper successfully provides a mathematical test that, if passed, guarantees the encrypted system will never diverge, even when running for an infinite time horizon.
Limitations and Future Work
The current analysis is limited to linear time-invariant (LTI) systems. Real-world systems are often nonlinear, which would require more complex "Integral Quadratic Constraints" (IQC) analysis. Additionally, while the paper helps optimize the degree of the polynomial, bootstrapping remains computationally heavy. Future research will likely investigate how to extend the time between bootstrapping operations to further reduce the computational load without sacrificing stability guarantees.
Summary updated