arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.05327cs.CLcs.LG
收藏

BERTese:学习与BERT交谈

BERTese: Learning to Speak to BERT

School of Computer Science, Tel Aviv University(特拉维夫大学计算机科学学院);Allen Institute for AI(艾伦人工智能研究所)

Adi Haviv, Jonathan Berant, Amir Globerson

摘要:

大型预训练的语言模型已被证明在其参数中编码了大量的世界和常识知识,从而引起了人们对提取这些知识的方法的极大兴趣。在过去的工作中,知识是通过手动编写查询并使用单独的管道收集释义来提取的。在这项工作中,我们提出了一种方法,自动重写查询成“BERTese”,一个释义查询,直接优化更好的知识提取。为了鼓励有意义的重写,我们添加了辅助损失函数,以鼓励查询对应于实际的语言标记。我们的经验表明,我们的方法优于竞争基线,避免了复杂的管道的需要。此外,BERTese还提供了对语言类型的一些深入了解,这些语言类型有助于语言模型执行知识提取。

英文摘要:

Large pre-trained language models have been shown to encode large amounts of world and commonsense knowledge in their parameters, leading to substantial interest in methods for extracting that knowledge. In past work, knowledge was extracted by taking manually-authored queries and gathering paraphrases for them using a separate pipeline. In this work, we propose a method for automatically rewriting queries into "BERTese", a paraphrase query that is directly optimized towards better knowledge extraction. To encourage meaningful rewrites, we add auxiliary loss functions that encourage the query to correspond to actual language tokens. We empirically show our approach outperforms competing baselines, obviating the need for complex pipelines. Moreover, BERTese provides some insight into the type of language that helps language models perform knowledge extraction.

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

↑