HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

ReLiK: Retrieve and LinK, Fast and Accurate Entity Linking and Relation Extraction on an Academic Budget

Orlando Riccardo ; Cabot Pere-Lluis Huguet ; Barba Edoardo ; Navigli Roberto

ReLiK: Retrieve and LinK, Fast and Accurate Entity Linking and Relation
  Extraction on an Academic Budget

Abstract

Entity Linking (EL) and Relation Extraction (RE) are fundamental tasks inNatural Language Processing, serving as critical components in a wide range ofapplications. In this paper, we propose ReLiK, a Retriever-Reader architecturefor both EL and RE, where, given an input text, the Retriever module undertakesthe identification of candidate entities or relations that could potentiallyappear within the text. Subsequently, the Reader module is tasked to discernthe pertinent retrieved entities or relations and establish their alignmentwith the corresponding textual spans. Notably, we put forward an innovativeinput representation that incorporates the candidate entities or relationsalongside the text, making it possible to link entities or extract relations ina single forward pass and to fully leverage pre-trained language modelscontextualization capabilities, in contrast with previousRetriever-Reader-based methods, which require a forward pass for eachcandidate. Our formulation of EL and RE achieves state-of-the-art performancein both in-domain and out-of-domain benchmarks while using academic budgettraining 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 sharedReader that simultaneously extracts entities and relations.

Code Repositories

RadeenXALNW/G-RAG_1.0
Mentioned in GitHub
SapienzaNLP/relik
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
entity-linking-on-aida-conllReLiK-Large
Micro-F1 strong: 86.4
entity-linking-on-aida-conllReLiK-Base
Micro-F1 strong: 85.3
entity-linking-on-derczynski-1ReLiK-Large
Micro-F1: 56.3
entity-linking-on-derczynski-1ReLiK-Base
Micro-F1: 55.6
entity-linking-on-kore50ReLiK-Base
Micro-F1: 68
entity-linking-on-kore50ReLiK-Large
Micro-F1: 72.8
entity-linking-on-msnbc-1ReLiK-Large
Micro-F1: 75
entity-linking-on-msnbc-1ReLiK-Base
Micro-F1: 72.3
entity-linking-on-n3-reuters-128-1ReLiK-Base
Micro-F1: 48.1
entity-linking-on-n3-reuters-128-1ReLiK-Large
Micro-F1: 51.7
entity-linking-on-n3-rss-500ReLiK-Base
Micro-F1: 41.6
entity-linking-on-n3-rss-500ReLiK-Large
Micro-F1: 43
entity-linking-on-oke-2015-1ReLiK-Base
Micro-F1: 62.5
entity-linking-on-oke-2015-1ReLiK-Large
Micro-F1: 65.1
entity-linking-on-oke-2016-1ReLiK-Base
Micro-F1: 52.3
entity-linking-on-oke-2016-1ReLiK-Large
Micro-F1: 57.2
entity-linking-on-rebelReLiK-Large
Micro-F1: 85.1
relation-extraction-on-conll04ReLiK-Large
RE+ Micro F1: 78.1
relation-extraction-on-nytReLiK-Base
F1: 94.8
relation-extraction-on-nytReLiK-Large
F1: 95
relation-extraction-on-nytReLiK-Small
F1: 94.4
relation-extraction-on-rebelRelik-Large
Triplet F1 (strict EL): 75.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
ReLiK: Retrieve and LinK, Fast and Accurate Entity Linking and Relation Extraction on an Academic Budget | Papers | HyperAI