用自然语言解释提升文本推理模型的抗攻击能力
Enhancing adversarial robustness in Natural Language Inference using explanations
- 仅微调解释文本分类器,不直接处理原输入
- 在多种对抗攻击下显著提升模型鲁棒性
- 适合关注可解释性与安全性的NLP研究者
基于Transformer的顶尖模型虽在多项NLP任务中表现卓越,但针对自然语言推理(NLI)任务,现有模型在主流数据集上仍易受对抗攻击影响,细微输入扰动即可导致误判。本文通过大量实验验证:将自然语言解释作为模型无关的防御策略,仅对解释内容进行微调分类器,即可在多种对抗攻击下实现比无解释基线更强的鲁棒性。此外,由于缺乏统一的解释语义有效性评估标准,本文研究了常用语言生成指标与人类感知的相关性,以期为构建鲁棒的NLI模型提供代理评估依据。该方法资源效率高、可复现,无显著计算瓶颈。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。