软定理证明器的逻辑一致对抗攻击
Logically Consistent Adversarial Attacks for Soft Theorem Provers
摘要:
人工智能社区最近的努力已经取得了令人印象深刻的成果,使用语言模型对自然语言句子进行“软定理证明“。我们提出了一个新的生成对抗框架,用于探测和提高这些模型的推理能力。该领域中的对抗攻击遭受逻辑不一致问题,由此对输入的扰动可能改变标签。我们的逻辑一致的对抗性攻击器LAVA通过将结构化生成过程与符号求解器相结合来解决这个问题,从而保证逻辑一致性。我们的框架成功地生成了对抗攻击,并识别了多个目标模型中常见的全局弱点。我们的分析揭示了这些模型的推理能力中的幼稚的逻辑学和漏洞,暴露了对逻辑程序下的逻辑演绎的不完全掌握。最后,除了有效地探测这些模型之外,我们还展示了对生成的样本进行训练可以提高目标模型的性能。
英文摘要:
Recent efforts within the AI community have yielded impressive results towards "soft theorem proving" over natural language sentences using language models. We propose a novel, generative adversarial framework for probing and improving these models' reasoning capabilities. Adversarial attacks in this domain suffer from the logical inconsistency problem, whereby perturbations to the input may alter the label. Our Logically consistent AdVersarial Attacker, LAVA, addresses this by combining a structured generative process with a symbolic solver, guaranteeing logical consistency. Our framework successfully generates adversarial attacks and identifies global weaknesses common across multiple target models. Our analyses reveal naive heuristics and vulnerabilities in these models' reasoning capabilities, exposing an incomplete grasp of logical deduction under logic programs. Finally, in addition to effective probing of these models, we show that training on the generated samples improves the target model's performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。