arXiv:2611.07403cs.RONov 2026

Manuscript Offprint

arXiv:2611.07403

Dynamic Watermarking and Action-Conditioned Latent Dynamics for Secure Vision-Based Controllers

Aditya Parameshwaran, Navid Aftabi, Abhishek Hanchate, Satish T. S. Bukkapatnam, Dan Li, Yue Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Aditya Parameshwaran¹, Navid Aftabi², Abhishek Hanchate³, Satish T. S. Bukkapatnam³, Dan Li ² and Yue Wang¹*

Abstract—Replay attacks are difficult to detect in vision-based control systems because previously recorded observations can remain plausible while the physical system follows a different trajectory. This paper develops an adaptive dynamic-watermarking framework for detecting replay attacks against vision-based controllers. A private Gaussian watermark is added to the nominal control input, and a control input-conditioned latent dynamics network (LDN) predicts the corresponding evolution in a compact latent space learned from image observations. Attack evidence is obtained from the discrepancy between the predicted latent response and the latent representation of the received image observation. A reinforcement learning policy adjusts the watermark covariance using the latent state and detector confidence, thereby balancing attack detectability, watermark energy, and control distortion. A Lagrangian penalty on task-specific safety costs is included during training to limit the adverse effect of the excitation. The framework is evaluated on a vision-guided UR5 manipulation task in which the robot reaches a target while avoiding a moving human arm under nominal and replay-attacked observations.

I. INTRODUCTION

Vision-based neural controllers are powerful in cluttered, human-robot settings, but their sensing channel is vulnerable to replay attacks: an adversary can replace the current image stream with previously recorded observations that remain visually plausible. In safety-critical tasks, such attacks can conceal a physical deviation while the robot continues to act on stale visual feedback. Dynamic watermarking (DWM) addresses this by injecting a private excitation into the control input and checking whether the current measurements contain the corresponding response [1], [2]. Existing methods typically form this consistency check from known state-space dynamics and low-dimensional measurements [3], [4]. That assumption does not directly apply to a black-box neural controller where the observations can be high-dimensional images with unknown dynamics. We address this gap with a control input-conditioned latent dynamics network (LDN) that predicts the evolution of image representations in a compact visual latent space, enabling watermark-response residuals to be formed without requiring an explicit analytical model of the image dynamics [5], [6].

  • Corresponding Author

¹Department of Mechanical Engineering, Clemson University, Clemson, SC 29634, USA. aparame@clemson.edu, yue6@clemson.edu

²Department of Industrial and Systems Engineering, University of Washington, Seattle, WA 98195 USA aftabi@uw.edu; dli27@uw.edu

³ Wm Michael Barnes '64 Department of Industrial and Systems Engineering, Texas A&M University, College Station, TX 77843 USA abhishek.hanchate@tamu.edu; satish@tamu.edu

We condition the LDN on a privately watermarked control input and compare its predicted latent response with the latent representation of the received observation. The resulting latent space residual provides replay evidence, while a learned DWM policy adapts the watermark covariance to balance detectability, actuation effort, and task performance. The framework thereby combines latent dynamics prediction, adaptive watermarking, and supervisory fallback in a single vision-based replay-defense architecture as seen in Figure 1.

Our contributions are summarized as follows:

  1. We detect replay attacks by verifying a private DWM signal through predictions from a control input-conditioned LDN.

  2. We characterize how replay-induced watermark mismatch alters the MCUSUM detector statistic and develop a Bayesian belief update that quantifies online detection confidence and serves as a compact input to the DWM policy.

  3. We train the DWM policy with a Lagrangian penalty on robot-human separation violations and evaluate supervisory stopping under replay. We demonstrate the framework in a simulated human-robot task where misleading visual feedback can lead to unsafe motion.