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

利用大语言模型进行学术知识图谱问答

Leveraging LLMs in Scholarly Knowledge Graph Question Answering

Universität Hamburg(汉堡大学);Leuphana Universität Lüneburg(吕讷堡大学)

Tilahun Abedissa Taffa, Ricardo Usbeck

AI总结:

本文提出一种利用大语言模型以少样本方式生成SPARQL查询的学术知识图谱问答系统,在SciQA基准上取得99.0%的F1分数。

摘要:

本文提出了一种学术知识图谱问答(KGQA)系统,通过利用大语言模型(LLM)以少样本方式回答文献计量学自然语言问题。该模型首先通过基于BERT的句子编码器识别与给定测试问题最相似的前n个训练问题,并检索它们对应的SPARQL查询。然后,将前n个相似问题-SPARQL对作为示例,与测试问题一起构建提示。接着,将提示传递给大语言模型以生成SPARQL查询。最后,在底层知识图谱——ORKG(开放研究知识图谱)端点上执行该SPARQL查询并返回答案。我们的系统在SciQA(学术QALD-23挑战基准之一)上取得了99.0%的F1分数。

英文摘要:

This paper presents a scholarly Knowledge Graph Question Answering (KGQA) that answers bibliographic natural language questions by leveraging a large language model (LLM) in a few-shot manner. The model initially identifies the top-n similar training questions related to a given test question via a BERT-based sentence encoder and retrieves their corresponding SPARQL. Using the top-n similar question-SPARQL pairs as an example and the test question creates a prompt. Then pass the prompt to the LLM and generate a SPARQL. Finally, runs the SPARQL against the underlying KG - ORKG (Open Research KG) endpoint and returns an answer. Our system achieves an F1 score of 99.0%, on SciQA - one of the Scholarly-QALD-23 challenge benchmarks.

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

↑