In a typical cloud-based control system, a sensor sends data to a remote server, which computes a control signal and sends it back to an actuator. To protect privacy, we can use Homomorphic Encryption (HE), which allows the server to perform math on encrypted data without ever seeing the underlying values.
However, a fundamental mathematical wall exists for dynamic systems: bit growth. While a standard controller can run indefinitely, an encrypted controller often "explodes" and fails within seconds. Researchers like Carlos Murguia, Farhad Farokhi, and Iman Shames have identified that this failure isn't due to a lack of security, but a lack of rounding.
The Bit Growth Wall
In the physical world, we use floating-point numbers. When we multiply $0.51 \times 0.51$, we get $0.2601$, which we might round back to $0.26$ to keep the number of digits manageable.
In the world of homomorphic encryption—specifically schemes like Paillier used in Secure and Private Implementation of Dynamic Controllers Using Semihomomorphic Encryption—we must work with integers. To represent $0.51$, we might scale it by $100$ to get the integer $51$. When we multiply two such encrypted integers ($51 \times 51 = 2601$), the result requires more bits to store.
The problem is that you cannot round an encrypted number. To round $2601$ back to $26$, you would need to know the value, which defeats the purpose of encryption. In a recursive system like a dynamic controller or a state estimator, where the current state is multiplied by a gain matrix to calculate the next state ($x_{k+1} = Ax_k + Bu_k$), these multiplications happen at every time step. The bit-length of the ciphertext grows cumulatively until it exceeds the "modulus" or the hardware register size of the encryption scheme. At that point, the system suffers a numerical overflow, and the control signal becomes garbage.
Strategy 1: The Periodic State Reset
The most direct way to stop bit growth is to "clear the cache." In Secure and Private Implementation of Dynamic Controllers Using Semi-Homomorphic Encryption, Carlos Murguia and colleagues propose periodically resetting the controller's internal state to a known value (like zero).
This "reset" wipes away the accumulated bit growth, allowing the system to start fresh. However, it introduces a new problem: information loss. A dynamic controller relies on its memory of past states to maintain stability. Resetting that memory causes a transient "jolt" to the system. To solve this, the authors use Linear Matrix Inequalities (LMIs) to design controllers that are mathematically guaranteed to remain stable even with these periodic interruptions.
Strategy 2: Non-Recursive Architectures
If the problem is the recursive nature of the math, why not change the architecture? Farhad Farokhi and Junsoo Kim explore this in Toward nonlinear dynamic control over encrypted data for infinite time horizon.
Instead of an Infinite Impulse Response (IIR) filter—which updates an internal state indefinitely—they suggest using a Finite Impulse Response (FIR) approach. By calculating the control signal based only on a fixed window of past inputs and outputs, the "depth" of the calculation is capped. Because the calculation never goes "deeper" than the window size, the bit growth is naturally bounded, allowing the system to run for an infinite time horizon without ever needing a reset or a "bootstrapping" operation.
Strategy 3: Client-Aided Rescaling
In safety-critical applications like state estimation, where losing historical data might be dangerous, a third path exists: periodic rescaling.
In Privacy-preserving set-based estimation using partially homomorphic encryption, Amr Alanwar and Matthias Althoff describe a protocol where the cloud performs the heavy lifting of set-based estimation (calculating "safety bubbles" around a system's state). When the bit-length of the encrypted zonotopes (the sets used for estimation) approaches the overflow limit, the cloud sends the data back to the user. The user decrypts it, scales it down (effectively performing the rounding that the cloud couldn't), re-encrypts it, and sends it back.
This creates a tradeoff: the more frequently you rescale, the more communication bandwidth you use, but the smaller your hardware requirements remain.
Summary of Tradeoffs
As summarized by Frank Allgöwer and Sebastian Schlor in Comparison and performance analysis of dynamic encrypted control approaches, the choice of method depends on the system's needs:
- Resets are computationally cheap but cause performance jitters.
- FIR approximations provide smooth control but may require large windows to approximate complex dynamics.
- Rescaling maintains the highest accuracy but requires the data owner to stay "online" to assist the cloud.
By addressing bit growth, these researchers have moved encrypted control from a theoretical curiosity that crashes in seconds to a viable technology for secure, long-term autonomous operation.