Generating Label Cohesive and Well-Formed Adversarial Claims

Pepa Atanasova, Dustin Wright, Isabelle Augenstein
9/17/2020
cs.CLcs.LG

Official code: copenlu/fever-adversarial-attacks (11 stars, Python, GPL-3.0, last commit 2023-07-06).

Abstract

Adversarial attacks reveal important vulnerabilities and flaws of trained models. One potent type of attack are universal adversarial triggers, which are individual n-grams that, when appended to instances of a class under attack, can trick a model into predicting a target class.

Show full abstract

However, for inference tasks such as fact checking, these triggers often inadvertently invert the meaning of instances they are inserted in. In addition, such attacks produce semantically nonsensical inputs, as they simply concatenate triggers to existing samples. Here, we investigate how to generate adversarial attacks against fact checking systems that preserve the ground truth meaning and are semantically valid. We extend the HotFlip attack algorithm used for universal trigger generation by jointly minimising the target class loss of a fact checking model and the entailment class loss of an auxiliary natural language inference model. We then train a conditional language model to generate semantically valid statements, which include the found universal triggers. We find that the generated attacks maintain the directionality and semantic validity of the claim better than previous work.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Adversarial attacks against claim detection systems at FEVER

110Python, Jupyter NotebookJan 24, 20203 years agoGPL-3.0

Similar Papers

Cite this paper

@article{atanasova2020generating,
  title  = {Generating Label Cohesive and Well-Formed Adversarial Claims},
  author = {Pepa Atanasova and Dustin Wright and Isabelle Augenstein},
  year   = {2020},
  eprint = {2009.08205},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.08205}
}

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/2009.08205.svg)](https://codeofpaper.com/paper/2009.08205)

Discussion