TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Autoregressive Entity Retrieval

Autoregressive Entity Retrieval

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

2020-10-02ICLR 2021 1Question AnsweringEntity LinkingEntity RetrievalOpen-Domain Question AnsweringRetrievalEntity Disambiguation
PaperPDFCode(official)Code

Abstract

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.

Results

TaskDatasetMetricValueModel
Entity LinkingKILT: WNED-WIKIAccuracy87.44GENRE
Entity LinkingKILT: WNED-WIKIKILT-AC87.44GENRE
Entity LinkingKILT: WNED-WIKIR-Prec87.44GENRE
Entity LinkingKILT: WNED-WIKIRecall@594.91GENRE
Entity LinkingMSNBCMicro-F173.7De Cao et al. (2021a)
Entity LinkingKILT: AIDA-YAGO2Accuracy89.85GENRE
Entity LinkingKILT: AIDA-YAGO2KILT-AC89.85GENRE
Entity LinkingKILT: AIDA-YAGO2R-Prec89.85GENRE
Entity LinkingKILT: AIDA-YAGO2Recall@594.76GENRE
Entity LinkingAIDA-CoNLLMicro-F1 strong83.7De Cao et al. (2021a)
Entity LinkingDerczynskiMicro-F154.1De Cao et al. (2021a)
Entity LinkingKILT: WNED-CWEBAccuracy71.22GENRE
Entity LinkingKILT: WNED-CWEBKILT-AC71.22GENRE
Entity LinkingKILT: WNED-CWEBR-Prec71.22GENRE
Entity LinkingKILT: WNED-CWEBRecall@579.22GENRE
Entity DisambiguationMSNBCMicro-F194.3GENRE
Entity DisambiguationWNED-WIKIMicro-F187.4GENRE
Entity DisambiguationAIDA-CoNLLIn-KB Accuracy93.3GENRE
Entity DisambiguationACE2004Micro-F190.1GENRE
Entity DisambiguationAQUAINTMicro-F189.9GENRE
Entity DisambiguationWNED-CWEBMicro-F177.3GENRE

Related Papers

From Roots to Rewards: Dynamic Tree Reasoning with RL2025-07-17Enter the Mind Palace: Reasoning and Planning for Long-term Active Embodied Question Answering2025-07-17Vision-and-Language Training Helps Deploy Taxonomic Knowledge but Does Not Fundamentally Alter It2025-07-17City-VLM: Towards Multidomain Perception Scene Understanding via Multimodal Incomplete Learning2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17A Survey of Context Engineering for Large Language Models2025-07-17MCoT-RE: Multi-Faceted Chain-of-Thought and Re-Ranking for Training-Free Zero-Shot Composed Image Retrieval2025-07-17Describe Anything Model for Visual Question Answering on Text-rich Images2025-07-16