Adversarial Attack and Defense for Machine Learning in Statistical Physics
Zhao-Rong Lai, Qiantong Liang, Jian Weng
NeurIPS 2026
Abstract. Recently, various machine learning (ML) systems have been proposed for physical science. Their powerful mathematical expressiveness offers an inherent advantage in maintaining the desirable statistical properties of physics. However, they are placed in ideal and virtual environments that seldom consider noise, perturbations, or various real-world experimental limitations. This exposes significant vulnerabilities in several aspects: 1) The input of an ML system can be subject to human or natural, deliberate or unconscious perturbations, which may sabotage the running baseline of the ML system. 2) A small input perturbation may be amplified by the maximum physical sensitivity, which may lead to an extreme output or a divergent loss function value. 3) A perturbed input may violate some strict statistical assumptions that the ML system relies on, which may lead to incorrect scientific results and findings. In this work, we propose a complete attack-defense methodology for ML systems in statistical physics. In the attack side, we launch a black-box attack (such as a small Gaussian noise) at the input, which stays within physically plausible limits and preserves physical properties. In the defense side, we develop a functional local variation regularized learning scheme to capture and suppress the adversarial perturbation. Theoretical analysis and extensive experiments show the effectiveness of the proposed method. This finding may improve the robustness of macroparameter estimation for such ML systems via adversarial optimization.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The reviewers give scores of 3/3/4, indicating an overall borderline assessment. They recognize the interesting interdisciplinary problem and the domain-specific motivation of the proposed attack-defense framework. The main concerns are that the claimed black-box attack is largely based on random Gaussian noise, the FLV regularizer is insufficiently distinguished from existing gradient-based regularization, and the evaluation is restricted to a single synthetic 2D Ising task. Although the appendix includes comparisons with adversarial training and weight decay, the limited generalization evidence and unclear practical threat model remain substantial. I therefore lean toward rejection.
Final justification
The initial reviewer scores were 3/3/4, reflecting substantial concerns about novelty and evaluation. After rebuttal, all reviewers updated to 4/4/4, as the authors added stronger attack evaluations, a Potts-model experiment, and further clarification of the threat model.
I still have some reservations about the technical novelty and the relatively narrow empirical scope. However, given the rebuttal improvements and the reviewers’ updated assessments, I believe the paper marginally clears the NeurIPS acceptance bar.
Read meta-review
Meta-review
The reviewers give scores of 3/3/4, indicating an overall borderline assessment. They recognize the interesting interdisciplinary problem and the domain-specific motivation of the proposed attack-defense framework. The main concerns are that the claimed black-box attack is largely based on random Gaussian noise, the FLV regularizer is insufficiently distinguished from existing gradient-based regularization, and the evaluation is restricted to a single synthetic 2D Ising task. Although the appendix includes comparisons with adversarial training and weight decay, the limited generalization evidence and unclear practical threat model remain substantial. I therefore lean toward rejection.
Final justification
The initial reviewer scores were 3/3/4, reflecting substantial concerns about novelty and evaluation. After rebuttal, all reviewers updated to 4/4/4, as the authors added stronger attack evaluations, a Potts-model experiment, and further clarification of the threat model.
I still have some reservations about the technical novelty and the relatively narrow empirical scope. However, given the rebuttal improvements and the reviewers’ updated assessments, I believe the paper marginally clears the NeurIPS acceptance bar.
1 comment
- 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 studies adversarial attacks and defenses for machine learning systems in statistical physics. The authors point out that such systems often rely on macroscopic statistical features computed from a large number of samples. As a result, small random noise may be hidden during the averaging process and remain difficult to detect, while still affecting feature extraction, gradient computation, and parameter updates during training. This can eventually cause the model to recover incorrect physical parameters. To address this issue, the paper proposes an ADSP defense method, which suppresses noise propagation and stabilizes training by constraining the model’s sensitivity to perturbations in key physical features. The experiments focus on recovering the temperature parameter in the 2D Ising model, and the results show that ADSP is more stable than the original method and can recover the true physical parameter more accurately.
Strengths and weaknesses
Strengths:
-
The topic is novel. The paper introduces adversarial attacks and defenses into machine learning systems for statistical physics, focusing on robustness and security in scientific machine learning. This is a meaningful problem setting.
-
The motivation for the attack is very clear: small random noise may be hidden during the averaging process, but it can still affect model training.
-
The paper evaluates not only the recovered physical parameter, but also loss, gradient magnitude, Hessian determinant, and feature difference, making the experimental evaluation relatively comprehensive.
Weaknesses:
-
The main experiments are concentrated on the 2D Ising model and a specific duality-learning system. The paper does not extend the evaluation to more models, more physical tasks, or more realistic experimental noise.
-
The baselines are not strong enough. More robustness regularization methods or physics-constrained methods should be included for comparison to better demonstrate the unique advantages of ADSP.
-
The discussion of real physical experimental noise is insufficient. The noise setting in the paper is relatively idealized, and it remains unclear whether real measurement errors, instrumental noise, or data preprocessing pipelines would lead to similar effects.
Questions
The paper should be more cautious about whether Gaussian noise should be called an adversarial attack. If the perturbation is simply zero-mean random noise, it is closer to natural noise or random perturbation. To justify the term adversarial attack, the paper should better explain how the attacker chooses the noise distribution, attack budget, and objective function, or compare the method with stronger white-box or black-box attacks.
Limitations
yes
Final justification
author's response has addressed my concern and I will maintain my rating.
Formatting concerns
no
3 comments
Rebuttal
Thank you for the insightful and constructive feedback. We are encouraged by your recognizing the novelty of introducing adversarial robustness to scientific ML in statistical physics, the clear motivation regarding stealthy noise propagation during macroscopic averaging, and the comprehensive evaluation across physical parameters, losses, gradient magnitudes, Hessian determinants, and feature differences.
Q1. Prevalent Gaussian Noise Can Functionally Act as a Stealthy Adversarial Attack
In traditional computer vision, zero-mean Gaussian noise is often treated as a benign and natural perturbation. However, in scientific ML and statistical physics, this natural ubiquity makes it an exceptionally imperceptible, stealthy, and effective attack vector:
-
Stealth via Prevalency (The Element of Surprise): Because Gaussian noise is ubiquitous in real-world instruments and thermal environments, researchers routinely overlook it as harmless background noise. An adversary can deliberately exploits this cognitive and algorithmic blind spot to achieve a powerful surprise without triggering security filters.
-
Stealth via Asymptotics in Statistical Physics: In physics systems, macroscopic observables are computed by averaging over millions of microscopic configurations (). As shown in Eqs.6-8, zero-mean noise vanishes in the linear macroscopic expectation , which gives the illusion of a clean dataset and allowing the attack to remain hidden at the observable level.
-
Targeted Structural Interference: Despite vanishing macroscopically, when these perturbed microscopic configurations pass into model components (e.g., Gumbel-Softmax attention mechanisms ), the noise corrupts feature distinction and creates a persistent perturbation chain across parameter updates (). Hence natural Gaussian noise serves as an effective black-box attack that exploits the specific vulnerabilities of statistical physics ML pipelines.
-
Adversary Threat Model and Access Assumptions: The adversary targets the data acquisition or sensor pipeline (e.g., thermal noise in physical detectors, instrument calibration drift, or corrupted data files in simulation pipelines). The attacker does not need physical access to or knowledge of the machine learning model weights .
W2 & Q2. Additional Experiments on APGD, C&W, and Adaptive White-box Attack
-
In fact, we have evaluated the proposed ADSP against a strong white-box PGD attack (, 10 steps) in Appendix A.6 (Figures A17-A21). As shown in Figure A17, while standard adversarial training (AT) fails to recover the physical parameter , ADSP converges to an estimate within 5\% relative error of the ground-truth , which verifies its effectiveness against strong white-box gradient attacks.
-
We also add experiments for the stronger white-box attacks C&W and APGD, as well as the adaptive white-box attack [a] that exploits the full knowledge of ADSP, shown in the following tables. ADSP still recovers the physics parameter with high accuracies, compared with AT.
APGD+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1340 | 0.1519 | 0.1637 | 0.1812 |
| 0.3000 | 0.1100 | 0.2782 | 0.2806 | 0.2814 | 0.2817 | 0.2818 |
| 0.4000 | 0.1100 | 0.1639 | 0.2202 | 0.2748 | 0.3260 | 0.3802 |
| 0.4400 | 0.1100 | 0.2335 | 0.3482 | 0.3872 | 0.4145 | 0.4374 |
APGD+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | -0.1441 | 0.1302 | 0.2341 | 0.2531 | 0.2551 |
| 0.3000 | 0.1100 | 0.2906 | 0.0817 | 0.0696 | 0.0670 | 0.0663 |
| 0.4000 | 0.1100 | 0.3536 | 0.3537 | 0.3537 | 0.3537 | 0.3537 |
| 0.4400 | 0.1100 | 0.2469 | 0.2469 | 0.2469 | 0.2469 | 0.2469 |
C&W+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1400 | 0.1580 | 0.1760 | 0.1939 |
| 0.3000 | 0.1100 | 0.1989 | 0.2448 | 0.2668 | 0.2808 | 0.3076 |
| 0.4000 | 0.1100 | 0.2154 | 0.2438 | 0.2747 | 0.3049 | 0.3610 |
| 0.4400 | 0.1100 | 0.2960 | 0.3340 | 0.3582 | 0.3794 | 0.3960 |
C&W+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.4725 | 1.0768 | 1.0841 | 1.0819 | 1.0823 |
| 0.3000 | 0.1100 | 0.0576 | 0.0461 | -0.0135 | -0.0041 | 0.0098 |
| 0.4000 | 0.1100 | 0.1743 | 0.1738 | 0.1736 | 0.1736 | 0.1736 |
| 0.4400 | 0.1100 | 0.3546 | 0.3502 | 0.3484 | 0.3478 | 0.3476 |
Adaptive White-box Attack+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1401 | 0.1583 | 0.1768 | 0.1957 |
| 0.3000 | 0.1100 | 0.1784 | 0.2148 | 0.2412 | 0.2527 | 0.2705 |
| 0.4000 | 0.1100 | 0.1919 | 0.2297 | 0.2674 | 0.3172 | 0.3809 |
| 0.4400 | 0.1100 | 0.2362 | 0.2774 | 0.3244 | 0.3679 | 0.3962 |
Adaptive White-box Attack+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | -0.2006 | -0.2538 | -0.2091 | -0.1948 | -0.1784 |
| 0.3000 | 0.1100 | 0.1855 | 0.0632 | 0.0544 | 0.0522 | 0.0517 |
| 0.4000 | 0.1100 | 0.3558 | 0.3558 | 0.3558 | 0.3558 | 0.3558 |
| 0.4400 | 0.1100 | 0.3125 | 0.3125 | 0.3125 | 0.3125 | 0.3125 |
W1. Additional Experiments on Potts model
We add experiments on the 3-state Potts model, which is compatible with the attack and defense settings in this paper and has the same physics parameter . Results in the following tables show that ADSP is still effective in this physical model compared with AT.
PGD+ADSP on Potts Model
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1401 | 0.1582 | 0.1764 | 0.1948 |
| 0.3000 | 0.1100 | 0.1401 | 0.1764 | 0.2133 | 0.2506 | 0.2887 |
| 0.4000 | 0.1100 | 0.1552 | 0.2116 | 0.2645 | 0.3250 | 0.3832 |
| 0.4400 | 0.1100 | 0.1603 | 0.2220 | 0.2810 | 0.3487 | 0.4203 |
PGD+AT on Potts Model
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.5885 | 0.5517 | 0.5762 | 0.5677 | 0.5706 |
| 0.3000 | 0.1100 | 1.0301 | 1.0106 | 1.0369 | 1.0337 | 1.0335 |
| 0.4000 | 0.1100 | 0.7515 | 0.7260 | 0.7154 | 0.7115 | 0.7102 |
| 0.4400 | 0.1100 | 0.6763 | 0.6478 | 0.6308 | 0.6251 | 0.6231 |
W3. Real-world measurement pipelines inherently introduce physical fluctuations: (1) Johnson-Nyquist thermal noise in solid-state sensors and detector readout jitter naturally follow continuous Gaussian or near-Gaussian distributions. (2) Physical experiments record macroscopic bulk quantities derived from microscopic quantum or magnetic states. Instrumental errors distort raw observations before macroscopic averaging.
Our mathematical model in Eq.6 reflects how real instrumental readout noise perturbs local coupling features prior to bulk feature extraction. We will expand this physical context discussion in the revised manuscript.
[a] Tramer, F., Carlini, N., Brendel, W., and Madry, A. On adaptive attacks to adversarial example defenses. In NeurIPS, volume 33, pp. 1633–1645, 2020.
Dear reviewer FSAC,
We have carefully considered all the valuable points and concerns you raised in your initial review through the initial rebuttal. As the deadline for discussion is approaching in about 3 days only, we respectfully ask whether our response has addressed your concerns, or you still have questions to raise. Your comments are highly valuable to us. Thank you once again for your professional time and insightful effort in reviewing our submission.
Best regards,
Authors
Thank you for the response. This has addressed my concern and I will maintain my rating.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies adversarial attack and defense for machine-learning systems in statistical physics, using temperature recovery in a 2D Ising model as the primary task. The attack injects small Gaussian or PGD-style perturbations into spin-link inputs or derived physical features, arguing that such perturbations can be hidden by macroscopic averaging while still disrupting learning. The defense, ADSP, adds a functional local variation regularizer to penalize the loss sensitivity to key physical features. Experiments show improved convergence and inverse-temperature recovery in the simulated Ising setting.
Strengths and weaknesses
Strengths
- This work identifies a domain-specific vulnerability: statistical averaging can conceal microscopic perturbations while the learning pipeline remains affected.
- The proposed ADSP with FLV defense is adapted to physical feature space and is supported by diagnostic experiments against Gaussian and PGD-style attacks.
Weakness:
- The paper uses macroscopic averaging to show the perturbation is a specific characteristic of the learning pipeline, but it does not explain why the averaging cannot be converted as a simple defense. A simple implementation could be a random-smoothing defense.
- The figure presentation of the framework is not intuitive, especially for readers in machine learning applications.
- The generalizability of the proposed method is not discussed. The defense is mainly evaluated within the same synthetic attack-defense game. There is no validation under real experimental noise, realistic OOD shifts, or other physical systems.
- Implementation of the method to Real-world tasks (such as [1]), or demonstration of the failure mode in a real physical instance (such as [2]) is missing to further demonstrate the application or scientific significance.
[1] Differentiable sampling of molecular geometries with uncertainty-based adversarial attacks. Nat Commun 12, 5104 (2021).
[2] Experimental demonstration of adversarial examples in learning topological phases. Nat Commun 13, 4993 (2022).
Questions
- Does a noise-tolerant PGD (or holding the characteristics of a physical adversarial example) attack exist? Can the proposed framework help identify and defend against such perturbations?
- Does the method generalize to other statistical physics models, tasks, or neural architectures?
- As a common concern in adversarial training, is ADSP robust against more adaptive attacks? And does ADSP harm the clean performance?
Limitations
Limitations are not discussed explicitly.
Final justification
Major concerns have been addressed in the discussion.
Formatting concerns
The justification field in the paper checklist is missing.
7 comments
Rebuttal
Thank you for the constructive feedback, thoughtful questions, and for recognizing the novel domain-specific insight of our work: statistical averaging in physics can subtly conceal microscopic perturbations while still sabotaging downstream ML pipelines.
W1 & Q1. Macroscopic Averaging as Defense vs. Systemic Vulnerabilities, and Additional Experiments on Stronger and Adaptive Attacks
- About Macroscopic Averaging and Randomized Smoothing: Macroscopic averaging operates on scalar spatial/ensemble expectations (e.g., ). However, deep learning architectures (such as the Gumbel-Softmax attention mechanism in ) operate directly on individual microstates or link-level feature matrices .
As derived in Eqs.11-13, when microscopic Gaussian noise passes through non-linear attention layers, it distorts feature weighting and gradient backpropagation . The averaging operation happens after or downstream of these non-linear neural transformations, which means that the internal representations have already been corrupted before any macroscopic cancellation can occur. Randomized smoothing also has the same limitation.
-
Noise-tolerant PGD Attack: In fact, we have evaluated the proposed ADSP against a strong noise-tolerant PGD attack (, 10 steps) in Appendix A.6 (Figures A17-A21). As shown in Figure A17, while standard adversarial training (AT) fails to recover the physical parameter , ADSP converges to an estimate within 5\% relative error of the ground-truth , which verifies its effectiveness against strong and noise-tolerant gradient attacks.
-
We also add experiments for the stronger white-box attacks C&W and APGD, as well as the adaptive white-box attack [a] that exploits the full knowledge of ADSP, shown in the following tables. ADSP still recovers the physics parameter with high accuracies, compared with AT.
APGD+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1340 | 0.1519 | 0.1637 | 0.1812 |
| 0.3000 | 0.1100 | 0.2782 | 0.2806 | 0.2814 | 0.2817 | 0.2818 |
| 0.4000 | 0.1100 | 0.1639 | 0.2202 | 0.2748 | 0.3260 | 0.3802 |
| 0.4400 | 0.1100 | 0.2335 | 0.3482 | 0.3872 | 0.4145 | 0.4374 |
APGD+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | -0.1441 | 0.1302 | 0.2341 | 0.2531 | 0.2551 |
| 0.3000 | 0.1100 | 0.2906 | 0.0817 | 0.0696 | 0.0670 | 0.0663 |
| 0.4000 | 0.1100 | 0.3536 | 0.3537 | 0.3537 | 0.3537 | 0.3537 |
| 0.4400 | 0.1100 | 0.2469 | 0.2469 | 0.2469 | 0.2469 | 0.2469 |
C&W+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1400 | 0.1580 | 0.1760 | 0.1939 |
| 0.3000 | 0.1100 | 0.1989 | 0.2448 | 0.2668 | 0.2808 | 0.3076 |
| 0.4000 | 0.1100 | 0.2154 | 0.2438 | 0.2747 | 0.3049 | 0.3610 |
| 0.4400 | 0.1100 | 0.2960 | 0.3340 | 0.3582 | 0.3794 | 0.3960 |
C&W+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.4725 | 1.0768 | 1.0841 | 1.0819 | 1.0823 |
| 0.3000 | 0.1100 | 0.0576 | 0.0461 | -0.0135 | -0.0041 | 0.0098 |
| 0.4000 | 0.1100 | 0.1743 | 0.1738 | 0.1736 | 0.1736 | 0.1736 |
| 0.4400 | 0.1100 | 0.3546 | 0.3502 | 0.3484 | 0.3478 | 0.3476 |
Adaptive White-box Attack+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1401 | 0.1583 | 0.1768 | 0.1957 |
| 0.3000 | 0.1100 | 0.1784 | 0.2148 | 0.2412 | 0.2527 | 0.2705 |
| 0.4000 | 0.1100 | 0.1919 | 0.2297 | 0.2674 | 0.3172 | 0.3809 |
| 0.4400 | 0.1100 | 0.2362 | 0.2774 | 0.3244 | 0.3679 | 0.3962 |
Adaptive White-box Attack+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | -0.2006 | -0.2538 | -0.2091 | -0.1948 | -0.1784 |
| 0.3000 | 0.1100 | 0.1855 | 0.0632 | 0.0544 | 0.0522 | 0.0517 |
| 0.4000 | 0.1100 | 0.3558 | 0.3558 | 0.3558 | 0.3558 | 0.3558 |
| 0.4400 | 0.1100 | 0.3125 | 0.3125 | 0.3125 | 0.3125 | 0.3125 |
W3, W4 & Q2. Additional Experiments on Potts model and Literature
We add experiments on the 3-state Potts model, which is compatible with the attack and defense settings in this paper and has the same physics parameter . Results in the following tables show that ADSP is still effective in this physical model compared with AT.
PGD+ADSP on Potts Model
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1401 | 0.1582 | 0.1764 | 0.1948 |
| 0.3000 | 0.1100 | 0.1401 | 0.1764 | 0.2133 | 0.2506 | 0.2887 |
| 0.4000 | 0.1100 | 0.1552 | 0.2116 | 0.2645 | 0.3250 | 0.3832 |
| 0.4400 | 0.1100 | 0.1603 | 0.2220 | 0.2810 | 0.3487 | 0.4203 |
PGD+AT on Potts Model
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.5885 | 0.5517 | 0.5762 | 0.5677 | 0.5706 |
| 0.3000 | 0.1100 | 1.0301 | 1.0106 | 1.0369 | 1.0337 | 1.0335 |
| 0.4000 | 0.1100 | 0.7515 | 0.7260 | 0.7154 | 0.7115 | 0.7102 |
| 0.4400 | 0.1100 | 0.6763 | 0.6478 | 0.6308 | 0.6251 | 0.6231 |
- Thanks for bringing these two references ([ref. 1, 2]) to our attention. Our threat model and defense complement these studies. In [ref. 2], topological phase classifiers suffer because microscopic experimental noise corrupts local correlation signatures. The functional local variation (FLV) regularization of ADSP addresses this issue by enforcing local variation smoothness on topological invariants or Wilson loops , which prevents decision boundary distortion. In [ref. 1], uncertainty-based attacks target atomic pair coordinates. In such continuous settings, FLV can be defined over interatomic distance distributions or pairwise force observables . We would add such discussions and possible future works in the revised manuscript.
Q3. Adaptive Attacks and Clean Performance
-
As presented in the answers to Q1, ADSP performance effectively and robustnessly against the adaptive white-box attack [a] that exploits the full knowledge of ADSP.
-
ADSP does not harm clean performance. In fact, it improves stability on clean data. As shown in Section 4.2 and Appendix A.5 (Figures A7-A11), when evaluated on clean inputs, ADSP recovers an estimate within 5\% relative error of the ground-truth physical parameter across all temperature cases ().
Because MCMC sampling introduces inherent stochastic variance into gradient estimates, the FLV term acts as a natural smoothness regularizer over the physical feature manifold, which can suppress loss fluctuations (Figure A8) even on clean data.
W2. We will revise Figures 1 and 2 in the updated manuscript to improve clarity for general ML readers. We will include a clear schematic diagram illustrating the end-to-end data pipeline: Input Microstates Attention Network Feature Extraction FLV Loss Computation Subdifferential Backpropagation. We will also highlight where the attack bypasses macroscopic scalar checks and where ADSP intervenes in the physical feature space.
[a] Tramer, F., Carlini, N., Brendel, W., and Madry, A. On adaptive attacks to adversarial example defenses. In NeurIPS, volume 33, pp. 1633–1645, 2020.
Dear reviewer BNZt,
We have carefully considered all the valuable points and concerns you raised in your initial review through the initial rebuttal. As the deadline for discussion is approaching in about 3 days only, we respectfully ask whether our response has addressed your concerns, or you still have questions to raise. Your comments are highly valuable to us. Thank you once again for your professional time and insightful effort in reviewing our submission.
Best regards,
Authors
Addtional Question: On the Difference Between Recovering **$\beta$** and Predicting **$\phi$**
Thanks the authors for the rebuttal. Most of the questions are addressed.
It is suggested to investigate or discuss more on the physical mechanistics of the ADSP loss function, not only on the learning stability of .
From Fig. A8, the original method may has lower Loss function values of the original method. This is consistent with researches in Adversarial ML, which shows that adding an adversarial loss term impairs the optimization of the original clean loss term, in terms of the averaged loss value.
However, as Fig. A7 shows, ADSP is better at recovering the . Therefore, higher but smoother prediction may leads to better dataset-level computed . Further analysis may help to understand its mechanistics better.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper investigates the security and robustness of machine learning systems within the field of statistical physics. The authors point out that such systems are generally built under the assumption that input data are collected under ideal noise-free conditions. Nevertheless, inputs are inevitably subject to minor artificial or natural perturbations in real physical experiments. The core contributions of this work are summarised as follows:
(1) Exploiting the property of statistical physical systems where only macroscopic statistical observables can be measured while individual microscopic samples remain undetectable, the authors inject zero-mean Gaussian noise into microscopic inputs. Such attacks possess strong concealment because the noise vanishes after statistical averaging. Moreover, the noise can be amplified along the backpropagation path of neural networks, ultimately disrupting the learning procedure of the system.
(2) A regularizer termed Functional Local Variation (FLV) is designed to quantify the impact of perturbations to critical physical features on the loss function. By imposing penalties on this variation during model training, the propagation of random noise can be effectively suppressed and the learning process stabilised.
(3) To tackle the non-differentiability of the FLV term, the authors develop a computational scheme based on Fréchet subdifferentials, making the regularizer compatible with the backpropagation mechanism supported by mainstream deep learning frameworks such as PyTorch.
Taking the temperature inference task on the two-dimensional Ising model as a testbed, the experimental results verify the effectiveness of the proposed adversarial attack and demonstrate the robustness of the ADSP defence strategy across multiple evaluation metrics.
Strengths and weaknesses
This paper features an innovative research idea with prominent interdisciplinary characteristics, which creatively introduces classical adversarial attack and defense theories into the specific field of statistical physics. Nevertheless, the manuscript has prominent flaws in several key aspects, which undermine its overall quality and persuasiveness.
The paper establishes a complete attack-defense closed loop with a well-organized framework ranging from theoretical analysis to experimental validation. It provides rigorous mathematical derivations to explain how the attack achieves stealth by leveraging the inherent properties of statistical physical systems and how perturbations are amplified via the gradient chain of neural networks. The proposed FLV regularizer in the defense part offers conceptual inspiration. Even so, the experimental design suffers from severe drawbacks. The most critical deficiency is the absence of essential comparative baselines. The authors only compare the proposed ADSP method with the vanilla undefended system. Such evaluation practice is unacceptable in the adversarial attack and defense research community. Could the authors include widely adopted baseline defenses such as standard Adversarial Training and Weight Decay to demonstrate the superiority of ADSP, rather than merely verifying that defended models outperform undefended ones? Additionally, all experiments are conducted solely on a single task, which casts doubt on the generalization ability of the proposed method.
The security issue of scientific machine learning systems raised in this paper is vital and forward-looking. Given the growing adoption of artificial intelligence for scientific discovery, research along this line is critical to guarantee the reliability of experimental outcomes. Introducing adversarial attack-defense paradigms into statistical physics constitutes a valuable research direction. Despite the significance of the research topic, the substantive contributions of this paper remain limited. The proposed attack is essentially equivalent to injecting Gaussian noise and lacks technical novelty. Although mathematical adaptations are made for the defense strategy, its core idea—suppressing tiny input perturbations via regularization—has been extensively investigated in existing machine learning literature, including Lipschitz regularization and gradient penalty. The authors fail to clearly distinguish FLV from these prior arts and justify its unique merits.
Some originality lies in systematically transplanting the attack-defense framework into machine learning systems for statistical physics and designing a stealth mechanism tailored to the unique constraints of this domain, e.g., only macroscopic observables are measurable. As discussed above, the core attack and defense techniques are not fundamentally novel inventions. The main contributions of this paper reside in application and domain adaptation, rather than disruptive new algorithms or theories. In particular, the definition of the FLV regularizer (Equation 14) is oversimplified, and its theoretical foundations and competitive advantages need to be further elaborated.
Questions
-
FLV is defined as the L2 norm of the gradient of the loss function with respect to physical features. The authors claim that it can "capture loss perturbations induced by distortions of physical features". Why is the L2 norm selected here? Is there any theoretical optimality justification for this choice? What advantages does FLV possess compared with direct Lipschitz constraints on inputs or gradient penalty techniques? Could the authors provide a more intuitive example or theoretical analysis to illustrate how FLV distinguishes random perturbations from inherent variations in physical characteristics?
-
Why is Adversarial Training excluded from the experimental comparisons? As one of the most prevalent defense paradigms, the absence of this key baseline greatly weakens the persuasiveness of experimental results, even if it incurs high computational overhead. Have the authors conducted experiments with Adversarial Training, and what were the corresponding outcomes? Furthermore, beyond the PGD attack, have stronger white-box attacks such as C&W and APGD been considered? The authors mention these attacks in the concluding remarks yet omit them entirely from the empirical evaluations.
-
All experiments are conducted exclusively on the two-dimensional Ising model. The authors claim that their method can be generalized to other machine learning systems without providing supporting evidence. To verify the universality of the approach, could an additional case study be supplemented? A feasible option would involve a different physical model (e.g., the XY model or Potts model), or an alternative machine learning task (e.g., predicting phase transition points instead of temperature inversion). Even preliminary experimental outcomes would substantially enhance the contributions of this paper.
-
The attack mainly focuses on zero-mean Gaussian noise. Given a fixed attack budget , how does the variance of noise influence attack performance? Does there exist an optimal variance that simultaneously guarantees high attack effectiveness and evasion from detection? In addition, the paper describes the attack as black-box. In practical physical experiments, how can the attacker identify which inputs should be injected with noise? Does the research assume that the attacker has physical access to the experimental setup? A clear clarification of the adversary’s threat model is required.
-
A fixed value of the hyperparameter is adopted throughout the experiments. How was this value determined? Are the experimental results sensitive to variations in ? It is recommended to add an ablation study regarding the selection of , demonstrating how different values affect defense performance, including estimation accuracy and convergence speed.
Limitations
No. The authors briefly outline future research directions in the conclusion and discussion section, yet they fail to adequately address the limitations of the current work.
Final justification
I believe the authors have largely addressed my concerns, and I therefore decide to raise my score.
Formatting concerns
None
7 comments
Rebuttal
Thank you for the constructive, detailed, and insightful review. We sincerely appreciate your recognition of the interdisciplinary novelty, the complete attack-defense closed loop, and the rigorous mathematical derivations explaining perturbation amplification and stealthiness in statistical physics systems.
Q1. Theoretical Justification of FLV and Norm Choice
- The choice of norm in FLV is theoretically justified by the long history and the original definition of Total Variation (TV) (see [10,12,47]) in the field of signal processing. This is illustrated in Appendix A.1, Eq.21, on Page 14 of the manuscript. norm enjoys an advantage of coarea formula (see [10,12,30]):
,
where denotes the level set (preimage) of at . It can preserve sharp discontinuities in the approximation while leaving noise (especially Gaussian noise) and other unwanted fine scale detail in the residue . Other norms do not have this advantage.
-
Standard Lipschitz constraints or input gradient penalties constrain with respect to raw inputs . In statistical physics, microscopic configurations are unobservable, highly stochastic, and discrete. Constraining input gradients will restrict the microscopic physics dynamics.
-
Domain semantics and physical laws reside within macroscopic statistical features (e.g., plaquettes, dimer pairs, and local correlation terms, see Table A1). The FLV measures loss sensitivity directly on this functional feature space:
By penalizing gradients along the feature manifold rather than microscopic inputs , FLV suppresses perturbation propagation through high-level feature extractors without destroying underlying microscopic physical dynamics.
- By First-Order Taylor expansion, the loss distortion induced by a feature perturbation vector is bounded via the Cauchy-Schwarz inequality:
Hence using the norm yields an isotropic, rotationally symmetric bound on loss fluctuations. Minimizing guarantees that for any small feature distortion vector in any directional combination, the upper bound on the resulting loss distortion is minimized.
Q2. Additional Experiments on APGD, C&W, Adaptive White-box Attack and Adversarial Training
-
In fact, Adversarial Training (AT) and weight decay experiments have already been provided in Appendix A.6, against the PGD attack. Both defense methods perform worse than the proposed ADSP.
-
We also add experiments for the stronger white-box attacks C&W and APGD, as well as the adaptive white-box attack [a] that exploits the full knowledge of ADSP, shown in the following tables. ADSP still recovers the physics parameter with high accuracies, compared with AT.
APGD+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1340 | 0.1519 | 0.1637 | 0.1812 |
| 0.3000 | 0.1100 | 0.2782 | 0.2806 | 0.2814 | 0.2817 | 0.2818 |
| 0.4000 | 0.1100 | 0.1639 | 0.2202 | 0.2748 | 0.3260 | 0.3802 |
| 0.4400 | 0.1100 | 0.2335 | 0.3482 | 0.3872 | 0.4145 | 0.4374 |
APGD+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | -0.1441 | 0.1302 | 0.2341 | 0.2531 | 0.2551 |
| 0.3000 | 0.1100 | 0.2906 | 0.0817 | 0.0696 | 0.0670 | 0.0663 |
| 0.4000 | 0.1100 | 0.3536 | 0.3537 | 0.3537 | 0.3537 | 0.3537 |
| 0.4400 | 0.1100 | 0.2469 | 0.2469 | 0.2469 | 0.2469 | 0.2469 |
C&W+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1400 | 0.1580 | 0.1760 | 0.1939 |
| 0.3000 | 0.1100 | 0.1989 | 0.2448 | 0.2668 | 0.2808 | 0.3076 |
| 0.4000 | 0.1100 | 0.2154 | 0.2438 | 0.2747 | 0.3049 | 0.3610 |
| 0.4400 | 0.1100 | 0.2960 | 0.3340 | 0.3582 | 0.3794 | 0.3960 |
C&W+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.4725 | 1.0768 | 1.0841 | 1.0819 | 1.0823 |
| 0.3000 | 0.1100 | 0.0576 | 0.0461 | -0.0135 | -0.0041 | 0.0098 |
| 0.4000 | 0.1100 | 0.1743 | 0.1738 | 0.1736 | 0.1736 | 0.1736 |
| 0.4400 | 0.1100 | 0.3546 | 0.3502 | 0.3484 | 0.3478 | 0.3476 |
Adaptive White-box Attack+ADSP
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1401 | 0.1583 | 0.1768 | 0.1957 |
| 0.3000 | 0.1100 | 0.1784 | 0.2148 | 0.2412 | 0.2527 | 0.2705 |
| 0.4000 | 0.1100 | 0.1919 | 0.2297 | 0.2674 | 0.3172 | 0.3809 |
| 0.4400 | 0.1100 | 0.2362 | 0.2774 | 0.3244 | 0.3679 | 0.3962 |
Adaptive White-box Attack+AT
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | -0.2006 | -0.2538 | -0.2091 | -0.1948 | -0.1784 |
| 0.3000 | 0.1100 | 0.1855 | 0.0632 | 0.0544 | 0.0522 | 0.0517 |
| 0.4000 | 0.1100 | 0.3558 | 0.3558 | 0.3558 | 0.3558 | 0.3558 |
| 0.4400 | 0.1100 | 0.3125 | 0.3125 | 0.3125 | 0.3125 | 0.3125 |
Q3. Additional Experiments on Potts model
We add experiments on the 3-state Potts model, which is compatible with the attack and defense settings in this paper and has the same physics parameter . Results in the following tables show that ADSP is still effective in this physical model compared with AT.
PGD+ADSP on Potts Model
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.1220 | 0.1401 | 0.1582 | 0.1764 | 0.1948 |
| 0.3000 | 0.1100 | 0.1401 | 0.1764 | 0.2133 | 0.2506 | 0.2887 |
| 0.4000 | 0.1100 | 0.1552 | 0.2116 | 0.2645 | 0.3250 | 0.3832 |
| 0.4400 | 0.1100 | 0.1603 | 0.2220 | 0.2810 | 0.3487 | 0.4203 |
PGD+AT on Potts Model
| \CD Step | 0 | 200 | 400 | 600 | 800 | 1000 |
|---|---|---|---|---|---|---|
| 0.2000 | 0.1100 | 0.5885 | 0.5517 | 0.5762 | 0.5677 | 0.5706 |
| 0.3000 | 0.1100 | 1.0301 | 1.0106 | 1.0369 | 1.0337 | 1.0335 |
| 0.4000 | 0.1100 | 0.7515 | 0.7260 | 0.7154 | 0.7115 | 0.7102 |
| 0.4400 | 0.1100 | 0.6763 | 0.6478 | 0.6308 | 0.6251 | 0.6231 |
Q4. Threat Model, Access Assumptions, and Noise Variance
-
Adversary Threat Model and Access Assumptions: The adversary targets the data acquisition or sensor pipeline (e.g., thermal noise in physical detectors, instrument calibration drift, or corrupted data files in simulation pipelines). The attacker does not need physical access to or knowledge of the machine learning model weights . The attack is black-box because injecting zero-mean Gaussian noise into microscopic links requires zero architectural knowledge of the ML model.
-
Stealth Mechanism and Macroscopic Evasion: In statistical physics, individual microstates are unobservable. Only macroscopic averages are measured. By the Law of Large Numbers (Eqs. 6-8):
.
Consequently, . The injected noise vanishes in macroscopic expectations, which easily bypasses standard macroscopic anomaly filters. However, when passing through deep neural network layers, the noise corrupts attention embeddings and gradient backpropagation (Eqs. 10-13).
- Influence of Noise Variance under Fixed Budget: In fact, the Gaussian attack budget (the standard deviation of the injected Gaussian noise) is set to a very small value , and it is enough to sabotage the target ML system (see Figures A2-A6). Hence there is no need to find an optimal variance (budget). Under a fixed , zero-mean isotropic Gaussian noise maximizes entropy and distributes perturbation energy uniformly across all local feature dimensions. This maximizes interference across all 7 attention embeddings simultaneously (see Figure 1(a)) while keeping individual link deviations small.
Q5. Hyperparameter Sensitivity Analysis ()
We add an ablation study for the hyperparameter as follows. Results show that ADSP achieves stable performance when changes in a small range around .
| \ | 0.08 | 0.09 | 0.1 | 0.11 | 0.12 |
|---|---|---|---|---|---|
| 0.2000 | 0.1905 | 0.1951 | 0.2092 | 0.2161 | 0.1965 |
| 0.3000 | 0.3108 | 0.3157 | 0.2788 | 0.3207 | 0.2861 |
| 0.4000 | 0.3838 | 0.3819 | 0.4026 | 0.3723 | 0.3911 |
| 0.4400 | 0.4083 | 0.4299 | 0.4413 | 0.4743 | 0.4416 |
[a] Tramer, F., Carlini, N., Brendel, W., and Madry, A. On adaptive attacks to adversarial example defenses. In NeurIPS, volume 33, pp. 1633–1645, 2020.
Dear reviewer a5RF,
We have carefully considered all the valuable points and concerns you raised in your initial review through the initial rebuttal. As the deadline for discussion is approaching in about 3 days only, we respectfully ask whether our response has addressed your concerns, or you still have questions to raise. Your comments are highly valuable to us. Thank you once again for your professional time and insightful effort in reviewing our submission.
Best regards,
Authors
Deadline for Discussion is Approaching in Only One Day
Dear reviewer a5RF,
We have carefully considered all the valuable points and concerns you raised in your initial review through the initial rebuttal. As the deadline for discussion is approaching in only one day, we respectfully ask whether our response has addressed your concerns, or you still have questions to raise. Your comments are highly valuable to us. Thank you once again for your professional time and insightful effort in reviewing our submission.
Best regards,
Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank the AC for the thoughtful summary. We respectfully believe, however, that the current meta-review places greater weight on concerns that have already been substantially clarified during rebuttal.
First, the Gaussian perturbation is an intentional component of the proposed black-box threat model and evaluation protocol. Our goal is to evaluate robustness against physically plausible black-box perturbations that preserve the intrinsic properties of statistical physics systems while remaining difficult to distinguish from naturally occurring noise. As Reviewer a5RF also noted, Gaussian perturbation possesses strong concealment, which supports its suitability as a realistic threat model. The principal contribution of this paper is the proposed FLV defense under this practically motivated setting.
Second, FLV addresses a fundamentally different setting from existing gradient-based regularization methods. Conventional methods rely on gradients with respect to observable inputs, but statistical physics systems optimize latent physical states, making these approaches inapplicable. FLV is specifically designed to provide robustness regularization under this setting.
Third, following the suggestion of Reviewer a5RF, we added experiments on the Potts model during rebuttal. The consistent improvements on the Potts model provide evidence that FLV generalizes beyond the 2D Ising benchmark, which addresses the concern regarding evaluation scope.
Overall, we respectfully believe these clarifications substantially address the principal concerns summarized in the meta-review. Given the reviewers' recognition of the paper's novelty and interdisciplinary significance, together with the additional evidence provided during rebuttal, we sincerely hope the AC will reconsider the current leaning toward rejection.