arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.07102cs.CL
收藏

边缘探测任务能否揭示QA模型中的语言知识?

Can Edge Probing Tasks Reveal Linguistic Knowledge in QA Models?

University of Copenhagen(哥本哈根大学);Megagon Labs(Megagon实验室);University of Michigan(密歇根大学)

Sagnik Ray Choudhury, Nikita Bhutani, Isabelle Augenstein

摘要:

已经有许多努力试图理解什么语法知识(例如,理解标记的词性的能力)被编码在大的预训练的语言模型(LM)中。这是通过“边缘探测”(EP)测试完成的:监督分类任务,仅使用来自LM编码器的标记表示来预测跨度的语法属性(是否具有特定的词性)。然而,大多数NLP应用程序会针对特定任务对这些LM编码器进行微调。在这里,我们问:如果LM是微调,它的语言信息的编码改变,作为EP测试测量?具体而言,我们专注于问答(QA)的任务,并在多个数据集上进行实验。我们发现,当微调模型表现良好或在对抗性的情况下,模型被迫学习错误的相关性时,EP测试结果不会发生显着变化。根据类似的发现,最近的一些论文得出结论,微调不会改变编码器中的语言知识,但他们没有提供解释。我们发现,EP模型本身容易利用EP数据集中的虚假相关性。当这个数据集偏差得到纠正时,我们确实看到EP测试结果的改善。

英文摘要:

There have been many efforts to try to understand what grammatical knowledge (e.g., ability to understand the part of speech of a token) is encoded in large pre-trained language models (LM). This is done through `Edge Probing' (EP) tests: supervised classification tasks to predict the grammatical properties of a span (whether it has a particular part of speech) using only the token representations coming from the LM encoder. However, most NLP applications fine-tune these LM encoders for specific tasks. Here, we ask: if an LM is fine-tuned, does the encoding of linguistic information in it change, as measured by EP tests? Specifically, we focus on the task of Question Answering (QA) and conduct experiments on multiple datasets. We find that EP test results do not change significantly when the fine-tuned model performs well or in adversarial situations where the model is forced to learn wrong correlations. From a similar finding, some recent papers conclude that fine-tuning does not change linguistic knowledge in encoders but they do not provide an explanation. We find that EP models themselves are susceptible to exploiting spurious correlations in the EP datasets. When this dataset bias is corrected, we do see an improvement in the EP test results as expected.

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

↑