← Latest papers
⚡ electrical engineering

A Learning With Errors based encryption scheme for dynamic controllers that discloses residue signal for anomaly detection

This paper proposes a Learning With Errors (LWE) based homomorphic encryption scheme for dynamic controllers that preserves data confidentiality while automatically disclosing the residue signal to enable anomaly detection without requiring the secret key or re-encryption.

Original authors: Yeongjun Jang, Joowon Lee, Junsoo Kim, Takashi Tanaka, Hyungbo Shim

Published 2026-05-22
📖 5 min read🧠 Deep dive

Original authors: Yeongjun Jang, Joowon Lee, Junsoo Kim, Takashi Tanaka, Hyungbo Shim

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The "Locked Box" Problem

Imagine you have a highly sensitive control system, like a robot arm or a power grid, that needs to be managed over the internet. You want to keep all the data (like the robot's position or the grid's voltage) secret so hackers can't steal it or mess with it.

To do this, you put all the data inside a digital locked box (encryption). The computer doing the math (the controller) works entirely inside these locked boxes. It never opens them. This is great for privacy, but it creates a new problem: How do you know if the robot is being attacked?

Usually, to detect an attack, you look at a "residue signal"—a specific number that tells you if things are behaving normally. If the robot is being hacked, this number spikes. But if everything is inside a locked box, you can't see this number unless you have the master key. If you give the master key to the security guard (the anomaly detector) so they can check the numbers, you've just broken the privacy rule.

The Solution: A "Magic Window"

The authors of this paper propose a clever trick. They designed a new way to lock the boxes so that one specific window on the box remains clear, while the rest stays locked.

Through this window, the security guard can see the "residue signal" (the alarm bell) clearly. But they still cannot see the robot's position, the speed, or the secret commands. The guard can shout "ALARM!" if the signal spikes, without ever needing the master key to open the whole box.

How They Did It: The "Ghost" Trick

The paper uses a complex math technique called Learning With Errors (LWE). Think of this like sending a message in a noisy room. To hide your message, you add a lot of static noise (errors) to it. The receiver needs a special decoder to filter out the noise and hear the message.

In this new scheme, the authors realized they could manipulate the "noise" (which they call the masking term) so that it cancels itself out perfectly for the residue signal.

  • The Analogy: Imagine you are trying to hide a secret note in a pile of confetti. Usually, the note is buried deep. But the authors figured out how to arrange the confetti so that for one specific note (the residue), the confetti piles up in a way that leaves the note sitting right on top, perfectly visible. For all the other notes, the confetti remains thick and impenetrable.

They achieved this by studying the "zero-dynamics" of the system. Think of this as understanding the "ghost moves" of the system—movements that happen internally but don't show up on the outside. By carefully setting up the initial conditions (the starting position of the confetti), they ensured the "ghost" movements cancel out the noise for the residue signal, making it visible by default.

The Second Innovation: No More "Re-locking"

There was another problem with previous methods. If the controller needed to use its own output as a new input (a feedback loop), it usually had to:

  1. Open the box (decrypt).
  2. Do some math.
  3. Lock the box again (re-encrypt).
  4. Send it back.

This is slow and requires extra communication lines.

The authors' new method uses the visible residue signal (the one we just made clear) as that feedback input. Since the residue is already visible, the controller can grab it, use it for its next calculation, and keep everything else locked up.

  • The Analogy: Instead of opening the safe, taking a tool out, locking it again, and handing it back, the security guard just reaches through the clear window, grabs the tool, and hands it back immediately. No extra trips, no extra time.

Does It Stay Safe?

The paper proves that making this one window clear doesn't give hackers any new information.

  • The Analogy: Imagine a bank vault. The authors show that if you leave the "alarm light" visible, a thief learns nothing about the money inside that they didn't already know just by watching the alarm light. The rest of the vault remains just as secure as before.

The Real-World Test

The team tested this on a two-mass-spring system (basically two weights connected by a spring).

  1. They set up the system with their new "magic window" encryption.
  2. They simulated a hacker injecting a fake signal to mess up the system.
  3. Result: The system detected the attack almost instantly using the visible residue signal, just as well as a system that wasn't encrypted at all. The encrypted system performed just as well as the unencrypted one, proving you don't have to sacrifice performance for security.

Summary

This paper presents a way to encrypt control systems so that:

  1. Privacy is kept: All data stays locked.
  2. Safety is kept: A specific "alarm signal" is automatically visible to security guards without them needing the master key.
  3. Efficiency is kept: The system runs faster because it doesn't need to constantly unlock and re-lock data to keep the feedback loop going.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →