arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.10271cs.CLcs.LG
收藏

SPARQL神经机器翻译中知识库元素的复制机制

A Copy Mechanism for Handling Knowledge Base Elements in SPARQL Neural Machine Translation

Polytechnique Montreal(蒙特利尔综合理工学院)

Rose Hirigoyen, Amal Zouaq, Samuel Reyd

摘要:

从英语到SPARQL的神经机器翻译(NMT)模型是SPARQL查询生成的一个很有前途的发展。然而,目前的架构无法集成知识库(KB)模式,并处理在训练过程中看不到的知识资源,类和属性的问题,使它们无法在训练集中覆盖的主题范围之外使用。受自然语言处理任务中性能提升的启发,我们提出将神经SPARQL查询生成的复制机制作为解决这个问题的一种方法。我们通过向两个Seq2Seq架构(CNN和Transformers)添加复制层和动态知识库词汇来说明我们的建议。这一层使模型直接从问题中复制知识库元素,而不是生成它们。我们在最先进的数据集上评估我们的方法,包括引用未知KB元素的数据集,并测量复制增强架构的准确性。我们的研究结果表明,在所有数据集上的性能显着增加相比,非复制架构。

英文摘要:

Neural Machine Translation (NMT) models from English to SPARQL are a promising development for SPARQL query generation. However, current architectures are unable to integrate the knowledge base (KB) schema and handle questions on knowledge resources, classes, and properties unseen during training, rendering them unusable outside the scope of topics covered in the training set. Inspired by the performance gains in natural language processing tasks, we propose to integrate a copy mechanism for neural SPARQL query generation as a way to tackle this issue. We illustrate our proposal by adding a copy layer and a dynamic knowledge base vocabulary to two Seq2Seq architectures (CNNs and Transformers). This layer makes the models copy KB elements directly from the questions, instead of generating them. We evaluate our approach on state-of-the-art datasets, including datasets referencing unknown KB elements and measure the accuracy of the copy-augmented architectures. Our results show a considerable increase in performance on all datasets compared to non-copy architectures.

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

↑