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

自回归实体检索

Autoregressive Entity Retrieval

University of Amsterdam(阿姆斯特丹大学);Facebook AI Research(脸书人工智能研究实验室);ENS, PSL University(巴黎高等师范学院、PSL大学);Inria(法国国家信息与自动化研究所);University College London(伦敦大学学院)

Nicola De Cao, Gautier Izacard, Sebastian Riedel, Fabio Petroni

摘要:

实体是我们如何表示和聚合知识的核心。例如,诸如维基百科的百科全书由实体(例如,每个维基百科条目一个)。在给定查询的情况下检索这样的实体的能力对于诸如实体链接和开放域问答之类的知识密集型任务是基本的。当前的方法可以被理解为原子标签之间的分类器,每个实体一个。它们的权重向量是通过对实体Meta信息(例如其描述)进行编码而产生的密集实体表示。这种方法有几个缺点:(i)上下文和实体亲和力主要通过矢量点积来捕获,可能会丢失细粒度的交互;(ii)在考虑大型实体集时,需要大量的内存占用来存储密集表示;(iii)在训练时必须对一组适当的硬负数据进行二次采样。在这项工作中,我们提出了GENRE,第一个系统,检索实体生成其唯一的名称,从左到右,令牌令牌的自回归方式。这缓解了上述技术问题,因为:(i)自回归公式直接捕获上下文和实体名称之间的关系,有效地交叉编码两者;(ii)存储器占用大大减少,因为我们的编码器-解码器架构的参数随词汇大小而不是实体计数缩放;(iii)计算softmax损失而不对负数据进行二次采样。我们对20多个数据集进行了实体消歧、端到端实体链接和文档检索任务的实验,在使用竞争系统内存占用的一小部分的同时,实现了新的最先进或非常有竞争力的结果。最后,我们证明了新的实体可以通过简单地指定它们的名称来添加。代码和预先训练的模型在https://github.com/facebookresearch/GENRE。

英文摘要:

Entities are at the center of how we represent and aggregate knowledge. For instance, Encyclopedias such as Wikipedia are structured by entities (e.g., one per Wikipedia article). The ability to retrieve such entities given a query is fundamental for knowledge-intensive tasks such as entity linking and open-domain question answering. Current approaches can be understood as classifiers among atomic labels, one for each entity. Their weight vectors are dense entity representations produced by encoding entity meta information such as their descriptions. This approach has several shortcomings: (i) context and entity affinity is mainly captured through a vector dot product, potentially missing fine-grained interactions; (ii) a large memory footprint is needed to store dense representations when considering large entity sets; (iii) an appropriately hard set of negative data has to be subsampled at training time. In this work, we propose GENRE, the first system that retrieves entities by generating their unique names, left to right, token-by-token in an autoregressive fashion. This mitigates the aforementioned technical issues since: (i) the autoregressive formulation directly captures relations between context and entity name, effectively cross encoding both; (ii) the memory footprint is greatly reduced because the parameters of our encoder-decoder architecture scale with vocabulary size, not entity count; (iii) the softmax loss is computed without subsampling negative data. We experiment with more than 20 datasets on entity disambiguation, end-to-end entity linking and document retrieval tasks, achieving new state-of-the-art or very competitive results while using a tiny fraction of the memory footprint of competing systems. Finally, we demonstrate that new entities can be added by simply specifying their names. Code and pre-trained models at https://github.com/facebookresearch/GENRE.

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

↑