Adversarial Attack and Defense for Machine Learning in Statistical Physics
Zhao-Rong Lai, Qiantong Liang, Jian Weng
NeurIPS page · Open on the map
Category: AI Safety, Security & Alignment › Backdoor Detection in LLMs · Type: new method · Keywords: adversarial robustness, statistical physics, machine learning security, perturbation defense, regularization
Areas: Safety & Security › Adversarial Security › Adversarial Robustness
Summary
The paper proposes an attack-defense methodology that adds physically plausible perturbations (e.g., small Gaussian noise) to inputs and uses a functional local variation regularized learning scheme to suppress adversarial effects in ML systems for statistical physics.
Explained to a 5-year-old
Scientists use computers to understand how things work in physics. These computers can get confused when someone adds a tiny, sneaky change to the information they get. The researchers made a way to make a tiny bad change and a way to protect the program so it still works correctly. They tested the protection and found it works well. This helps keep the science trustworthy.
Explained to a 5-year-old, longer
In physics, scientists use computers to study how the world works. These computers need lots of information to make predictions. Sometimes, someone might accidentally change a little piece of that information, or even do it on purpose. When the information is changed, the computer's predictions can become wrong. The researchers looked at how these changes can happen in real life, where there is noise and small errors. They created a small, realistic change that could be added to the information. Then they built a special way to train the computer so it can ignore those changes. They tested the computer with many examples and saw that it stayed accurate. The new method also kept the computer's predictions consistent with the laws of physics. This helps scientists trust the computer’s results. The work shows that protecting computers from sneaky changes is important for reliable science.
For a technical reader
The paper examines how machine learning models used in statistical physics can be destabilized by small input perturbations that mimic real-world noise. It proposes a two-pronged approach: first, generating physically plausible adversarial examples (e.g., Gaussian noise) within realistic limits, and second, training models with a local-variation regularization that penalizes sensitivity to such perturbations. Experiments and theoretical analysis confirm that the defense reduces vulnerability while preserving the physical properties of the model’s outputs. The work highlights the importance of considering adversarial robustness when deploying ML in scientific domains. It provides a practical framework for evaluating and hardening physics-oriented ML systems against attacks.
Problem
Machine learning models applied to statistical physics are vulnerable to input perturbations that can sabotage performance, amplify to extreme outputs, or violate the statistical assumptions underlying the models, especially when deployed in noisy real-world environments.
Method
The approach launches a black-box attack that introduces small, physically plausible perturbations (such as Gaussian noise) to inputs, and defends by regularizing learning to penalize local variations in the model’s output, thereby capturing and suppressing adversarial effects.
Results
Experiments demonstrate that the defense significantly reduces the impact of adversarial perturbations while preserving physical properties, and theoretical analysis confirms the robustness of the approach.
Contributions
The work identifies three vulnerability mechanisms in physics-oriented ML systems and provides a unified attack-defense framework that integrates physically plausible attacks with a local-variation regularization defense, supported by theoretical analysis.
Practical relevance
The findings highlight critical security vulnerabilities in scientific ML systems and offer a practical framework for improving their reliability and trustworthiness in real-world applications.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction