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

通过扫描进行探测

Probing via Prompting

Jiaoda Li, Ryan Cotterell, Mrinmaya Sachan

摘要:

探测是一种流行的方法来辨别什么语言信息包含在预训练的语言模型的表示。然而,探测模式的选择机制一直受到激烈的争论,因为它是不清楚,如果探测只是提取信息或建模的语言属性本身。为了应对这一挑战,本文介绍了一种新的无模型的方法来探测,制定探测作为一个提示任务。我们进行了五个探测任务的实验,并表明我们的方法是可比的或更好地提取信息比诊断探针,而学习少得多的自己。我们进一步结合通过提示的方法与注意头修剪的探测,分析在其架构中的语言信息存储模型。然后,我们通过删除对该属性至关重要的头部并评估生成的模型在语言建模上的性能,来检查特定语言属性在预训练中的有用性。

英文摘要:

Probing is a popular method to discern what linguistic information is contained in the representations of pre-trained language models. However, the mechanism of selecting the probe model has recently been subject to intense debate, as it is not clear if the probes are merely extracting information or modeling the linguistic property themselves. To address this challenge, this paper introduces a novel model-free approach to probing, by formulating probing as a prompting task. We conduct experiments on five probing tasks and show that our approach is comparable or better at extracting information than diagnostic probes while learning much less on its own. We further combine the probing via prompting approach with attention head pruning to analyze where the model stores the linguistic information in its architecture. We then examine the usefulness of a specific linguistic property for pre-training by removing the heads that are essential to that property and evaluating the resulting model's performance on language modeling.

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

↑