Provable Adversarial Robustness for Group Equivariant Tasks: Graphs, Point Clouds, Molecules, and More
Jan Schuchardt, Yan Scholten, Stephan Günnemann
TL;DR
This work defines a principled notion of adversarial robustness for group-equivariant tasks by introducing the action-induced input distance ${\hat{d}_{in}}$ and an output-distance that accounts for task symmetries. It shows that robustness can be achieved when the model’s equivariances match the task’s equivariances, enabling a reduction to traditional robustness guarantees, and it introduces equivariance-preserving randomized smoothing to provide architecture-agnostic certification. The authors extend graph-edit-distance certificates to nonuniform costs and demonstrate their approach experimentally on graphs, point clouds, and molecular forces, with smoothing-based guarantees showing competitive certifiable robustness. Overall, the framework connects robust and geometric ML, enabling rigorous guarantees for symmetry-aware tasks and guiding future work in equivariance-conscious attacks, defenses, and certifications.
Abstract
A machine learning model is traditionally considered robust if its prediction remains (almost) constant under input perturbations with small norm. However, real-world tasks like molecular property prediction or point cloud segmentation have inherent equivariances, such as rotation or permutation equivariance. In such tasks, even perturbations with large norm do not necessarily change an input's semantic content. Furthermore, there are perturbations for which a model's prediction explicitly needs to change. For the first time, we propose a sound notion of adversarial robustness that accounts for task equivariance. We then demonstrate that provable robustness can be achieved by (1) choosing a model that matches the task's equivariances (2) certifying traditional adversarial robustness. Certification methods are, however, unavailable for many models, such as those with continuous equivariances. We close this gap by developing the framework of equivariance-preserving randomized smoothing, which enables architecture-agnostic certification. We additionally derive the first architecture-specific graph edit distance certificates, i.e. sound robustness guarantees for isomorphism equivariant tasks like node classification. Overall, a sound notion of robustness is an important prerequisite for future work at the intersection of robust and geometric machine learning.
