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

结构化提示询问与语义递归提取(SPIRES):一种利用零样本学习填充知识库的方法

Structured prompt interrogation and recursive extraction of semantics (SPIRES): A method for populating knowledge bases using zero-shot learning

Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);Maastricht University(马斯特里赫特大学);Semanticly Ltd(Semanticly有限公司);Robert Bosch LLC(罗伯特·博世有限责任公司);University of Colorado(科罗拉多大学);The Jackson Laboratory for Genomic Medicine(杰克逊基因组医学实验室)
J. Harry Caufield, Harshad Hegde, Vincent Emonet, Nomi L. Harris, Marcin P. Joachimiak, Nicolas Matentzoglu, HyeongSik Kim, Sierra A. T. Moxon, Justin T. Reese,… 展开作者

J. Harry Caufield, Harshad Hegde, Vincent Emonet, Nomi L. Harris, Marcin P. Joachimiak, Nicolas Matentzoglu, HyeongSik Kim, Sierra A. T. Moxon, Justin T. Reese, Melissa A. Haendel, Peter N. Robinson, Christopher J. Mungall

AI总结:

本研究提出SPIRES知识提取方法,依托大语言模型的零样本能力,通过递归提示询问按指定模式从文本中提取信息并匹配本体标识符,无需训练数据即可适配多领域复杂任务,辅助知识库构建。

摘要:

创建知识库和本体是一项依赖人工策展的耗时任务。AI/NLP方法可协助专家策展者填充这些知识库,但现有方法依赖大量训练数据,且无法填充任意复杂的嵌套知识模式。\n 在此我们提出结构化提示询问与语义递归提取(SPIRES),这是一种知识提取方法,依托大语言模型(LLM)开展零样本学习(ZSL)、通过灵活提示实现通用查询应答并返回符合指定模式信息的能力。给定一个用户定义的详细知识模式和一段输入文本,SPIRES对GPT-3+递归执行提示询问,以获得一组与所提供模式匹配的响应。SPIRES利用现有本体和词汇表为所有匹配元素提供标识符。\n 我们展示了SPIRES在不同领域的应用示例,包括食谱提取、多物种细胞信号通路、疾病治疗、多步骤药物机制以及化学物质到疾病的因果关系图。目前SPIRES的准确率与现有关系抽取(RE)方法的中等水平相当,但具备易于定制、灵活性强的优势,且关键在于无需任何训练数据即可执行新任务。该方法支撑了一种利用LLM的语言解释能力来组装知识库的通用策略,在借助LLM外部的公开数据库和本体支持验证的同时,辅助人工知识策展与获取。\n SPIRES作为开源OntoGPT包的一部分可供使用:https://github.com/monarch-initiative/ontogpt。

英文摘要:

Creating knowledge bases and ontologies is a time consuming task that relies on a manual curation. AI/NLP approaches can assist expert curators in populating these knowledge bases, but current approaches rely on extensive training data, and are not able to populate arbitrary complex nested knowledge schemas. Here we present Structured Prompt Interrogation and Recursive Extraction of Semantics (SPIRES), a Knowledge Extraction approach that relies on the ability of Large Language Models (LLMs) to perform zero-shot learning (ZSL) and general-purpose query answering from flexible prompts and return information conforming to a specified schema. Given a detailed, user-defined knowledge schema and an input text, SPIRES recursively performs prompt interrogation against GPT-3+ to obtain a set of responses matching the provided schema. SPIRES uses existing ontologies and vocabularies to provide identifiers for all matched elements. We present examples of use of SPIRES in different domains, including extraction of food recipes, multi-species cellular signaling pathways, disease treatments, multi-step drug mechanisms, and chemical to disease causation graphs. Current SPIRES accuracy is comparable to the mid-range of existing Relation Extraction (RE) methods, but has the advantage of easy customization, flexibility, and, crucially, the ability to perform new tasks in the absence of any training data. This method supports a general strategy of leveraging the language interpreting capabilities of LLMs to assemble knowledge bases, assisting manual knowledge curation and acquisition while supporting validation with publicly-available databases and ontologies external to the LLM. SPIRES is available as part of the open source OntoGPT package: https://github.com/ monarch-initiative/ontogpt.

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

↑