LogiC-Diff: Embedding Security Properties Into AI-Enabled Cyber-Physical Systems
Abstract
AI-enabled Cyber-Physical Systems (CPS) are highly vulnerable to adversarial and anomalous inputs, where small perturbations can induce cascading errors and unsafe control actions. Existing approaches, such as rule-based filtering, training-time regularization, or diffusion-based reconstruction, either operate outside the model or lack mechanisms to incorporate formal security specifications into the prediction process. In this paper, we take the first step toward embedding security properties directly into AI-enabled CPS, enabling predictive models to enforce system-level constraints during inference rather than relying on external defenses. We introduce a logic-conditioned bi-stage diffusion framework that integrates Signal Temporal Logic (STL) specifications into forecasting. STL serves as a first-class conditioning signal that guides both an input repair stage and an output refinement stage, allowing the model to jointly mitigate adversarial perturbations and enforce desired temporal behaviors to satisfy security-critical properties. We evaluate our approach on two real-world multivariate CPS forecasting datasets under a diverse set of physical sensor and cyber attacks. Across sensor faults, gradient-based attacks, adaptive attacks, and varying attack strengths, our method consistently improves robustness and specification compliance, degrades more gracefully as attack strength increases, and generalizes better to unseen attacks. Ablation studies on specification coverage and quality further show that embedding logical security properties yields gains unattainable by reconstruction-based methods alone, highlighting a new direction for integrating formal methods with generative models in secure CPS.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
Related papers
Heracles: An AI-Enabled Hybrid Cyber Range for OT Security
Shared title terminologycs.CRFrancesco Altiero, Domenico Cotroneo
Intelligent Event-Safe Cyber-Physical Attack Detection and Localization in Critical Water Infrastructure: A Cross-Dataset Study of SWaT and WADI
Shared title terminologycs.CRVictor Kebande
When Automation Acts: Accountability Gaps in AI-Enabled SIEM/SOAR
Shared title terminologycs.CRUgbede Ibrahim, Yan Lin Aung, Hong Qing Yu
ScamWeb: A Multimodal Benchmark for Grounded Understanding of Cyber-enabled Fraud Webpages
Shared title terminologycs.CRZhihua Wang, Nan Li, Ziyang Chen et al.
Fast Decisions, Hidden Risks: Measuring the Security Portrait of System One Model Applications from Jev and Beyond
Shared title terminologycs.CRBo Li, Yue Yang, Xin Zheng et al.
The TellTail of Embeddings: Fingerprinting Retrievers in Black-Box Systems
Shared title terminologycs.CRAbdullah Garra, Matan Ben-Tov, Mahmood Sharif