arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.09125cs.CLcs.AI
收藏

召回、扩展和多候选交叉编码:快速准确的超精细实体分类

Recall, Expand and Multi-Candidate Cross-Encode: Fast and Accurate Ultra-Fine Entity Typing

ShanghaiTech University(上海科技大学);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程研究中心)

Chengyue Jiang, Wenyang Hui, Yong Jiang, Xiaobin Wang, Pengjun Xie, Kewei Tu

摘要:

超精细实体分型(UFET)预测极其自由形式的类型(例如,总统、政治家)提及给定实体(例如,乔·拜登(Joe Biden)。最先进的(SOTA)方法使用基于交叉编码器(CE)的架构。CE将提及(及其上下文)与每个类型连接起来,并将这些对输入到预先训练的语言模型(PLM)中,以对其相关性进行评分。它在提及和类型之间带来了更深层次的交互,以达到更好的性能,但必须执行N(类型集大小)向前传递来推断单个提及的类型。因此,当类型集很大时,CE在推理中非常慢(例如,对于UFET,N = 10 k)。为此,我们建议以recall-expand-filter方式执行实体类型化。召回和扩展阶段修剪大型类型集,并为每次提及生成K个(K通常小于256)最相关的类型候选。在过滤器阶段,我们使用一种名为MCCE的新模型,在一次前向传递中同时对这K个候选项进行编码和评分,以获得最终的类型预测。我们研究了MCCE的不同变体,广泛的实验表明,MCCE在我们的范式下达到了超精细实体类型的SOTA性能,并且比交叉编码器快数千倍。我们还发现MCCE在细粒度(130种类型)和粗粒度(9种类型)实体类型化方面非常有效。我们的代码可在\url{https://github.com/modelscope/AdaSeq/tree/master/examples/MCCE}上获得。

英文摘要:

Ultra-fine entity typing (UFET) predicts extremely free-formed types (e.g., president, politician) of a given entity mention (e.g., Joe Biden) in context. State-of-the-art (SOTA) methods use the cross-encoder (CE) based architecture. CE concatenates the mention (and its context) with each type and feeds the pairs into a pretrained language model (PLM) to score their relevance. It brings deeper interaction between mention and types to reach better performance but has to perform N (type set size) forward passes to infer types of a single mention. CE is therefore very slow in inference when the type set is large (e.g., N = 10k for UFET). To this end, we propose to perform entity typing in a recall-expand-filter manner. The recall and expand stages prune the large type set and generate K (K is typically less than 256) most relevant type candidates for each mention. At the filter stage, we use a novel model called MCCE to concurrently encode and score these K candidates in only one forward pass to obtain the final type prediction. We investigate different variants of MCCE and extensive experiments show that MCCE under our paradigm reaches SOTA performance on ultra-fine entity typing and is thousands of times faster than the cross-encoder. We also found MCCE is very effective in fine-grained (130 types) and coarse-grained (9 types) entity typing. Our code is available at \url{https://github.com/modelscope/AdaSeq/tree/master/examples/MCCE}.

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

↑