English

Deceiving Question-Answering Models: A Hybrid Word-Level Adversarial Approach

Computation and Language 2024-11-14 v1 Artificial Intelligence Machine Learning

Abstract

Deep learning underpins most of the currently advanced natural language processing (NLP) tasks such as textual classification, neural machine translation (NMT), abstractive summarization and question-answering (QA). However, the robustness of the models, particularly QA models, against adversarial attacks is a critical concern that remains insufficiently explored. This paper introduces QA-Attack (Question Answering Attack), a novel word-level adversarial strategy that fools QA models. Our attention-based attack exploits the customized attention mechanism and deletion ranking strategy to identify and target specific words within contextual passages. It creates deceptive inputs by carefully choosing and substituting synonyms, preserving grammatical integrity while misleading the model to produce incorrect responses. Our approach demonstrates versatility across various question types, particularly when dealing with extensive long textual inputs. Extensive experiments on multiple benchmark datasets demonstrate that QA-Attack successfully deceives baseline QA models and surpasses existing adversarial techniques regarding success rate, semantics changes, BLEU score, fluency and grammar error rate.

Keywords

Cite

@article{arxiv.2411.08248,
  title  = {Deceiving Question-Answering Models: A Hybrid Word-Level Adversarial Approach},
  author = {Jiyao Li and Mingze Ni and Yongshun Gong and Wei Liu},
  journal= {arXiv preprint arXiv:2411.08248},
  year   = {2024}
}
R2 v1 2026-06-28T19:57:48.744Z