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

基于知识图谱的语言模型的组合泛化研究

Compositional Generalization with Grounded Language Models

University of Oslo(奥斯陆大学)

Sondre Wold, Étienne Simon, Lucas Georges Gabriel Charpentier, Egor V. Kostylev, Erik Velldal, Lilja Øvrelid

AI总结:

本文通过生成自然语言问题与知识图谱配对的数据集,系统评估了基于知识图谱的语言模型在组合泛化上的表现,发现现有方法在未见长度序列和新组合上存在困难,并发布了数据集以推动后续研究。

摘要:

基于知识图谱的语言模型利用外部信息源(如知识图谱)来应对预训练所面临的一些普遍挑战。通过扩展先前在语义解析中关于组合泛化的工作,我们对这些模型从知识图谱模式中学习和泛化的程度进行了受控评估。我们开发了一种生成自然语言问题并配对知识图谱的程序,该程序针对组合性的不同方面,并进一步避免语言模型依赖已隐式编码在其权重中的信息。我们评估了将语言模型与知识图谱相结合的现有方法,发现它们在泛化到未见长度的序列以及已见基础组件的新组合时表现困难。虽然我们的实验结果在一定程度上揭示了这些模型的表达能力,但我们希望我们的工作和发布的数据集能够激励未来研究如何更好地将语言模型与结构化知识表示相结合。

英文摘要:

Grounded language models use external sources of information, such as knowledge graphs, to meet some of the general challenges associated with pre-training. By extending previous work on compositional generalization in semantic parsing, we allow for a controlled evaluation of the degree to which these models learn and generalize from patterns in knowledge graphs. We develop a procedure for generating natural language questions paired with knowledge graphs that targets different aspects of compositionality and further avoids grounding the language models in information already encoded implicitly in their weights. We evaluate existing methods for combining language models with knowledge graphs and find them to struggle with generalization to sequences of unseen lengths and to novel combinations of seen base components. While our experimental results provide some insight into the expressive power of these models, we hope our work and released datasets motivate future research on how to better combine language models with structured knowledge representations.

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

↑