CausalAdv: Adversarial Robustness through the Lens of Causality

Document Type

Article

Publication Title

arXiv

Abstract

The adversarial vulnerability of deep neural networks has attracted significant attention in machine learning. As causal reasoning has an instinct for modeling distribution change, it is essential to incorporate causality into analyzing this specific type of distribution change induced by adversarial attacks. However, causal formulations of the intuition of adversarial attacks and the development of robust DNNs are still lacking in the literature. To bridge this gap, we construct a causal graph to model the generation process of adversarial examples and define the adversarial distribution to formalize the intuition of adversarial attacks. From the causal perspective, we study the distinction between the natural and adversarial distribution and conclude that the origin of adversarial vulnerability is the focus of models on spurious correlations. Inspired by the causal understanding, we propose the Causal-inspired Adversarial distribution alignment method, CausalAdv, to eliminate the difference between natural and adversarial distributions by considering spurious correlations. Extensive experiments demonstrate the efficacy of the proposed method. Our work is the first attempt towards using causality to understand and mitigate the adversarial vulnerability. Copyright © 2021, The Authors. All rights reserved.

DOI

10.48550/arXiv.2106.06196

Publication Date

6-11-2021

Keywords

Alignment methods, Causal graph, Causal reasoning, Generation process, Modeling distributions, Through the lens, Deep neural networks, Machine Learning (cs.LG)

Comments

Preprints available on arXiv

Share

COinS