NatLogAttack:一个用自然逻辑攻击自然语言推理模型的框架
NatLogAttack: A Framework for Attacking Natural Language Inference Models with Natural Logic
AI总结:
提出基于自然逻辑的对抗攻击框架 NatLogAttack,通过生成保留和翻转标签的对抗样本,揭示自然语言推理模型的脆弱性,为评估其真实推理能力提供新视角。
摘要:
从一开始,推理就是人工智能的核心主题。分布式表示和神经网络的最新进展不断提升自然语言推理的最先进性能。然而,模型是执行真正的推理来得出结论,还是依赖虚假的相关性,这仍然是一个悬而未决的问题。对抗性攻击已被证明是帮助评估受害者模型致命弱点的重要工具。在本研究中,我们探索了基于逻辑形式主义开发攻击模型的根本问题。我们提出 NatLogAttack,以围绕自然逻辑进行系统性攻击。自然逻辑是一种经典的形式逻辑,可追溯至亚里士多德的三段论,并一直与自然语言推理紧密结合而发展。该框架可执行保留标签和翻转标签的攻击。我们表明,与现有的攻击模型相比,NatLogAttack 生成的对抗样本更好,且访问受害者模型的次数更少。研究发现,受害者模型在翻转标签设置下更脆弱。NatLogAttack 提供了一个从关键视角探测现有和未来 NLI 模型能力的工具,我们希望进一步探索更多基于逻辑的攻击,以理解推理的理想属性。
英文摘要:
Reasoning has been a central topic in artificial intelligence from the beginning. The recent progress made on distributed representation and neural networks continues to improve the state-of-the-art performance of natural language inference. However, it remains an open question whether the models perform real reasoning to reach their conclusions or rely on spurious correlations. Adversarial attacks have proven to be an important tool to help evaluate the Achilles' heel of the victim models. In this study, we explore the fundamental problem of developing attack models based on logic formalism. We propose NatLogAttack to perform systematic attacks centring around natural logic, a classical logic formalism that is traceable back to Aristotle's syllogism and has been closely developed for natural language inference. The proposed framework renders both label-preserving and label-flipping attacks. We show that compared to the existing attack models, NatLogAttack generates better adversarial examples with fewer visits to the victim models. The victim models are found to be more vulnerable under the label-flipping setting. NatLogAttack provides a tool to probe the existing and future NLI models' capacity from a key viewpoint and we hope more logic-based attacks will be further explored for understanding the desired property of reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。