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

将语义知识转移到语言编码器中

Transferring Semantic Knowledge Into Language Encoders

University of Maryland, Baltimore County(马里兰大学巴尔的摩郡分校)

Mohammad Umair, Francis Ferraro

摘要:

我们引入语义形式中期调整,语义知识的语义表示转换为基于语言编码器的方法。在中期调整中,我们学习对齐一般句子的文本-不与任何特定的推理任务相关联-以及这些句子的结构化语义表示。我们的方法不需要黄金注释的语义表示。相反,它使用自动生成的语义表示,例如来自现成的PropBank和FrameNet语义解析器。我们表明,这种对齐可以通过分类或直接通过三重损失隐式学习。我们的方法产生的语言编码器,表现出更好的预测性能在推理,阅读理解,文本相似性,以及其他语义任务从GLUE,SuperGLUE和SentEval基准。我们在三个流行的基线模型上评估了我们的方法,我们的实验结果和分析得出结论,当前预训练的语言模型可以进一步受益于所提出的中期调整方法的结构化语义框架,因为它们将额外的任务不可知知识注入编码器,改善生成的嵌入以及给定模型的语言属性,这从对流行的句子嵌入工具包和各种探测任务的改进中显而易见。

英文摘要:

We introduce semantic form mid-tuning, an approach for transferring semantic knowledge from semantic meaning representations into transformer-based language encoders. In mid-tuning, we learn to align the text of general sentences -- not tied to any particular inference task -- and structured semantic representations of those sentences. Our approach does not require gold annotated semantic representations. Instead, it makes use of automatically generated semantic representations, such as from off-the-shelf PropBank and FrameNet semantic parsers. We show that this alignment can be learned implicitly via classification or directly via triplet loss. Our method yields language encoders that demonstrate improved predictive performance across inference, reading comprehension, textual similarity, and other semantic tasks drawn from the GLUE, SuperGLUE, and SentEval benchmarks. We evaluate our approach on three popular baseline models, where our experimental results and analysis concludes that current pre-trained language models can further benefit from structured semantic frames with the proposed mid-tuning method, as they inject additional task-agnostic knowledge to the encoder, improving the generated embeddings as well as the linguistic properties of the given model, as evident from improvements on a popular sentence embedding toolkit and a variety of probing tasks.

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

↑