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

利用解释增强自然语言推理中的对抗鲁棒性

Enhancing adversarial robustness in Natural Language Inference using explanations

Artificial Intelligence and Learning Systems Laboratory(人工智能与学习系统实验室);School of Electrical and Computer Engineering(电气与计算机工程学院);National Technical University of Athens(雅典技术大学)

Alexandros Koulakos, Maria Lymperaiou, Giorgos Filandrianos, Giorgos Stamou

AI总结:

针对自然语言推理模型易受对抗攻击的问题,提出基于自然语言解释的模型无关防御策略,在解释上微调分类器可提升对抗鲁棒性,并探究了语言生成指标与人类感知的相关性以辅助构建鲁棒模型,方法高效易复现。

摘要:

基于Transformer的前沿模型的涌现无疑推动了NLP模型性能的上限,在各类任务中表现优异。我们聚焦于尚未被充分研究的自然语言推理(Natural Language Inference, NLI)任务,因为在常用的适配数据集上训练的模型易受对抗攻击,微小的输入扰动就能误导模型。本研究通过大量实验验证了自然语言解释作为一种模型无关防御策略的有效性:仅在解释数据而非前提-假设输入上微调分类器,与无解释的基线模型相比,模型在多种对抗攻击下均获得了鲁棒性。此外,由于目前尚无测试生成解释语义有效性的标准策略,我们研究了常用语言生成指标与人类感知之间的相关性,以期将这些指标作为构建鲁棒NLI模型的代理指标。我们的方法资源效率高且可复现,无显著计算限制。

英文摘要:

The surge of state-of-the-art Transformer-based models has undoubtedly pushed the limits of NLP model performance, excelling in a variety of tasks. We cast the spotlight on the underexplored task of Natural Language Inference (NLI), since models trained on popular well-suited datasets are susceptible to adversarial attacks, allowing subtle input interventions to mislead the model. In this work, we validate the usage of natural language explanation as a model-agnostic defence strategy through extensive experimentation: only by fine-tuning a classifier on the explanation rather than premise-hypothesis inputs, robustness under various adversarial attacks is achieved in comparison to explanation-free baselines. Moreover, since there is no standard strategy of testing the semantic validity of the generated explanations, we research the correlation of widely used language generation metrics with human perception, in order for them to serve as a proxy towards robust NLI models. Our approach is resource-efficient and reproducible without significant computational limitations.

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

↑