使用小型对抗训练集教会语言模型区分相似细节
Teaching a Language Model to Distinguish Between Similar Details using a Small Adversarial Training Set
AI总结:
针对语言模型在对抗NLI样本上性能下降的问题,提出用小型人工对抗训练集微调SNLI训练的模型,使其对抗测试准确率升13%,SNLI高相似矛盾样本准确率从91.2%升至92.9%,且保留原任务性能。
摘要:
语言模型在自然语言推理(NLI)等自然语言任务上可实现高准确率,但在人工构建的对抗样本上性能会下降。我们研究了在斯坦福自然语言推理(Stanford Natural Language Inference, SNLI)语料库上训练的语言模型,在人工构建的对抗测试集上的性能表现。随后,我们通过在一个小型人工构建的对抗训练集上微调模型来提升其性能,该训练集旨在帮助语言模型学会区分数据中的相似单词与短语。实验结果显示,模型在对抗测试集上的准确率提升了13%,同时仍在原始NLI任务上保持了良好性能。我们还发现,在SNLI测试集中相似度最高的矛盾样本(通过余弦相似度判定)上,准确率从91.2%提升至92.9%。
英文摘要:
Language models can achieve high accuracy on natural language tasks such as NLI, but performance suffers on manually created adversarial examples. We investigate the performance of a language model trained on the Stanford Natural Language Inference (SNLI) corpus on a manually created adversarial test set. We then improve the model's performance by fine tuning the model on a small, manually created adversarial training set, designed to help the language model to learn to differentiate between similar words and phrases in the data. We show an increase in accuracy on the adversarial test set (+ 13%) while still maintaining good performance on the original NLI task. We also show an increase in accuracy from 91.2% to 92.9% on the most similar contradictions in the SNLI test set (as judged by cosine similarity).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。