Abstract
Recent studies on encrypted control using homomorphic encryption allow secure operation by directly performing computations on encrypted data without decryption. Implementing dynamic controllers on encrypted data presents unique challenges due to limitations on the number of operations on an encrypted message. Hence, it may not be possible to perform the recursive operations for an infinite time horizon. In this note, we demonstrate that it is possible to run a dynamic controller over encrypted data for an infinite time horizon if the output of the controller can be represented as a function of a fixed number of previous inputs and outputs. The presented implementation requires encryption at both input and output of the plant. We identify a class of nonlinear systems that can accommodate the proposed implementation. The closed-loop performance can be guaranteed using the proposed encrypted controller by ensuring that quantization error is made arbitrarily small with appropriate choice of parameters. We show that the proposed method is amenable to linear systems (as a subset of the said nonlinear systems) with performance guarantees.
Introduction
In modern networked control systems—ranging from smart grids to automated industrial facilities—the security of data transmission between sensors, controllers, and actuators is a critical concern. Homomorphic Encryption (HE) has emerged as a promising solution, allowing controllers to process encrypted sensor data and generate control signals without ever needing to decrypt the information. This ensures that even if the communication channel or the controller itself is compromised, the underlying system states remain private.
However, HE schemes are inherently limited by "noise." Every algebraic operation performed on a ciphertext increases its noise level; once this noise exceeds a certain threshold, the ciphertext becomes undecryptable. In traditional dynamic control, where the system state is updated recursively, this noise accumulates indefinitely. This paper proposes a structural reformulation of the controller to bypass this limitation, enabling secure, infinite-time operation without the computational overhead of "bootstrapping."
The Noise Accumulation Problem
Standard dynamic controllers are typically represented in a recursive state-space form:
$$x(t+1) = f(x(t), y(t))$$ $$u(t) = h(x(t))$$
In an encrypted environment, the state $x(t)$ is stored as a ciphertext. To calculate $x(t+1)$, the controller operates on the already-noisy $x(t)$. As time $t \to \infty$, the recursive nature of the update ensures that the noise grows boundlessly. While bootstrapping can reset this noise, the process is too computationally intensive for the millisecond-level requirements of real-time control. Consequently, most HE-based control has been restricted to static gains or finite-time horizons.
Proposed Methodology: Input-Output Representation
The authors propose moving away from recursive state-space models toward an input-output representation that utilizes a fixed window of past data. By looking back at the past $m$ steps, the control signal $u(t)$ can be expressed as:
$$u(t) = g(u(t-1), \dots, u(t-m), y(t-1), \dots, y(t-m))$$
The Mechanism of "Freshness"
In this architecture, the controller receives fresh encrypted messages from the plant's sensors ($y$) and the actuator's feedback ($u$) at every time step. Because the controller no longer maintains an internal, evolving encrypted state, the noise does not accumulate across time steps. Instead, the noise in any given calculation is only a function of the operations performed within that specific window.
This approach requires a "smart" actuator capable of decrypting the control signal and then re-encrypting it before sending it back to the controller as feedback. This re-encryption effectively "refreshes" the ciphertext, breaking the chain of noise propagation.
Applicability to Nonlinear and Linear Systems
A significant contribution of this work is identifying the class of systems that can be controlled using this method. The authors focus on systems that can be transformed into an observable canonical form. They prove that any nonlinear system capable of this transformation can be represented in the required non-recursive input-output form.
Furthermore, the paper demonstrates that all linear systems are a subset of this class. This makes the proposed method a universal solution for linear encrypted control, providing a robust framework for the most common control applications in industry.
Quantization and Stability Guarantees
Since HE schemes generally operate on integers, the controller must use quantization (scaling and rounding) to handle real-valued signals. The authors provide a formal proof (Proposition 1) showing that the performance of the encrypted controller is identical to a standard quantized controller over an infinite horizon, provided the encryption is homomorphic for the function $g$.
Crucially, the paper provides a mathematical guarantee (Corollary 5) regarding precision. By carefully selecting scaling parameters ($r$ and $L$), the error introduced by quantization can be made arbitrarily small ($\epsilon$), ensuring that the encrypted system's trajectory remains within a desired bound of the ideal unencrypted system indefinitely.
Conclusion and Future Directions
By reformulating the dynamic control problem to avoid recursive state updates, this research enables the practical application of HE to infinite-time control horizons. The method is particularly well-suited for real-time hardware because it avoids the delays associated with bootstrapping.
Future work remains in expanding the class of nonlinear systems that can be easily converted to the necessary canonical forms. Additionally, since HE is most efficient with polynomial operations, approximating non-polynomial control functions (e.g., those involving trigonometric or logarithmic terms) remains a challenge for maintaining both security and high-fidelity control performance.
Summary updated