Skip to main navigation Skip to search Skip to main content

Causal Adversarial Training for Improving Language Understanding and Robustness

  • Bin Zhu
  • , Yi Xie
  • , Yanxia Feng
  • , Fu Lee Wang
  • , Haoran Xie
  • , Yanghui Rao

Research output: Contribution to journal › Article › peer-review

Abstract

Language models suffer from adversarial vulnerability, where imperceptible perturbations in inputs can mislead model predictions. Existing adversarial training methods enhance model robustness by augmenting training data with worst-case adversarial perturbations for each input. However, these approaches overlook the intrinsic causal relationships within data. We construct causal graphs to model the behavior of encoder-based language models under adversarial inputs, suggesting that adversarial vulnerability is often associated with the model’s overfitting to spurious correlations. Within the adversarial training framework, we formulate expressions for Total Effect (TE) and Natural Direct Effect (NDE), and propose a causal regularization objective based on TE-NDE alignment. Experiments on five benchmark datasets show that this causal adversarial training framework improves adversarial robustness across different settings. We further evaluate the model behavior in a controlled sentiment analysis setting, where the quantitative results provide additional evidence for the effectiveness of our method.

Original languageEnglish
JournalComputational Linguistics
DOIs
Publication statusAccepted/In press - 2026

Fingerprint

Dive into the research topics of 'Causal Adversarial Training for Improving Language Understanding and Robustness'. Together they form a unique fingerprint.

Cite this