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

基于知识图谱融合的语言模型微调

Knowledge Graph Fusion for Language Model Fine-tuning

University of Witwatersrand(金山大学);University of Johannesburg(约翰内斯堡大学);Institute for Intelligent Systems(智能系统研究所)

Nimesh Bhana, Terence L. van Zyl

摘要:

诸如BERT之类的语言模型由于其能够进行预训练并在广泛的自然语言处理任务上稳健地执行而越来越受欢迎。通常被视为对传统词嵌入技术的进化,它们可以产生文本的语义表示,对语义相似性等任务很有用。然而,最先进的模型通常具有高的计算要求,并且缺乏完整的语言理解所需的全局上下文或领域知识。为了解决这些限制,我们调查的好处知识纳入微调阶段的BERT。现有的K-BERT模型,它丰富的句子与三胞胎从知识图谱,适用于英语语言和扩展到注入上下文相关的信息到句子。作为一个副作用,对K-BERT进行的适应英语语言的更改也扩展到其他基于单词的语言。进行的实验表明,注入的知识引入噪声。当这种噪音被最小化时,我们看到知识驱动的任务在统计上有显著的改善。我们的证据表明,适当的任务,适度注入相关的,高质量的知识是最有效的。

英文摘要:

Language Models such as BERT have grown in popularity due to their ability to be pre-trained and perform robustly on a wide range of Natural Language Processing tasks. Often seen as an evolution over traditional word embedding techniques, they can produce semantic representations of text, useful for tasks such as semantic similarity. However, state-of-the-art models often have high computational requirements and lack global context or domain knowledge which is required for complete language understanding. To address these limitations, we investigate the benefits of knowledge incorporation into the fine-tuning stages of BERT. An existing K-BERT model, which enriches sentences with triplets from a Knowledge Graph, is adapted for the English language and extended to inject contextually relevant information into sentences. As a side-effect, changes made to K-BERT for accommodating the English language also extend to other word-based languages. Experiments conducted indicate that injected knowledge introduces noise. We see statistically significant improvements for knowledge-driven tasks when this noise is minimised. We show evidence that, given the appropriate task, modest injection with relevant, high-quality knowledge is most performant.

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

↑