potentialpaper

LogiC-Diff: Embedding Security Properties Into AI-Enabled Cyber-Physical Systems

Ziyan An, John Stankovic, Meiyi Ma

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

(this is the metareview, verbatim, submitted before the rebuttal phase)

Based on the submitted reviews, this paper is currently borderline. There are some contrasting opinions across the reviews. The reviewers all seem to agree that the proposed contribution is novel. Some reviewers appreciated the writing quality of the paper, whereas others expressed abundant criticism on the writing aspect. The evaluation was considered a weak point by at least two reviewers.

For the upcoming rebuttal, I encourage the authors to do the following.

  • Improve/expand the Evaluation. I do believe that the reviewers' remarks can be addressed by covering additional attacks, scenarios, and comparisons.
  • Clarify the concerns expressed by Reviewer ZhbH. This is a security-focused paper submitted to NeurIPS. A "weak" threat model or a "poor" understandability of the paper's text are both issues that cannot be overlooked.

Regardless, I must also warn the authors that, if new experiments are carried out, these should be integrated in the paper's main text, This is not a task that should be limited to adding an appendix: the paper's narrative should be revised, too. Doing so may not be simple. I hence encourage the authors to reflect on this aspect when preparing their response.

(Disclaimer. This metareview has one purpose: let the authors know what is the current situation of the paper based on the submitted reviews, and provide an educated assessment of where the paper is headed before the beginning of the rebuttal phase. As a prerogative, I do not want to give false hopes to the authors and I do not want the authors to carry out extensive experimental evaluations in a short timeframe which may not lead to acceptance of the submitted work. Still, the authors are free to disagree with this assessment.)

Final justification

The paper was reviewed by four researchers. My personal summary of these individual assessments -- accounting also for the authors' rebuttal, interactions, and any follow-up update -- is as follows:

  • Reviewer U1aw recommends "Borderline Accept", acknowledging that the rebuttal clarified some doubts. Despite highlighting the important challenge and some various strengths about the paper's evaluation, the reviewer remarked that the paper has also weaknesses in terms of novelty and breadth of the evaluation.

  • Reviewer dMwe recommends "Accept" but they acknowledged that the paper is outside of their expertise. They do, however, acknowledge that the paper seems well written and the proposed method understandable (at least at a high level).

  • Reviewer AQA7 recommends "Borderline Accept" -- a rating that has been increased during the rebuttal phase due to a larger evaluation.

  • Reviewer ZhbH recommends "Reject", and despite not engaging with the authors, they believe that the authors' response did not address their concerns.

In light of the above, I feel this paper is borderline. However, I do recommend accepting this work. Only one reviewer (ZhbH) does not support acceptance; even though such a reviewer believes that some additional concerns emerged from another reviewer's observations (i.e., AQA7), it is factual that this second reviewer increased their rating. As such, I do not find strong reasons for rejection, especially given that some critiques seem to be countered by the other reviewers' positive remarks.

In my view, this paper is a good example of a healthy peer review: some opinions may be discordant, but they are ultimately "opinions" and there does not seem to be a crucial flaw here.

==============

That said, I have a comment for the authors. In their rebuttal, in response to Reviewer ZnbH, it was stated that:

We consider extensive attacks that extend beyond gradient-based attacks, by including physical attacks inspired by the CPS security literature. We also do not intend to suggest that defending against attacks is sufficient for all CPS security threats. Instead, following recent literature, our goal is to use attacks to model continuous sensor-value perturbations at the cyber layer.

A point should be made that such a response does not include any strong evidence (e.g., a reference from prior work) to back up such a claim. So, I endorse the authors to strengthen this claim and improve their work by providing supporting evidence that helps motivating their work.

Area Chair E6ba · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

(this is the metareview, verbatim, submitted before the rebuttal phase)

Based on the submitted reviews, this paper is currently borderline. There are some contrasting opinions across the reviews. The reviewers all seem to agree that the proposed contribution is novel. Some reviewers appreciated the writing quality of the paper, whereas others expressed abundant criticism on the writing aspect. The evaluation was considered a weak point by at least two reviewers.

For the upcoming rebuttal, I encourage the authors to do the following.

  • Improve/expand the Evaluation. I do believe that the reviewers' remarks can be addressed by covering additional attacks, scenarios, and comparisons.
  • Clarify the concerns expressed by Reviewer ZhbH. This is a security-focused paper submitted to NeurIPS. A "weak" threat model or a "poor" understandability of the paper's text are both issues that cannot be overlooked.

Regardless, I must also warn the authors that, if new experiments are carried out, these should be integrated in the paper's main text, This is not a task that should be limited to adding an appendix: the paper's narrative should be revised, too. Doing so may not be simple. I hence encourage the authors to reflect on this aspect when preparing their response.

(Disclaimer. This metareview has one purpose: let the authors know what is the current situation of the paper based on the submitted reviews, and provide an educated assessment of where the paper is headed before the beginning of the rebuttal phase. As a prerogative, I do not want to give false hopes to the authors and I do not want the authors to carry out extensive experimental evaluations in a short timeframe which may not lead to acceptance of the submitted work. Still, the authors are free to disagree with this assessment.)

Final justification

The paper was reviewed by four researchers. My personal summary of these individual assessments -- accounting also for the authors' rebuttal, interactions, and any follow-up update -- is as follows:

  • Reviewer U1aw recommends "Borderline Accept", acknowledging that the rebuttal clarified some doubts. Despite highlighting the important challenge and some various strengths about the paper's evaluation, the reviewer remarked that the paper has also weaknesses in terms of novelty and breadth of the evaluation.

  • Reviewer dMwe recommends "Accept" but they acknowledged that the paper is outside of their expertise. They do, however, acknowledge that the paper seems well written and the proposed method understandable (at least at a high level).

  • Reviewer AQA7 recommends "Borderline Accept" -- a rating that has been increased during the rebuttal phase due to a larger evaluation.

  • Reviewer ZhbH recommends "Reject", and despite not engaging with the authors, they believe that the authors' response did not address their concerns.

In light of the above, I feel this paper is borderline. However, I do recommend accepting this work. Only one reviewer (ZhbH) does not support acceptance; even though such a reviewer believes that some additional concerns emerged from another reviewer's observations (i.e., AQA7), it is factual that this second reviewer increased their rating. As such, I do not find strong reasons for rejection, especially given that some critiques seem to be countered by the other reviewers' positive remarks.

In my view, this paper is a good example of a healthy peer review: some opinions may be discordant, but they are ultimately "opinions" and there does not seem to be a crucial flaw here.

==============

That said, I have a comment for the authors. In their rebuttal, in response to Reviewer ZnbH, it was stated that:

We consider extensive attacks that extend beyond gradient-based attacks, by including physical attacks inspired by the CPS security literature. We also do not intend to suggest that defending against attacks is sufficient for all CPS security threats. Instead, following recent literature, our goal is to use attacks to model continuous sensor-value perturbations at the cyber layer.

A point should be made that such a response does not include any strong evidence (e.g., a reference from prior work) to back up such a claim. So, I endorse the authors to strengthen this claim and improve their work by providing supporting evidence that helps motivating their work.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

Thank you for your helpful comments and suggestions in the meta review. As a TL;DR, we substantially expanded the evaluation in response to the reviewers’ concerns. In addition to the UAV dataset evaluation and BPDA/EOT attack reported in the rebuttal, we added results on the original benchmark and attack used by Liu et al., a logic-aware projection attack, Square Attack, statistical significance tests, and several projection-based baselines, including pre-hoc, post-hoc, and combined pre-/post-hoc projection.

The new comparisons clarify the benefit of our proposed method relative to post-hoc projection. Adding input and output projections around a standard forecasting pipeline does not reproduce the performance of our method, showing the benefit of incorporating logic guidance within the generative repair process. Post-hoc projection cannot effectively recover information corrupted before or during forecasting, whereas our proposed method achieves lower MSE under every evaluated attack and full Sat% when the same post-hoc projection is applied.

We will integrate these new evaluations into the main paper accordingly. We will also clarify that “embedding” refers to using security properties as inference time guidance within the prediction pipeline. Statements using “enforcement” will be revised to describe improved specification compliance, while noting that output level satisfaction guarantees can be achieved with an explicit final projection.

We believe these additional evaluations and revisions directly address the concerns raised and substantially strengthen the paper’s empirical support, scope, and clarity.

Reviewer ZhbHOpenReview ↗
Rating
2/6
Confidence
2/5
Quality
1/4
Clarity
1/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper is concerned with adversarial attacks on AI in cyber physical systems. The authors of this paper propose a logic-conditioned bi-stage diffusion framework for securing systems against adversarial attacks. Signal Temporal Logic (STL) is used to express system-critical properties to make a diffusion-based repair pipeline. Adaptive white-box attacks and black-box attacks are run against the proposed framework with respect to the L2 norm.

Strengths and weaknesses

Paper strengths: The idea in the paper is novel. There are empirical results to back up the claims made in the paper.

Paper weaknesses:

  1. The writing in the paper is extremely poor. I will mention two things about my comment here. First, I am a security/adversarial machine learning expert but not an expert in the domain of cyber physical systems. It could be I don’t know the lingo of this particular domain. Second, reading parts of this paper were headache inducing. I worry that maybe the authors of this paper fed simple sentences into an LLM and asked the LLM to make the sentences as technically complex as possible. For example, in the background section we have a sentence that says:

“Given time-series data and a CPS specification, STL supports monitoring through qualitative semantics that describe Boolean satisfaction and quantitative semantics that measure the degree of satisfaction or violation”

In the introduction another example of the word salad type of sentences:

“Our work investigates repositioning prior secure system specifications, expressed as temporal logic, into two stages of the diffusion-based repair process, thereby enabling both pre-hoc and post-hoc defense”

I would prefer if the authors could break up these large run on sentences into more digestible pieces to make the writing actually readable. For example, the previous sentence could have been written much more clearly as: “This work is on securing systems based on their specifications. The framework we provide uses temporal logic to accomplish this. Our diffusion based process serves as both a pre-hoc and post-hoc type of defense.”

My review would go on for pages if I had to find every example of this type of run on sentence, or over vocabularied type of writing. I strongly suggest the authors do a major rewrite of the paper. Maybe this could be done by enlisting a person with strong technical writing skills instead of an LLM.

  1. The threat model does not make sense. The authors claim they are defending against L2 attacks and use a real world task as part of their experiments as proof. However, to the best of my knowledge, no justification is ever given for WHY the L2 threat model is considered appropriate. It is clearly noted in the literature that defending against just the L2 threat model is not sufficient [citation: https://arxiv.org/pdf/1909.04068]. Also I don’t understand why PGD, MIM and C&W are all tested. It is also clearly stated in the literature that running multiple similar white-box attacks are NOT useful [citation: https://arxiv.org/pdf/1902.06705].
Questions
  1. I am not sure if it is possible in the rebuttal period but can you rewrite the paper for clarity?
  2. Can you justify why the L2 threat model is appropriate in this domain and why other threat models are not considered? E.g., why are you going directly against the claims of the established literature?
Limitations

Yes.

Final justification

I was not able to engage with the authors during the rebuttal discussion period unfortunately, but I have read their response. I don't feel that my concerns were adequately addressed in the response. Specifically regarding the L2 threat model, the authors have not cited any literature to back up their claims in the rebuttal. In addition, reviewer AQA7 brought up additional points that did not seemed to be fully addressed by the authors during the rebuttal period. Because of my lingering concerns and new concerns that AQA7 has brought to light, I will maintain my score as is.

Formatting concerns

None.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your comments and feedback. We would like to clarify and address your concerns in our rebuttal. Please find our response below.

1. Writing quality [Q1, W1]

We understand that CPS and formal methods terminology may not be very familiar to all security experts. However, we wrote the paper very carefully and did not ask LLM to make the sentences as technically complex as possible. In the two examples listed in the review, the first sentence describes the two monitoring semantics of STL, and the second describes the two stages where we incorporate formal logic into the framework. We appreciate the honest suggestion, and have already revised these sentences in our revision to make them easier to follow for audiences from different backgrounds. We will also be happy to provide more background information if needed.

2. Threat model [Q2, W2]

We believe our threat model is very reasonable and comprehensive for our scope targeting AI-enabled CPS security. We consider extensive attacks that extend beyond ℓ2\ell_2 gradient-based attacks, by including physical attacks inspired by the CPS security literature. We also do not intend to suggest that defending against ℓ2\ell_2 attacks is sufficient for all CPS security threats. Instead, following recent literature, our goal is to use ℓ2\ell_2 attacks to model continuous sensor-value perturbations at the cyber layer. In addition, the four classes of physical threat models from the CPS literature we adopt cover a broader range of physical attack scenarios. Lastly, during the rebuttal period, we have also added the sparse indirect multivariate time-series attack proposed by Liu et al., and a logic-aware PGD attack that projects the adversarial examples into the logic-feasible set, and a BPDA/EOT attack, and find that our method continues to be the most effective among baselines. We hope these clarifications address your concerns. In the discussion period, we are also happy to run additional experiments on different attacks upon your further suggestion.

Authors · CommentOpenReview ↗

Dear Reviewer,

We appreciate your comments and suggestions. We have provided clarifications about the writing quality and the comprehensiveness of the threat model in the CPS domain. We have also added evaluations of two other attacks suggested by Reviewer U1aw and AQA7. Please kindly consider revisiting your score if the additional context helps. Please also let us know if you have any further questions that we can answer. Thank you again.

Reviewer AQA7OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The proposed method LogiC-Diff embeds Signal Temporal Logic into a diffusion repair pipeline for forecasting tasks of cyber physical systems to defend against adversarial attacks. The core idea is to use STL signals to guide a diffusion repair step. The papers reasoning is that repairing the input before prediction is superior to post-hoc constraints, because it allows the model to perform its prediction on a repaird input, instead of working with a degraded input. A second STL repair step at the output further encourages valid predictions.

Strengths and weaknesses

Strengths:

  1. The use of STL as inference-time signal inside a diffusion repair module is, to my knowledge, a novel idea. The paper's intuition that repairing the input before the prediction, instead of post-hoc fixing, makes sense. The idea has merit, and could inspire work beyond the given application domain.

  2. Guiding input repairs with plausible data range is an interesting insight, which may be useful to other application domains beyond forecasting of cyber physical systems.

  3. The evaluation has some strong aspects: the defense baselines and attacks are chosen well, including adversarial training, diffusion purification, randomized smoothing on the defense side, and PGD, CW, AutoAttack on the offense side. The benchmarks show consistent performance gains across evaluated settings, especially in the large-perturbation regimes.

Weaknesses:

  1. The evaluation is the weakest point. The method is only evaluated on a single, newly created task with only 7 features, and a time-horizon of 6. It is unclear why this was chosen. Evaluation on established robustness protocols and datasets - e.g., those by Liu et al. ([27/28]) that the paper already cites - would significantly strengthen the paper. The comparison is also missing a cheap post-hoc baseline, where the model outputs are projected onto the STL-valid region.

  2. Given the empirical nature of the method, and evaluation in a single, small-scale setting, the general claims of the paper of "embedded security properties" that "enforce system-level constraints" are too strong. It is an empirical method that improves robustness in one particular setting - it has no guarantee, and the security properties (specs) are still violated in ~12% of cases.

  3. The obvious adaptive attack - projecting adversarial examples into the STL-valid region (e.g., PGD with projection), is not evaluated. A whitebox attack would definitely have access to these projections, and I would argue that even a black-box attacker could likely know or reconstruct a STL-valid region. This would therefore be the natural attack to try.

  4. The paper motivates the method as real-time feasible - but never evaluates or reports the end-to end timing, or its overheads compared to the baselines. This is critical for CPS work, especially since STL projection over the recommended 100+ specs can potentially be significant.

I think the idea is strong. However, the current evaluation is thin, with some major concerns. A broader evaluation on standard benchmarks, the proposed adaptive attack, and a revision of the paper's claims would significantly strengthen the paper.

Questions
  1. What is the method's overhead compared to the same model without STL guidance?

  2. Can you please evaluate and compare the method on a standard forecasting robustness benchmark?

  3. What is the performance of the proposed adaptive attack - against both the baseline and the proposed method?

Note: I believe [27] and [28] in the paper's references are the same publication.

Limitations

yes

Final justification

The rebuttal provides substantial new evidence and largely resolves my concern about the thin evaluation. The authors added two further evaluation settings, several additional attacks, and a simple post-hoc output-projection baseline. This baseline substantially narrows the method’s advantage relative to the paper’s original headline results. However, applying the same projection to the proposed method yields further improvements, providing evidence that constraint-guided generation offers benefits beyond projection alone.

I find the underlying mechanism of constraint-guided generation genuinely interesting. I would have preferred the paper to focus more on understanding this mechanism across a wider range of settings, with additional ablations and analysis characterizing why and when it works—and when it does not.

Overall, I consider this a borderline paper and lean slightly toward acceptance because of the interesting mechanism and the substantially improved evaluation. This assessment assumes that the framing is revised as promised and that the result tables, comparisons, and headline claims are updated to reflect the new, stronger baselines.

Formatting concerns

none

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful comments and suggestions. We would like to address your comments and concerns in our rebuttal, and please find our response below.

1. Overhead compared with the same model without STL guidance [Q1, W4]

The model with the same setup, but without STL guidance has an inference time overhead of 3.35 ms per sample. In comparison, the full end-to-end version with STL guidance adds 0.75 ms per sample (~22% overhead). This includes 186 input-side specifications and 60 output-side specifications. In the current hourly forecasting granularity and most CPS applications, we consider this a small overhead.

2. Dataset and benchmark scope (compared with Liu et al.) [Q2, W1]

We have already updated our revision based on your comments on citations [27] and [28].

We would also like to provide additional information on the choice of our dataset, when compared to the dataset in Liu et al. Our dataset and the dataset used in Liu et al. come from the same traffic monitoring system - the PeMS system, though the traffic zones are different (District 07 vs. District 04), and our data, collected directly from the same system, is much newer (2024-2025) than the dataset used in Liu et al. (Asuncion & Newman, 2007) to reflect new traffic dynamics. Many state-of-the-art papers, such as STGCN (Yu et al.) and STSGCN (Song et al.), also use District 07 data as we do. Additionally, we augment it with CARB air-quality and emission features to enable a combined smart-city setting. For the prediction window, prior work on traffic forecasting typically uses an input window of 12 and an output horizon of 9-12 (STGCN, DCRNN). We use a longer input window of 24 because our STL specifications, such as Stability and Associativity, are evaluated over the history window and therefore require sufficient temporal context. We use an output horizon of 6 as the operationally reasonable range for downstream decisions.

We have extended the evaluation to implement the attack proposed in Liu et al. More specifically, Liu et al. proposes a sparse indirect attack on multivariate forecasting. To adopt this to our smart city setting, we evaluate perturbing air quality features NO2NO_2, ozone, and PM features to degrade traffic forecasts. Please refer to the table below for extended results.

Overall, our proposed method achieves the best performance in all four settings of this attack. We attribute this gain to logics such as Associativity, which concerns the correlational associativity across features over time, and is beneficial for countering this type of inter-feature indirect attack.

Method κ=2\kappa = 2 κ=4\kappa = 4 κ=2\kappa = 2 (prob) κ=4\kappa = 4 (prob)
Default 0.2542 +/-.016 0.2755 +/-.017 0.2523 +/-.016 0.2757 +/-.017
Inherent (STL) 0.2561 +/-.016 0.2745 +/-.016 0.2537 +/-.016 0.2748 +/-.016
AT (Madry) 0.1754 +/-.012 0.1829 +/-.012 0.1738 +/-.012 0.1830 +/-.012
AT (TRADES) 0.1750 +/-.011 0.1794 +/-.011 0.1737 +/-.011 0.1795 +/-.011
AP (DiffPure) 0.2355 +/-.016 0.2491 +/-.016 0.2341 +/-.016 0.2516 +/-.017
RS (Cohen) 0.2397 +/-.016 0.2570 +/-.016 0.2381 +/-.016 0.2575 +/-.016
LogiC-Diff (ours) 0.1226 +/-.008 0.1286 +/-.008 0.1217 +/-.008 0.1287 +/-.008

3. Projection-aware adaptive attack [Q3, W3]

We implemented the projection-aware PGD attack suggested in your review based on our understanding, and LogiC-Diff remains the strongest method. Specifically, at each iteration, the attacker takes a gradient step in PGD, projects the adversarial example onto the STL-feasible set, and then projects back onto the epsilon-ball. Under the same attack strength and setup as Table 3 in the paper, LogiC-Diff obtains 0.2005 +/- 0.008 MSE, compared with the two strongest baselines in Table 3: 0.2304 +/- 0.009 for AT (TRADES) and 0.2393 +/- 0.009 for AT (Madry).

The result shows that LogiC-Diff remains the strongest method under this suggested logic-aware adaptive attack. While projecting the attacked data into the logic-feasible set on the input side does make the attack stronger and stealthier, we find that the logic guidance embedded in the bi-stage pipeline, especially the output side, continues to be effective even under full knowledge of the specifications.

4. Comparing with a post-hoc projection baseline [W1]

We have added a post-hoc projection baseline as suggested in your review. This baseline uses a trained default forecaster and then projects its output into the STL-feasible region post-hoc. LogiC-Diff achieves the best MSE in most settings, including the replay and mixed attacks, and all four gradient-based attacks.

The result shows that post-hoc projection is still very effective on the two physical attacks. When the FDI budget is increased to ϵ=2\epsilon = 2, however, LogiC-Diff outperforms post-hoc projection, with a 0.185 versus 0.192 MSE. This shows that while post-hoc projection can repair mild output-level violations caused by inputs outside the physically feasible range, it cannot fully restore the accuracy just by performing projection at the output stage. In contrast, LogiC-Diff performs better as the attack strength increases, as it benefits from the embedded repair at both input-side and output-side.

Method Dropout FDI Replay Mixed PGD MIM CW AutoAttack
Default 0.469 0.197 0.538 0.283 0.324 0.320 0.290 0.325
Post-hoc 0.202 0.139 0.257 0.200 0.225 0.222 0.203 0.228
LogiC-Diff 0.246 0.162 0.207 0.187 0.197 0.197 0.179 0.197

5. Security Guarantee [W2]

Empirically, our evaluation shows that the proposed bi-stage prediction pipeline provides the most secure prediction by embedding formal-method-guided properties into the algorithm. Using the same post-hoc mechanism shown in the additional evaluations provided above (4), it is possible to obtain a guarantee by adding an additional projection step directly after the model output. However, this will come with additional inference-time overhead.

In this paper, however, our main scope and focus is to present a method that improves the performance of the learning model itself, rather than a post-hoc projection step. In the future, we will study whether there is a way to gain an algorithmic guarantee within the prediction process. We again note that post-hoc projection will be even more effective when the overall model itself is improved by our proposed method.

Authors · CommentOpenReview ↗

Dear Reviewer,

We hope our rebuttal has addressed your comments and suggestions. As a quick TL;DR, we have included additional evaluations and discussions about computational overhead, data selection, attack benchmark introduced by Liu et al., a post-hoc projection baseline, and a projection-aware adaptive attack. We would be happy to address any further questions that you may have. We kindly ask you to consider revisiting your score, and we appreciate your thoughtful review once again.

Reviewer AQA7 · CommentOpenReview ↗

Thank you for responding to my comments and the rebuttal. Unfortunately, it does not resolve my central reservations, and the naive projection baseline substantially undercuts the paper's central empirical claim.

W1: weak evaluation

I appreciate the additional evaluations on ALFA, which adds a second dataset to the evaluation. The Liu et al. attacks are also a good addition. I still think it should additionally be compared on their original setting with the older dataset, to make the evaluation protocol consistent.

The comparison to the naive post-hoc projection baseline (4.) shows that

  1. this simple baseline dominates every method the work is comparing to
  2. it beats the proposed method in the paper's headline settings (LL252) Dropout and FDI by ~14–18% MSE, while only trailing by ~11–14% for gradient attacks
  3. the naive baseline's Sat% should be at or near 100% by construction, and the authors did not report it.

In my view, this significantly weakens the paper's findings, and puts the method's benefits into question. For example, what happens if in addition to output projections, we also add an input projection into the physically plausible range? Or combine it with a baseline diffusion repair step?

W2: Claims of "embedded security properties" / "enforcement" are too strong

The rebuttal neither produced evidence that supports these claims, nor did it retract or revise them. Therefore, the paper continues to over-claim properties it cannot deliver on.

W3: adaptive attack

I appreciate the authors attempt to implement the proposed adaptive baseline. However, the goal was to create an adaptive attack that targets the method's mechanism and projects the adversarial example onto the feasible region. However, the implemented attack chains two different projections: the feasible region projection, followed by projection onto the l2-ball. The second projection can invalidate the first; it should therefore be established if the resulting point still lies within the feasible set.

W4: timings Thank you for providing the timing numbers, it addresses this question from my review.

Additions

The rebuttal phase uncovered three additional points:

  1. The claim that "LogiC-Diff achieves [...] the best STL Sat% across all physical attack" L251 is unsupported by the paper's evidence. Across FDI, Mixed, and all of Table 3, the difference lies within the combined variance, and even within single-variance for the stronger baselines. A statistical test would therefore have to support the validity of that claim.

  2. I share reviewer ZhbH's concern regarding the independence of PGD, MIM and C&W. The similar results, partially identical to the reported precision, also support the concern that the cross-attack generalization between PGD-ℓ₂ and MIM-ℓ₂ is close to vacuous. The adapted APGD method from AutoAttack is also redundant with PGD, collapsing the entire Table 3 to essentially one finding.

  3. The AutoAttack adaptation is additionally problematic. use only the APGD component while labelling the column AutoAttack. This is misleading. AutoAttack was specifically designed with per-sample worst-case across 4 methods, which is missing in this evaluation. AutoAttack also contains Square Attack - a black-box attack that is designed to specifically uncover gradient-masking defenses, which is particularly applicable to this paper: it uses the BPDA trick from Athalye et al. [2] but skip the black-box check that paper requires for exactly this situation.

Summary: on of four weaknesses (W4) is fully addressed. W1 is partially addressed, but the new results read against the method. W3 was attempted but possibly mis-executed. W2 remains unaddressed, and the rebuttal produced additional evidence that undercut the papers central claims. I therefore downgrade my rating to 2, as I believe the paper needs significant rework, likely including the method itself.

I am holding my rating at 3 pending additional answers, several of which could move it in either direction. I will finalize after the discussion phase.

Reviewer dMweOpenReview ↗
Rating
4/6
Confidence
1/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

AI enabled CPS often operate in safety critical environments. It is, therefore, key, to guarantee some level of robustness and resilience against input noise, anomalous inputs, and adversarial attacks. Current approaches tend to focus on post-hoc checks and corrections, while this paper proposes for the first time a method that integrates security properties (like Signal Temporal Logic) within the predictive model itself. The authors evaluate the proposed approach on both physical sensor perturbations and cyber attacks, showing improved robustness and better generalization to unseen attacks.

Strengths and weaknesses

Strengths

The paper tackles an important issue concerning the robustness of CPS against adversarial attacks and anomalous inputs. The contribution seems to introduce a genuinely new approach to this issue, that sensibly improves on existing methods. Unfortunately, not having experience nor deep knowledge in the specific topic, I can't really confidently pinpoint any weaknesses. However, despite the lack of expertise in the field, the main motivations and the idea of the approach was understandable from the paper, which I would count as a strength. Figure 1 was also very helpful.

Questions

None.

Limitations

yes.

Final justification

At the light of the other reviewers' comments, I stand with a positive judgement, while agreeing that the 5 might have been over optimistic, mainly due to my lack of expertise on the topic.

Formatting concerns

None.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for supporting our work and for recognizing the novelty and contribution of embedding formal security specifications directly into the diffusion model prediction process. We also appreciate your positive comments on the understandability of our paper. Please do not hesitate to let us know if you have any follow up questions.

Reviewer U1awOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes LogiC-Diff, a logic-conditioned diffusion framework that integrates Signal Temporal Logic (STL) specifications into AI-enabled CPS forecasting. The method introduces a two-stage diffusion process that uses STL-guided signals for input repair and output refinement, aiming to improve both prediction robustness and system specification compliance under adversarial attacks. Experiments on traffic and air-quality forecasting with various sensor and gradient-based attacks show that LogiC-Diff outperforms several existing baselines in forecasting error and STL satisfaction rate. The main strength of this work is the novel integration of formal safety specifications with generative diffusion models, providing a promising direction for specification-aware robust forecasting. However, the evaluation is limited to a single CPS dataset, the method relies on manually designed STL specifications without evaluating specification errors, and the robustness analysis lacks stronger adaptive attacks specifically targeting the proposed STL-guided defense.

Strengths and weaknesses

Strengths:

  1. The paper addresses an important challenge in AI-enabled CPS, where forecasting models may violate system-level safety requirements under adversarial or corrupted inputs.
  2. The proposed method effectively combines STL-based specifications with diffusion models. Using logical constraints during the reconstruction process provides a principled way to incorporate domain knowledge into robust forecasting.
  3. The experiments cover a broad range of settings, including sensor-level attacks, adversarial perturbations, ablation studies, and cross-attack evaluations, providing a thorough empirical analysis.
  4. The evaluation considers both forecasting accuracy and STL satisfaction, making the assessment more suitable for safety-critical CPS applications than using prediction error alone.

Weaknesses:

  1. The evaluation is conducted on a single CPS application based on traffic and air-quality forecasting. Since CPS includes a wide range of domains, such as autonomous driving, smart grids, and industrial systems, more diverse evaluations are needed to verify the general applicability of the proposed method.
  2. The adversarial evaluation mainly considers established attacks, including PGD, MIM, CW, and AutoAttack. While these attacks are standard baselines, the latest one used in the paper dates back to 2020. The evaluation would be more convincing with recent attacks or adaptive attacks tailored to time-series forecasting and the proposed STL-guided defense.
  3. The effectiveness of the proposed framework relies on the correctness of the STL specifications. However, the paper does not study the impact of inaccurate or incomplete specifications, which may limit the reliability of the method in practical CPS deployments.
  4. The paper does not clearly isolate the contributions of diffusion reconstruction and STL guidance. Additional comparisons with simpler STL-based correction or reconstruction methods would help clarify where the observed improvements come from.
Questions
  1. Since the proposed defense contains the non-differentiable STL projection operatorP_Φ, can the authors evaluate the robustness under stronger BPDA,EOT-based adaptive attacks optimized against the complete LogiC-Diff pipeline?
  2. The STL specifications appear to be manually defined for the evaluated CPS task. How do the authors determine these specifications, and how does the method behave when the specifications are perturbed or partially incorrect?
  3. The paper compares LogiC-Diff with diffusion purification and STL-based methods separately, but does not evaluate an STL-guided non-diffusion reconstruction baseline. Can the authors clarify whether the improvement mainly comes from diffusion or STL guidance?
  4. The evaluation is performed only on traffic and air-quality forecasting. Can the authors provide experiments or analysis showing that the proposed framework can generalize to other CPS domains with different dynamics and safety constraints?
Limitations

yes

Final justification

Thank you for the authors' response and for the additional experiments addressing my concerns. The newly conducted experiments have alleviated my previous doubts, and I will maintain my score of 4.

Formatting concerns

No formatting issues were identified.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful comments and suggestions. Please see our detailed response below.

1. BPDA/EOT adaptive attacks [Q1]

We extended our evaluation with a BPDA/EOT adaptive attack over the stochastic inference path of the end-to-end model, using K=20K=20 EOT samples, ϵ=1.0\epsilon=1.0, and 20 iterations. Under this stronger attack, all methods degrade relative to their performance under the standard attacks. LogiC-Diff still achieves the best MSE, 0.2375 +/- 0.017 against the strongest baseline (AT-Trades, MSE 0.2817 +/- 0.018). This suggests that our proposed method remains very effective and robust, and outperforms all baselines. The mechanism to repair signals toward trajectories that are STL-consistent at both the input and output stages, is independent of the specific attack distribution.

Method BPDA/EOT
Default 0.3551 +/- 0.025
Inherient 0.3633 +/- 0.027
AT (Madry) 0.2913 +/- 0.019
AT (Trades) 0.2817 +/- 0.018
AP (DiffPure) 0.3388 +/- 0.024
RS (Cohen) 0.3468 +/- 0.024
LogiC-Diff 0.2375 +/- 0.017

2. Behavior under inaccurate/incomplete specifications [Q2, W3]

Specification quality is an important factor for any logic-guided method. The paper already includes incomplete specification ablations in Table 4, where we remove the Stability and Associativity families. The ablations show that each rule family contributes positively to the overall performance, and that the repaired output performs better when the coverage of specification is more comprehensive.

We would also like to clarify that users only need to provide rule templates in STL form (like Table 1) to obtain the specifications. The threshold values are not manually defined. They are synthesized from training data using a rule synthesizer such as TeLEx.

To study the "wrong specification" case, where the specification itself may be compromised or miscalibrated, we add the following evaluations.

  • First, we test misleading but still well-formed specifications, in which threshold values synthesized for one feature are applied to a different feature. This caused the MSE to increase by 4.7% under PGD attack, but it would require an adversary with write access to the specification.
  • Second, we test inverted logical bounds, which are malformed specifications. As expected, this case harms performance greatly, and raises MSE by 189.4% under the PGD attack. We note that malformed specifications of this kind are also trivially detected during deployment using simple logic checkers.
  • Third, we consider a more realistic case where the calibration data used to generate the logic specifications is scarce, which may lead to overly restrictive specifications. Calibrating from only 10 windows causes MSE under PGD attack to increase by 17.6%. However, even with 75% of the rules removed, the model performance remains better than using no specifications at all.

Overall, the method is robust to realistic imprecision in the specifications, such as a looser logic bound. For deployment, imprecisions can be avoided by calibrating specifications over a longer time period, using looser thresholds when uncertainty is high, and using logic checkers to assess whether the formulas are well formed. LogiC-Diff can also be paired with specification validation as an additional safeguard.

3. STL-Guided Non-diffusion Reconstruction baseline [Q3, W4]

We extended the evaluation to test whether a simple STL-guided correction without diffusion can explain the performance gains. We therefore add a post-hoc projection baseline: a trained default forecaster first produces a prediction, and then the prediction is projected into the STL-feasible region. LogiC-Diff still achieves the best MSE in most attack settings, including all gradient-based attacks.

The strong performance of the reconstruction baseline shows that STL guidance itself is also useful, especially when the physical attack causes values to deviate grossly outside physically valid ranges. However, the efficacy of projection-based repair also depends on the strength of the attack. We notice that, under a stronger FDI budget of ϵ=2\epsilon = 2, LogiC-Diff outperforms post-hoc projection, 0.185 versus 0.192 MSE. We also notice that diffusion alone is not sufficient (Table 4a, ablations). Therefore, although the exact effect of each depends on the attack and its strength, both the diffusion and the STL guidance are essential to the improvement.

Method Dropout FDI Replay Mixed PGD MIM CW AutoAttack
Default 0.469 0.197 0.538 0.283 0.324 0.320 0.290 0.325
Post-hoc 0.202 0.139 0.257 0.200 0.225 0.222 0.203 0.228
LogiC-Diff 0.246 0.162 0.207 0.187 0.197 0.197 0.179 0.197

4. Generalizability to other domains [Q4, W1]

We have added a second CPS domain evaluation using the ALFA dataset from Keipour et al. (IJRR 2020). The dataset contains 47 autonomous fixed-wing UAV flights. We use seven control-loop features: ground speed, altitude, measured roll, measured pitch, commanded roll, commanded pitch, and throttle PWM. We use a 6-second input history and a 1.5-second prediction horizon. We also keep the same model architecture, training setup, attack strength, and perturbation budgets. The specifications include bounded range (Stability), per-window value recovery (Recovery), and Associativity between the measured-commanded roll pair and the measured-commanded pitch pair. These specifications were synthesized from clean flight data without manual tuning.

LogiC-Diff achieves the best or comparable MSE in all attacked settings (best for Dropout, Replay, Mixed, PGD, MIM, APGD), with the largest margin under Replay attacks. AT (Madry) performs second best overall. These results suggest that the method generalizes effectively to closed-loop UAV dynamics and prediction tasks.

Applying our method to a new domain only requires time-series inputs and a corresponding set of STL specifications or templates (such as Table 1). The method is domain-agnostic at the algorithmic level and generalizes easily to other domains.

Method Dropout FDI Replay Mixed PGD MIM CW APGD
Default 0.304 0.235 1.228 0.625 0.504 0.488 0.348 0.535
Inherent (STL) 0.296 0.252 1.277 0.731 0.509 0.487 0.350 0.536
AT (Madry) 0.366 0.155 1.205 0.578 0.255 0.253 0.204 0.256
AT (TRADES) 0.430 0.173 1.139 0.554 0.264 0.263 0.221 0.264
AP (DiffPure) 0.346 0.214 1.205 0.589 0.436 0.420 0.311 0.453
RS (Cohen) 0.328 0.239 1.213 0.660 0.490 0.474 0.346 0.515
LogiC-Diff 0.179 0.161 0.332 0.220 0.225 0.225 0.206 0.224

A. Keipour, M. Mousaei, and S. Scherer, “ALFA: A dataset for UAV fault and anomaly detection,” The International Journal of Robotics Research, vol. 0. no. 0, pp. 1-6, October 2020. [Online]. Available: https://doi.org/10.1177/0278364920966642

5. More up-to-date attacks [W2]

We have extended the evaluation using the sparse indirect attack proposed by Liu et al. [27]. The high-level assumption is that the attacker aims to degrade model performance on a set of target features, but may only perturb other features, leaving the targets themselves untouched. We implemented this attack for the traffic data under the following setup: the attacker perturbs the air-quality features NO2NO_2, ozone, and PM to degrade traffic forecasts. We report both the deterministic and probabilistic variants at sparsity levels κ=2\kappa = 2 and κ=4\kappa = 4.

Across all four settings, LogiC-Diff performs the best and improves over the strongest baseline by about 30%. We attribute this improvement to the logic-guided mechanism, and in particular to the Associativity rules, which encourage the model to preserve correlational relationships across features over time.

Method κ=2\kappa = 2 κ=4\kappa = 4 κ=2\kappa = 2 (prob) κ=4\kappa = 4 (prob)
Default 0.2542 +/-.016 0.2755 +/-.017 0.2523 +/-.016 0.2757 +/-.017
Inherent (STL) 0.2561 +/-.016 0.2745 +/-.016 0.2537 +/-.016 0.2748 +/-.016
AT (Madry) 0.1754 +/-.012 0.1829 +/-.012 0.1738 +/-.012 0.1830 +/-.012
AT (TRADES) 0.1750 +/-.011 0.1794 +/-.011 0.1737 +/-.011 0.1795 +/-.011
AP (DiffPure) 0.2355 +/-.016 0.2491 +/-.016 0.2341 +/-.016 0.2516 +/-.017
RS (Cohen) 0.2397 +/-.016 0.2570 +/-.016 0.2381 +/-.016 0.2575 +/-.016
LogiC-Diff (ours) 0.1226 +/-.008 0.1286 +/-.008 0.1217 +/-.008 0.1287 +/-.008

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…