A neural network that predicts molecular energy from atom positions can be fooled by nudging the atoms slightly. What matters in practice is whether a nudge found on one model also fools a different model the attacker never saw. This cross-model effect is called adversarial transferability. For molecules it is ambiguous in a way image attacks are not. If a small displacement changes the predicted energy of every model, either all the models share a blind spot, or the displacement simply changes the true energy and the models are right. Molecular datasets let us tell these apart, because they come with the physics answer. MD17 records the reference forces, which are the negative gradient of the true energy, for every conformation. Small molecules can also be recomputed with the same quantum chemistry method that produced the labels.
This note proposes to use that ground truth to split every transferred perturbation into three parts. The first is a rigid-motion part that only matters to models lacking built-in rotation symmetry. The second is a physical part that really changes the energy. The third is a shared-error part, which is the only part that deserves the name "transferable attack." The bet is that equivariant graph neural networks are the right tool for isolating the third part. These are networks whose internal features rotate exactly when the molecule rotates, so their predictions cannot depend on orientation. With that part isolated, we expect it to be small, concentrated in soft torsional motions, and asymmetric across the boundary between symmetric and non-symmetric models.
Core Claim
For any model whose energy prediction is invariant to rotations and translations, the gradient with respect to atom positions is exactly orthogonal to the six rigid-motion directions. The gradients sum to zero across atoms, and the sum of position-cross-gradient terms also vanishes. An attack computed on such a surrogate therefore lives entirely in the space of internal shape changes. A non-equivariant model trained with rotation augmentation has no such guarantee, so its attack gradients carry frame-dependent components.
We claim three things. First, much of the apparent transfer from non-equivariant surrogates is rigid-frame leakage, which an equivariant target ignores by construction. This produces a measurable asymmetry: equivariant-to-non-equivariant transfer will be stronger than the reverse. Second, once the rigid part and the true-force part are removed, the remaining shared-error transfer among accurate molecular models is concentrated in low-stiffness modes such as dihedral twists, not bond stretches. Third, attacks restricted to this "force-null internal subspace" give the first targeted transfer attacks on molecular regressors whose success is certified against reference quantum chemistry rather than assumed.
To make the decomposition precise, let $x \in \mathbb{R}^{3N}$ be the atom positions and $\delta$ a displacement. Let $P_{\text{int}}$ be the projector that removes the six rigid-motion directions at $x$, and let $F(x)$ be the reference force. We define the force-null attack on a surrogate $f_s$ as
$$\delta^* = \arg\max_{\|\delta\|\le\epsilon,\; \delta = P_{\text{int}}\delta,\; F(x)^\top\delta = 0} \big|f_s(x+\delta) - f_s(x)\big| .$$
To first order, the true energy change along $\delta^*$ is $-F^\top\delta^* = 0$. Any change the target predicts is therefore error, up to a second-order term that we audit directly with recomputed reference energies.
Research Program
The work has three parts.
A model zoo on MD17, ISO17 and QM9. We train models spanning the symmetry spectrum, all on identical splits:
- SchNet (SchNet), which uses continuous filters over interatomic distances and is invariant.
- EGNN (E(n) Equivariant Graph Neural Networks), which updates coordinates along relative position vectors and is equivariant.
- An angle- and dihedral-aware tensor field network in the style of 3DMSE (Equivariant learning leveraging geometric invariances in 3D molecular conformers), which is equivariant with higher-order geometry.
- Two non-equivariant models trained with random-rotation augmentation: a message-passing network that reads raw coordinates, and a PointNet-style network.
Each architecture is trained with several seeds, so that within-architecture transfer serves as a reference.
The decomposition. For every attack, we split the perturbation into its rigid, true-force and residual components. We measure each component's contribution to the error induced on every target. The literature supplies the motivation here but not the tools. Wang et al. (Bridging Symmetry and Robustness) showed that group-equivariant CNNs have smoother input gradients and resist white-box attacks on CIFAR, but they never measured transfer and studied only discrete 2D rotations. We test whether that gradient regularity produces transferable or non-transferable perturbations under continuous 3D symmetry. The superposition account of Stevinson et al. (Adversarial Vulnerability from Interference Between Features in Superposition) predicts that models trained on the same correlation structure converge to the same interference geometry and so transfer heavily. Here that becomes a concrete test: does shared-error transfer rise when models see the same conformational sampling (MD17 train splits) and fall on unseen isomers (ISO17)? That paper also reports that weight decay increases vulnerability, which we check as a secondary knob. Following the finding that early-stopped surrogates transfer better (Early Stop And Adversarial Training Yield Better surrogate Model), we sweep surrogate training length so that surrogate quality is not confounded with symmetry.
Mode-restricted attacks. We reparameterize perturbations in internal coordinates and run attacks confined to dihedral angles, bond angles or bond lengths at matched true-energy cost. This asks where shared errors live. 3DMSE found dihedrals to be the most informative descriptors for electronic properties. We test the corresponding prediction that dihedral-confined attacks carry the most shared error, plausibly because torsional configurations are sparsely sampled in training trajectories.
Baselines
The naive reference point is a random displacement of the same norm drawn from the force-null internal subspace. Any attack must beat it by a clear margin in induced target error, or the "attack" is just sensitivity to noise. A second naive reference is the plain unconstrained gradient attack (projected gradient ascent on raw coordinates), run identically on each surrogate. It tells us how much transfer exists before any decomposition.
The strongest existing transfer method in 3D is the Scale and Shear attack (Improving transferability of 3D adversarial attacks with scale and shear transformations). It wraps the attack loop in random affine transformations to stop overfitting to the surrogate. On ModelNet40 it reports raising PointNet-to-DGCNN kNN-attack transfer success from 10.2% to 21.7%, with targeted transfer staying below 5%. We run it with its reported settings (scale in [0.5, 1.5], shear in [0, 0.15], probabilities 0.7) and also with a rigid-rotation variant suited to molecules. Its default augmentations distort bond geometry, so the rotation variant keeps the comparison fair.
We also include momentum pointwise gradient attacks from Yang et al. (Adversarial Attack and Defense on Point Sets), which that paper reports improve cross-architecture transfer. A surrogate ensemble across all architectures serves as the standard practical upgrade.
Every attack gets the same displacement budget, the same number of gradient steps, the same surrogate checkpoints and the same hyperparameter-tuning budget on a held-out molecule set. No reported result was found on Lacuna for transfer attacks on molecular energy models. The relevant clean accuracies are SchNet's MD17 energy error below 0.12 kcal/mol and force error below 0.33 kcal/mol/Å at 50,000 training examples. Beating the baselines means two things. Our force-null attack must induce a larger reference-verified target error, meaning predicted change minus recomputed true change. And at a fixed target-error threshold of several times each target's clean MAE, it must reach a higher targeted success rate.
The key ablation removes each constraint in turn. Dropping the rigid projection, dropping the force-null constraint, and replacing the equivariant surrogate with a projected non-equivariant one shows which ingredient carries the effect.
Why not just…?
Why not just measure transfer between EGNN and PointNet and report the rates? That is the obvious study, and it is uninterpretable on molecules. A high transfer rate could mean the displacement really changed the energy. In regression there is no fixed label to flip, so "fooled" must be defined against the true physics. Our audit with reference recomputation is what turns a transfer rate into a claim about shared error. Without it, the experiment cannot separate an attack from an accurate prediction.
Why not just average a non-equivariant surrogate's gradient over random rotations, Scale-and-Shear style, instead of using an equivariant surrogate? This is a real threat. Rotation averaging approximately removes the rigid component, and our decomposition predicts it should recover much of the asymmetry gap. We run it as a baseline, alongside an exact alternative that projects the non-equivariant gradient onto the internal subspace. If the projected non-equivariant surrogate matches the equivariant one, we will report that the benefit is the projection, not the architecture. That would still be a useful, cheap recipe. The equivariant surrogate should keep an edge only if its residual, shared-error direction is better aligned with other models. That question is about learned representations, not frames, and the experiment settles it directly.
Why not just ensemble surrogates? Ensembling is the standard way to improve transfer, and it may raise raw success. It does not separate physics from error, though. An ensemble of accurate models agrees most strongly on true-force directions, so its "transferable" perturbations may be mostly real energy changes. We test this by comparing the true-force fraction of ensemble attacks against force-null attacks.
Why not just conclude that 3D attacks are brittle and irrelevant? Yang et al. report that random-perturbation checks detect 75% to 95% of point-cloud attacks. We apply the same variance-under-jitter detector to our attacks. Torsion-confined displacements correspond to physically plausible conformers. If they evade such detection while unconstrained coordinate attacks do not, the brittleness objection does not extend to molecules.
Proposed Experiments
The primary benchmark is MD17, where reference forces make the force-null constraint exact at first order. Every attack evaluation uses the full surrogate-by-target matrix over the model zoo. ISO17 tests whether shared-error transfer survives on unseen isomers and conformations. QM9 HOMO-LUMO gap prediction extends the analysis to an electronic property; since no reference gradient is available there, its audit relies entirely on recomputing a few hundred perturbed molecules at the original level of theory.
The metrics are:
- the target error induced per unit displacement, after subtracting the recomputed true change;
- the share of that error attributable to each of the three components;
- targeted success at fixed multiples of clean MAE;
- detection rate under jitter-variance checks.
Four results would decide the claims:
- Non-equivariant-to-equivariant transfer rises substantially once surrogate gradients are projected off the rigid directions, while equivariant-to-non-equivariant transfer barely changes. This is the predicted asymmetry.
- In the reference audit, the force-null attacks show predicted energy changes that exceed the recomputed true changes by well over the targets' clean errors. Shared error exists and is not just physics.
- Dihedral-confined attacks carry a larger shared-error fraction than bond-stretch attacks at matched energy cost.
- Shared-error transfer shrinks on ISO17 relative to MD17, linking it to shared training conformations as the superposition account predicts.
If the second check fails, meaning transferred perturbations are almost entirely true-force changes, that is itself the main finding: coordinate-level "transfer attacks" on accurate molecular models are largely an artifact of not checking the physics.
References
- SchNet: A continuous-filter convolutional neural network for modeling quantum interactions
- E(n) Equivariant Graph Neural Networks
- Equivariant learning leveraging geometric invariances in 3D molecular conformers for accurate prediction of quantum chemical properties
- Bridging Symmetry and Robustness: On the Role of Equivariance in Enhancing Adversarial Robustness
- Adversarial Vulnerability from Interference Between Features in Superposition
- Early Stop And Adversarial Training Yield Better surrogate Model: Very Non-Robust Features Harm Adversarial Transferability
- Improving transferability of 3D adversarial attacks with scale and shear transformations
- Adversarial Attack and Defense on Point Sets