Unifying Model Explainability and Robustness for Joint Text Classification and Rationale Extraction

Dongfang Li, Baotian Hu, Qingcai Chen, Tujie Xu, Jingcong Tao +1 more
12/20/2021
cs.CLcs.AI

Official code: crazyofapple/AT-BMC (17 stars, Python, last commit 2021-12-23).

Abstract

Recent works have shown explainability and robustness are two crucial ingredients of trustworthy and reliable text classification. However, previous works usually address one of two aspects: i) how to extract accurate rationales for explainability while being beneficial to prediction; ii) how to make the predictive model robust to different types of adversarial attacks.

Show full abstract

Intuitively, a model that produces helpful explanations should be more robust against adversarial attacks, because we cannot trust the model that outputs explanations but changes its prediction under small perturbations. To this end, we propose a joint classification and rationale extraction model named AT-BMC. It includes two key mechanisms: mixed Adversarial Training (AT) is designed to use various perturbations in discrete and embedding space to improve the model's robustness, and Boundary Match Constraint (BMC) helps to locate rationales more precisely with the guidance of boundary information. Performances on benchmark datasets demonstrate that the proposed AT-BMC outperforms baselines on both classification and rationale extraction by a large margin. Robustness analysis shows that the proposed AT-BMC decreases the attack success rate effectively by up to 69%. The empirical results indicate that there are connections between robust models and better explanations.

View on arXivView PDF

Code Implementations(1)

AAAI 2022 paper - Unifying Model Explainability and Robustness for Joint Text Classification and Rationale Extraction

173Python, ShellDec 3, 20214 years ago

Similar Papers

Cite this paper

@article{li2021unifying,
  title  = {Unifying Model Explainability and Robustness for Joint Text Classification and Rationale Extraction},
  author = {Dongfang Li and Baotian Hu and Qingcai Chen and Tujie Xu and Jingcong Tao and Yunan Zhang},
  year   = {2021},
  eprint = {2112.10424},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.10424}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.10424.svg)](https://codeofpaper.com/paper/2112.10424)

Discussion