TRS: Transferability Reduced Ensemble via Encouraging Gradient Diversity and Model Smoothness

Zhuolin Yang,Linyi Li,Xiaojun Xu,Shiliang Zuo,Qiang Chen,Benjamin I. P. Rubinstein,Ce Zhang,Bo Li
2021-01-01
Abstract:Adversarial Transferability is an intriguing property of adversarial examples – a perturbation that is crafted against one model is also effective against another model, which may arise from a different model family or training process. To better protect ML systems against such adversarial attacks, several questions are raised: what are the sufficient conditions for adversarial transferability? Is it possible to bound such transferability? Is there a way to reduce the transferability in order to improve the robustness of an ensemble ML model? To answer these questions, in this work we aim to first theoretically analyze and outline checkable sufficient conditions for transferability between models; then propose a practical algorithm to reduce transferability between base models within an ensemble to improve its robustness. Our theoretical analysis, as the first work, shows that only the orthogonality between gradients of different models is not enough to ensure low adversarial transferability; in the meantime, the model smoothness is an important factor to impact the transferability together with gradient orthogonality. In particular, we provide a lower bound of adversarial transferability based on model gradient similarity, as well as an upper bound for low risk classifiers based on gradient orthogonality and model smoothness. We demonstrate that under the condition of gradient orthogonality, smoother classifiers will guarantee lower adversarial transferability. Finally, inspired by our theoretical analysis, we propose an effective T ransferability R educed S mooth-ensemble (TRS) training strategy to train a robust ensemble with low transferability by enforcing model smoothness and gradient orthogonality between base models. We conduct extensive experiments on TRS and compare with 6 state-of-the-art ensemble baselines against 8 whitebox attacks on different datasets, showing that the proposed TRS outperforms all baselines significantly. We believe our analysis on adversarial transferability will not only provide further understanding on predictions of ML models, but also inspire future research towards developing robust ML models taking these adversarial transferability properties into account.
Computer Science
What problem does this paper attempt to address?