ReLiK:在学术预算下实现快速且准确的实体链接与关系抽取的检索与链接方法
ReLiK: Retrieve and LinK, Fast and Accurate Entity Linking and Relation Extraction on an Academic Budget
AI总结:
ReLiK提出统一的Retriever-Reader架构,通过将候选实体或关系与文本融合为单一输入,在单次前向传播中完成实体链接和关系抽取,以学术预算训练资源实现最先进性能,并将推理速度提升最高40倍。
摘要:
实体链接(EL)和关系抽取(RE)是自然语言处理中的基础任务,在众多应用中作为关键组件发挥作用。本文提出ReLiK,一种同时用于EL和RE的Retriever-Reader架构。在该架构中,给定输入文本,Retriever模块负责识别文本中可能出现的候选实体或候选关系。随后,Reader模块的任务是辨别相关的已检索实体或关系,并建立它们与相应文本片段的对齐关系。值得注意的是,我们提出了一种创新的输入表示方法,将候选实体或候选关系与文本一同纳入输入,从而能够在单次前向传播中完成实体链接或关系抽取,并充分利用预训练语言模型的上下文建模能力;与此形成对比的是,以往基于Retriever-Reader的方法需要为每个候选对象分别执行一次前向传播。我们所提出的EL和RE形式化方法在领域内和领域外基准测试中均取得了最先进的性能,同时仅使用学术预算规模的训练资源,并且与竞争对手相比推理速度最高可提升40倍。最后,我们展示了该架构如何能够无缝用于信息抽取(cIE),即EL与RE的联合任务,并通过采用一个同时抽取实体和关系的共享Reader,设立了新的最先进水平。
英文摘要:
Entity Linking (EL) and Relation Extraction (RE) are fundamental tasks in Natural Language Processing, serving as critical components in a wide range of applications. In this paper, we propose ReLiK, a Retriever-Reader architecture for both EL and RE, where, given an input text, the Retriever module undertakes the identification of candidate entities or relations that could potentially appear within the text. Subsequently, the Reader module is tasked to discern the pertinent retrieved entities or relations and establish their alignment with the corresponding textual spans. Notably, we put forward an innovative input representation that incorporates the candidate entities or relations alongside the text, making it possible to link entities or extract relations in a single forward pass and to fully leverage pre-trained language models contextualization capabilities, in contrast with previous Retriever-Reader-based methods, which require a forward pass for each candidate. Our formulation of EL and RE achieves state-of-the-art performance in both in-domain and out-of-domain benchmarks while using academic budget training and with up to 40x inference speed compared to competitors. Finally, we show how our architecture can be used seamlessly for Information Extraction (cIE), i.e. EL + RE, and setting a new state of the art by employing a shared Reader that simultaneously extracts entities and relations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。