arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.09658cs.CL
收藏

基于推理链的多跳问答对抗攻击

Reasoning Chain Based Adversarial Attack for Multi-hop Question Answering

Jiayu Ding, Siyuan Wang, Qin Chen, Zhongyu Wei

摘要:

近年来,在具有挑战性的多跳QA任务方面取得了令人印象深刻的进展。然而,这些QA模型可能会失败时,面对一些干扰的输入文本和他们的可解释性进行多跳推理仍然不确定。以往的对抗攻击通常对整个问句进行编辑,这对于测试基于实体的多跳推理能力效果有限。提出了一种基于多跳推理链的对抗攻击方法。我们制定的多跳推理链从查询实体的答案实体在构造的图,这使我们能够对齐的问题,每个推理跳,从而攻击任何一跳。我们将问题分类为不同的推理类型,并对抗性地修改与所选推理跳相对应的问题的一部分,以生成分散注意力的句子。我们在HotpotQA数据集上的三个QA模型上测试了我们的对抗方案。实验结果表明,基于推理链的多跳推理模型攻击方法在回答和支持事实预测上都有明显的性能下降,验证了该方法对多跳推理模型攻击的有效性及其脆弱性.我们的对抗性重新训练进一步提高了这些模型的性能和鲁棒性。

英文摘要:

Recent years have witnessed impressive advances in challenging multi-hop QA tasks. However, these QA models may fail when faced with some disturbance in the input text and their interpretability for conducting multi-hop reasoning remains uncertain. Previous adversarial attack works usually edit the whole question sentence, which has limited effect on testing the entity-based multi-hop inference ability. In this paper, we propose a multi-hop reasoning chain based adversarial attack method. We formulate the multi-hop reasoning chains starting from the query entity to the answer entity in the constructed graph, which allows us to align the question to each reasoning hop and thus attack any hop. We categorize the questions into different reasoning types and adversarially modify part of the question corresponding to the selected reasoning hop to generate the distracting sentence. We test our adversarial scheme on three QA models on HotpotQA dataset. The results demonstrate significant performance reduction on both answer and supporting facts prediction, verifying the effectiveness of our reasoning chain based attack method for multi-hop reasoning models and the vulnerability of them. Our adversarial re-training further improves the performance and robustness of these models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑