NAACL 2022findings2 citations

SHARP: Search-Based Adversarial Attack for Structured Prediction

Liwen Zhang, Zixia Jia, Wenjuan Han, Zilong Zheng, Kewei Tu

Abstract

Adversarial attack of structured prediction models faces various challenges such as the difficulty of perturbing discrete words, the sentence quality issue, and the sensitivity of outputs to small perturbations. In this work, we introduce SHARP, a new attack method that formulates the black-box adversarial attack as a search-based optimization problem with a specially designed objective function considering sentence fluency, meaning preservation and attacking effectiveness. Additionally, three different searching strategies are analyzed and compared, i.e., Beam Search, Metropolis-Hastings Sampling, and Hybrid Search. We demonstrate the effectiveness of our attacking strategies on two challenging structured prediction tasks: Pos-tagging and dependency parsing. Through automatic and human evaluations, we show that our method performs a more potent attack compared with pioneer arts. Moreover, the generated adversarial examples can be used to successfully boost the robustness and performance of the victim model via adversarial training.

BibTeX
@inproceedings{zhang-etal-2022-sharp,
    title = "{SHARP}: Search-Based Adversarial Attack for Structured Prediction",
    author = "Zhang, Liwen  and
      Jia, Zixia  and
      Han, Wenjuan  and
      Zheng, Zilong  and
      Tu, Kewei",
    editor = "Carpuat, Marine  and
      de Marneffe, Marie-Catherine  and
      Meza Ruiz, Ivan Vladimir",
    booktitle = "Findings of the Association for Computational Linguistics: NAACL 2022",
    month = jul,
    year = "2022",
    address = "Seattle, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-naacl.71/",
    doi = "10.18653/v1/2022.findings-naacl.71",
    pages = "950--961"
}
SHARP: Search-Based Adversarial Attack for Structured Prediction · NAACL 2022